Userscripts and Firefox
Greasemonkey is an extension for Mozilla Firefox, an open source Web Browser. Most userscripts are written for Firefox & Greasemonkey (although some work in Opera, Safari and even Internet Explorer).For this guide I will assume you are using Firefox, if not you should install Firefox first.
Userscripts run via Greasemonkey
Now that you have Firefox, you need to install Greasemonkey. After installation (which requires restarting your browser), you are now ready to install userscripts.
Now clicking on a .user.js link triggers Greasemonkey to pop up the script installation panel. Greasemonkey shows you a list of what sites the script will run on and ask if you want to install the script.
Now loading a web page results in additional code (the userscript) being run.
Chrome
Chrome does not allow scripts to be installed directly from the website, so here are a couple of workarounds:Manual Install
Go here and click 'INSTALL' button at the top right to download the script to your computer.Click on the "Customize Google Chrome Button" to the right of the address bar and go to Tools > Extensions
Drag the downloaded script onto the Extensions page
Customize and install the script
Using Tampermonkey
Go to Chrome's Webstore and install TampermonkeyNavigate to the Script's page that you want to install.
Click on the green install button.
Follow Tampermonkey's instructions.
Other Browsers
User scripts can be used in browsers other than Firefox, but the scripting APIs and browser JavaScript support vary.Opera userscripts: Opera has it's own UserScript API with different functionality than Greasemonkey's. However, it does recognise Greasemonkey scripts. and many scripts on this site do work in Opera. See here for a guide to installing scripts in Opera and here for details on which Greasemonkey scripts are likely to work.
NOTE: this script also currently suppresses the ability to use the /online friends/ box to initiate chats.
[Source]
I hope you have enjoyed this trick for removing ads on Facebook Timeline/ pages. Cheers..!
Share your experience below, it may help other readers.
...
0 comments:
Post a Comment