Create a gist now

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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