MozillaZine

Google search site

Discussion of features in Mozilla Firefox
benp@marketing.net.uk
 
Posts: 15
Joined: November 28th, 2002, 5:56 pm

Post Posted December 2nd, 2002, 2:23 pm

Thought someone might find this useful. The IE Google toolbar lets you do a 'search site' -- here's a way to do it using quick searches in Phoenix. Add the following as a bookmark with an appropriate keyword:

javascript:document.location='http://www.google.com/search?&q=%s+site:'+document.domain

Thumper

User avatar
 
Posts: 8037
Joined: November 4th, 2002, 5:42 pm
Location: Linlithgow, Scotland

Post Posted December 2nd, 2002, 3:54 pm

Ooh, thanks. Here's hoping David adds a "lovely javascript bookmarks" section to Phoenix Help at some point.

- Chris

sag

User avatar
 
Posts: 386
Joined: November 19th, 2002, 8:56 pm

Post Posted December 2nd, 2002, 6:40 pm

Thank you! :D
I really need to learn enough Javascript to do that kind of thing. Anyone have any recommended links to help an absolute non-programmer learn to write the simplest of bookmarklets?

Ted Mielczarek
 
Posts: 1269
Joined: November 5th, 2002, 7:32 am
Location: PA

Post Posted December 2nd, 2002, 6:43 pm

sag wrote:Thank you! :D
I really need to learn enough Javascript to do that kind of thing. Anyone have any recommended links to help an absolute non-programmer learn to write the simplest of bookmarklets?


Mozilla DOM Reference - this has all the relevant properties/methods of the objects you'll be using
Javascript Reference - obviously, bookmarklets are written in javascript.

HTH

sag

User avatar
 
Posts: 386
Joined: November 19th, 2002, 8:56 pm

Post Posted December 2nd, 2002, 7:05 pm

Thanks Ted! :D

thenightfly42

User avatar
 
Posts: 983
Joined: November 5th, 2002, 8:03 am

Post Posted December 3rd, 2002, 7:08 am

sag wrote:Thank you! :D
I really need to learn enough Javascript to do that kind of thing. Anyone have any recommended links to help an absolute non-programmer learn to write the simplest of bookmarklets?

If you like to learn by example, check out:
http://www.bookmarklets.com/
http://www.squarefree.com/bookmarklets/

Return to Firefox Features


Who is online

Users browsing this forum: No registered users and 1 guest