Open dictionary search in a pop-up

Discussion of general topics about Mozilla Firefox
User avatar
tuk0z
Posts: 50
Joined: July 24th, 2004, 9:05 am
Location: UE
Contact:

Post by tuk0z »

Correction :
As the original 'contextsearch.jar' code do this :

- Holding CTRL will cause the tab to load in the Foreground
- Holding Shift will open a new window

I switched back to it :)
Firefox/-dev/Palemoon & ex-Opera fan - Arch Linux, Android, Windows phone - RAID-lvm Core i3, Atom systems
"Anyone who slaps a 'this page is best viewed with Browser X' label on a Web page appears to be yearning for the bad old days, be4 the Web..." - Tim Berners-Lee, July 1996
brahma
Posts: 1
Joined: September 17th, 2004, 11:54 am

Post by brahma »

Try this

javascript: if (!window.inp) { q=window.getSelection(); if (q==0) q=prompt('Input searchword',''); window.open("http://www.m-w.com/cgi-bin/dictionary?book=Dictionary&va="+q, "bmarks", "chrome,dependent,width=600,height=600"); } void(0);
rafman
Posts: 111
Joined: August 16th, 2004, 9:26 pm

Post by rafman »

Just getting started with FF - using 0.9.3, getting ready to upgrade to .10. I installed Context Search and I want to use it for the dictionary popup. But I can't find the file contextsearch.js so I can do the edit. I searched my whole computer and it isn't there. Any help greatly appreciated.
Post Reply