Skip to content

Instantly share code, notes, and snippets.

@haoyayoi
Created July 28, 2008 01:34
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 haoyayoi/2823 to your computer and use it in GitHub Desktop.
Save haoyayoi/2823 to your computer and use it in GitHub Desktop.
// ==UserScript==
// @name popIn in GreaseMonkey
// @namespace http://gist.github.com
// @include *
// ==/UserScript==
window.addEventListener("load" , function(){
if(document.getElementById('popInContainer')) { Bpopin_cleanUp(); }
else {
popin=document.body.appendChild(document.createElement('script'));
popin.language='javascript';
popin.type='text/javascript';
popin.charset='UTF-8';
popin.src='http://popin.cc/popin/popin_loader.js';
popin.id='popin_bookmarklet';
popid='58c1615d5073f8dd24c9d93138cf4bad75846626';
}
},false);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment