Skip to content

Instantly share code, notes, and snippets.

@abhiomkar
Created June 30, 2010 11:32
Show Gist options
  • Select an option

  • Save abhiomkar/458547 to your computer and use it in GitHub Desktop.

Select an option

Save abhiomkar/458547 to your computer and use it in GitHub Desktop.
// ==UserScript==
// @name blank2self
// @namespace http://abhiomkar.in
// @description blank2self
// @include http://*
// @include https://*
// @version 0.1
// ==/UserScript==
aTags = document.getElementsByTagName("a"); for(i=0; i< aTags.length; i++) { aTags[i].target = "_self"; }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment