Skip to content

Instantly share code, notes, and snippets.

@lmonilsson
Created March 13, 2015 22:59
Show Gist options
  • Save lmonilsson/b5e2575b8306b2d3ca48 to your computer and use it in GitHub Desktop.
Save lmonilsson/b5e2575b8306b2d3ca48 to your computer and use it in GitHub Desktop.
Greasemonkey script for hiding the top frame on di.se
// ==UserScript==
// @name Remove di.se top frame
// @namespace http://www.di.se
// @include http://www.di.se/*
// @noframes
// @version 1
// @grant none
// ==/UserScript==
var frameset = top.document.getElementsByTagName("frameset")[0];
frameset.setAttribute("rows", "0,0,*");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment