LookItUp

By Bjørn Rosell Last update Jun 24, 2007 — Installed 321,733 times.

Incompatiblity with Firefox Security Add-On "NoScript"

in
Subscribe to Incompatiblity with Firefox Security Add-On "NoScript" 2 posts, 2 voices



Darkling Scriptwright

Hello,

first of all very pretty and handy script and thumbs up for this hard work!! :)

But unfortunately LookItUp does not work properly when the Firefox Add-On "NoScript" is activiated - which disables JavaScript and other scripting security holes.

The main issue is, LookItUp can be called via the trigger keys (for example by pressing "w" and loading the Wikipedia site) but after the overlay is loaded it cannot be closed, either by the "keyCode" event handler (by pressing ESC for example) or MouseEvent Lister, in case NoScript is blocking JavaScript for this website(/(sub-) domain) - which it better should.

Im not that familiar with JavaScript myself, but is there any workaround for this misbehavior?
Alike loading the overlay with a empty "LookItUp.html" which operates as a container for the loading content (for example Wikipedia)? [which might be ship around the problem, when JavaScript is allowed (=enabled) for local "file://" in NoScript)

Just a quick idea - I'm sure LookItUp would become a way way more secure surfing addition for daily usage then :) - of course also for "paranoid" users ;)

 
alala Scriptwright

@Bjørn Rosell
Great script. It is so efficient that I just removed two similar Firefox extensions I've been using for years (DictionarySearch and Research Word). Thank you.

@Darkling
EDIT 1: Sorry for completely misunderstanding you the first time (In a rather lengthy paragraph, I suggested allowing iframes in NoScript.) You were right, of course, LookItUp iframes do not close on untrusted (i.e. disabled/limited JavaScript) websites. Could a persistent "x" ("Close Frame") button on the top of the iframe help the problem?

EDIT 2: Eureka! The problem seems to be fixed in LookItUp2 (http://userscripts.org/scripts/show/9620). Although the new tab feature also appears to have some issues on untrusted websites (clicking on a tab closes the frame), LookItUp2 definitely looks like a worthy update overall.

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel