Created
February 28, 2011 19:02
-
-
Save minrk/847814 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==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(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.