User:Sander Säde/differ.js

addOnloadHook(AddDifferButton); function AddDifferButton { addPortletLink("p-cactions", "javascript:viewHistory", "differ"); }

function viewHistory { mw.loader.load('//en.wikipedia.org/w/index.php?action=raw&ctype=text/css&title=User:Sander_Säde/differ.css', 'text/css'); importStylesheet('http://en.wikipedia.org/skins-1.5/common/diff.css?257z2');

$("#globalWrapper").append('  x    Latest Earliest   &lt; &gt;        '); }