General :  K-Meleon Web Browser Forum
General discussion about K-Meleon 
Frames: text search macro
Posted by: D Rider
Date: April 14, 2003 08:27PM

I have this macro:

text_search_site{
menu=Search within site
open( "javascript:q=document.getSelection();location.href='http://www.google.com/search?client=googlet&q='+escape(q)+' site:'+location.host") ;
}

What it does: highlight word(s) on a page and run the macro (right-click menu selection) and it will Google search that host site only. It works with a normal web page, but not within a frame. Is there a change I could make to get it to work on a frame?

Options: ReplyQuote


K-Meleon forum is powered by Phorum.