Skip to content

Instantly share code, notes, and snippets.

@arantius
Created April 14, 2011 16:54
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 arantius/919910 to your computer and use it in GitHub Desktop.
Save arantius/919910 to your computer and use it in GitHub Desktop.
I will prompt for my own reinstall whenever I run in a frame.
// ==UserScript==
// @name In-Frame installer
// @namespace https://github.com/arantius
// @description I will prompt for my own reinstall whenever I run in a frame.
// @include http*
// @exclude *gist*
// ==/UserScript==
if (window != window.top) {
document.location.href = 'https://gist.github.com/raw/919910/in-frame-reinstall.user.js';
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment