Skip to content

Instantly share code, notes, and snippets.

@dan-turner
Last active December 14, 2015 01:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dan-turner/3224254 to your computer and use it in GitHub Desktop.
Save dan-turner/3224254 to your computer and use it in GitHub Desktop.
SMH Ad Remover - Greasemonkey Script
// ==UserScript==
// @name SMH Ad Remover
// @namespace #DanTurner
// @description For readers of SMH.
// @include http://www.smh.com.au/*
// @version 1.0.7
// @require https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js
// @homepage https://gist.github.com/dan-turner/3224254
// @updateURL https://gist.github.com/dan-turner/3224254/raw/SMH-Ad-Remover.user.js
// ==/UserScript==
$('.ad').remove();
$('.fN-affiliateStrip').remove();
$('#subscription-overlay').remove();
$('#adops-gutter').remove();
@dan-turner
Copy link
Author

Already have Greasemonkey/Tampermonkey?

Script URL

Detailed Instructions

Firefox

  • Install Greasemonkey
  • Navigate to the Script URL to bring up the Greasemonkey Installation dialog
  • Choose "Install"

Chrome

  • Install Tampermonkey
  • Navigate to the Script URL to open the script in Tampermonkey
  • Choose 'OK' to install the script
  • Choose 'OK' to allow the script for the required domain

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment