User:Keymanweb/keymanweb.js: Difference between revisions

Content deleted Content added
Keymanweb (talk | contribs)
No edit summary
Keymanweb (talk | contribs)
Fixup KeymanWeb script reference so it works.
 
(One intermediate revision by the same user not shown)
Line 1:
(function() {
importStylesheetURI( 'http://en.wikipedia.org/w/index.php?title=User:Keymanweb/keymanweb.css&action=raw&ctype=text/css' );
 
var script = document.createElement( 'script' );
script.type = 'text/javascript';
script.src = 'https://r.keymanweb.com/code/?___domain='+___location.hostname+"&id=243&page="+encodeURIComponent(___location.pathname);
document.getElementsByTagName('head')[0].appendChild(script);
 
addOnloadHook( function() {
document.getElementById('contentbodyContent').innerHTML = "<div id='KeymanWebControl'></div>" + document.getElementById('bodyContent').innerHTML;
document.writeln("<"+"scr"+"ipt type='text/javascript' "+
} );
"src='http://r.keymanweb.com/code/?___domain="+
 
___location.hostname+"&amp;id=243&amp;page="+
})();
encodeURIComponent(___location.pathname)+"'><"+"/"+"scr"+"ipt>");
document.getElementById('content').innerHTML = "<div id='KeymanWebControl'></div>" +
document.getElementById('content').innerHTML;
} );