Created
February 27, 2018 23:40
-
-
Save SmugZombie/5b55ffd5d5d06607861a66b469a4a4ca to your computer and use it in GitHub Desktop.
Browse linked in without needing to login.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ==UserScript== | |
| // @name Linked In Browser (No Login) | |
| // @namespace http://egli.me/ | |
| // @version 0.1 | |
| // @description Allows you to browse linked in without being logged in. | |
| // @author Smugzombie | |
| // @match https://www.linkedin.com/in/* | |
| // @grant none | |
| // @require http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js | |
| // ==/UserScript== | |
| (function() { | |
| 'use strict'; | |
| setTimeout(function(){ | |
| // Remove the login modal | |
| $("#advocate-modal").remove(); | |
| // Make the page scrollable again | |
| document.getElementsByClassName("advocate-modal-visible")[0].style.overflow="auto"; | |
| }, 1000); | |
| // Your code here... | |
| })(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment