Skip to content

Instantly share code, notes, and snippets.

@barbolani
Last active August 29, 2015 14:13
Show Gist options
  • Save barbolani/1db46cd7b78aabf1bf3b to your computer and use it in GitHub Desktop.
Save barbolani/1db46cd7b78aabf1bf3b to your computer and use it in GitHub Desktop.
This short snippet can be added to GreaseMonkey to supress the headline images that appear at the top of articles inThe Register site
// ==UserScript==
// @name Remove The Register article headline picture
// @namespace www.theregister.co.uk
// @description Remove headline image from articles
// @include http://www.theregister.co.uk/*
// @version 1
// @grant none
// ==/UserScript==
var img = document.getElementsByClassName("article_img")[0];
img.style.width = "0px";
img.style.height = "0px";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment