ElEditors, Interface administrators, Administrators
85,546
edits
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
addOnloadHook(function($){ | addOnloadHook(function($){ | ||
return function(){ | return function(){ | ||
$('body').append( | $('body').append(" | ||
<div id="widgit"> | <div id=\"widgit\"> | ||
<a onclick="http://www.google.com/translate?sl=auto&tl=en&u= | <a onclick=\"http://www.google.com/translate?sl=auto&tl=en&u=" + encodeURIComponent(document.URL) + "\" title=\"Translate by Google\" alt=\"Translate by Google\"><span class=\"google\"></span></a> | ||
</div> | </div>"); | ||
} | } | ||
}(jQuery)); | }(jQuery)); |