old_contents: ﻿// ==UserScript==
  // @name		Booru Mass Uploader
  // @description	 Add ability to bulk upload images to your booru
  // @version	1.0
  // @author		Seedmanc
  // @include	http://*.booru.org/index.php?page=*&s=mass_upload
  
  function loadAndExecute(url, callback){											
  	var scriptNode = document.createElement ("script");	
  	scriptNode.addEventListener("load", callback);
  	scriptNode.onerror = function(){ 
  		throw new Error("Can't load "+url);
  	};
  	scriptNode.src = url;
  	document.head.appendChild(scriptNode);
  };
  
  (function(){
  	if (window.top != window.self)  											
  		return;
  	//loadAndExecute("https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js", main);
  	
  	var xhr= new XMLHttpRequest();
  	xhr.open('GET', 'http://crossorigin.me/http://seedmanc.github.io/Booru-mass-uploader/index.html', true);
  	xhr.onreadystatechange= function() {
  		if (this.readyState != 4) return;
  		if (this.status != 200) return; // or whatever error handling you want
  		document.getElementsByTagName('body')[0].innerHTML = this.responseText;
  		var s = document.getElementsByTagName('script');
  for (var i = 0; i < s.length ; i++) {
    var node=s[i], parent=node.parentElement, d = document.createElement('script');
    d.async=node.async;
    d.src=node.src;
    parent.insertBefore(d,node);
    parent.removeChild(node);
  }
  	};
  	xhr.send();
  	
  })();
  
  function main(){
  	
  }
new_contents: ﻿// ==UserScript==
  // @name		Booru Mass Uploader
  // @description	 Add ability to bulk upload images to your booru
  // @version	1.0
  // @author		Seedmanc
  // @include	http://*.booru.org/*
  // ==/UserScript==
  
  function loadAndExecute(url, callback){											
  	var scriptNode = document.createElement ("script");	
  	scriptNode.addEventListener("load", callback);
  	scriptNode.onerror = function(){ 
  		throw new Error("Can't load "+url);
  	};
  	scriptNode.src = url;
  	document.head.appendChild(scriptNode);
  };
  
  (function(){
  	if (window.top != window.self)  											
  		return;
  	
  	if (~document.location.href.indexOf('s=mass_upload')) {	
  		var xhr= new XMLHttpRequest();
  		xhr.open('GET', 'http://crossorigin.me/http://seedmanc.github.io/Booru-mass-uploader/index.html', true);
  		xhr.onreadystatechange= function() {
  			if (this.readyState != 4) return;
  			if (this.status != 200) return; // or whatever error handling you want
  			document.getElementsByTagName('body')[0].innerHTML = this.responseText;
  			var s = document.getElementsByTagName('script');
  			for (var i = 0; i < s.length ; i++) {
  				var node=s[i], parent=node.parentElement, d = document.createElement('script');
  				d.async=node.async;
  				d.src=node.src;
  				parent.insertBefore(d,node);
  				parent.removeChild(node);
  			}
  		};
  		xhr.send();
  	} else if (~document.location.href.indexOf('?page='))
  		//document.addEventListener('DOMContentLoaded', function()
  		{
  			var navbar = document.getElementById('navbar');
  			var notice = document.getElementById('notice').previous() ;
  			notice.parentNode.removeChild(notice);
  			var longnotice = document.getElementById('long-notice');
  			longnotice.parentNode.removeChild(longnotice);
  			var ad = document.querySelectorAll('center div[id*="adbox"]')[0].parentNode;
  			ad.parentNode.removeChild(ad);
  			
  			var li = document.createElement("li");
  			var a  = document.createElement("a");
  			a.style= "font-weight:bold;";
  			a.appendChild(document.createTextNode('Mass Upload'));
  			a.href = document.location.href.split('.')[0]+'.booru.org/index.php?page=post&s=mass_upload';
  			li.appendChild(a);
  			navbar.appendChild(li);
  		}//, false); 	
  })(); 
subject: integrate link to uploader