Skip to content

Instantly share code, notes, and snippets.

@minrk
Created February 28, 2011 19:02
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 minrk/847814 to your computer and use it in GitHub Desktop.
Save minrk/847814 to your computer and use it in GitHub Desktop.
// ==UserScript==
// @name UnGawker
// @namespace net.minrk.ungawker
// @description Automatically view all Gawker articles via Instapaper
// @include http://*deadspin.com/*
// @include http://*gawker.com/*
// @include http://*gizmodo.com/*
// @include http://*io9.com/*
// @include http://*jalopnik.com/*
// @include http://*jezebel.com/*
// @include http://*kotaku.com/*
// @include http://*lifehacker.com/*
// ==/UserScript==
function iptxt(){
// this is the Instapaper text bookmarklet
var d=document;
try{
if(!d.body) throw(0);
window.location='http://www.instapaper.com/text?u='+encodeURIComponent(d.location.href);
} catch(e){
alert('Please wait until the page has loaded.');
}
}
if (document.location.hash){
// don't filter when entering from frontpage
iptxt();
}
@minrk
Copy link
Author

minrk commented Feb 28, 2011

UserScript for automatically viewing all Gawker Media (gizmodo, io9, kotaku, lifehacker, etc.) articles via the Instapaper text bookmarklet, so you won't have to look at the new style for more than a second.

Either install as UserScript, or use the awesome dotjs, and save in ~/.js/kotaku.com.js etc.

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