Content deleted Content added
Manishearth (talk | contribs) No edit summary |
Manishearth (talk | contribs) No edit summary |
||
Line 1:
This page contains snippets which are not worthy to become scripts but are sometimes useful.<br />
Usually these are scripts which I made in response to a request at [[WP:VPT]] or [[WP:US/R]]. They don't take much time to make but are sometimes useful.
==Extra search bar==
Adds an extra search bar to the page, which scrolls with you.
<source lang=javascript>
addOnloadHook(function(){
document.getElementById('panel').innerHTML+='<div id="p-search" style="display:block;position:fixed;bottom:100px;left:0px"><h5 lang="en" xml:lang="en"><label for="searchInput">Search</label></h5><form action="/w/index.php" id="searchform2"><input type="hidden" name="title" value="Special:Search"><input type="submit" name="go" class="searchButton" id="searchGoButton" value="Go" title="Go to a page with this exact name if one exists"><input type="submit" name="fulltext" class="searchButton" id="mw-searchButton" value="Search" title="Search Wikipedia for this text"><BR><input id="searchInput2" name="search" type="text" title="Search Wikipedia [alt-f]" accesskey="f" value="" autocomplete="off"></form></div>';
});
</source>
==FlexiDiff==
|