Content deleted Content added
No edit summary |
mNo edit summary |
||
Line 5:
*/
// <pre><nowiki>
function whackLookup() {▼
// ****************
// Wiki Lookup
// ****************
var q = "" + (window.getSelection ? window.getSelection()
: document.getSelection ? document.getSelection()
Line 16 ⟶ 20:
}
// ****************
// Google Lookup
// ****************
function whackGoogleLookup () {
var q = "" + (window.getSelection ? window.getSelection()
: document.getSelection ? document.getSelection()
: document.selection.createRange().text);
if (!q)
q = prompt(%22You didn't select any text. Enter a search phrase:", "");
if (q!=null)
___location="http://www.google.com/search?q=" + escape(q).replace(/ /g, "+");
}
// **************************************************
Line 46 ⟶ 61:
window.playWhackMoles=function() {
whack_addToolboxLink('javascript:{
}
|