User:Keymanweb/keymanweb.js: Difference between revisions

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