Jump to content
MakeWebGames

PHP.net search bookmark


mikemastah

Recommended Posts

someone taught me this some time ago and it's really helpfull.

it works like this.

1. click the bookmark

2. enter 'your searchterm'

3. hit enter....

and tadaa you just searched 'your searchterm' on php.net. here's the code, which goes in the bookmark's URL field .

javascript:var%20id=document.getSelection();if(!id){void(id=prompt('Enter%20searchterm'))}if(id){document.location='http://php.net/manual-lookup.php?pattern='+escape(id)}

works in FF and other Mozilla based browsers. Should also work in IE but I can't test it because my computer runs a Linux OS.

Link to comment
Share on other sites

  • 4 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...