Hi all,

Just in case anyone else has this problem in future, here's a solution.

Problem:
DQSD does not open a search properly in FireFox. The new browser window/tab 
opens OK, but it then stalls on a blank page.

Cause:
The TorButton extension blocks "file://" URLs by default. 

Solution:
Tools -> Add-ons -> TorButton -> Options -> Security Settings -> Untick "Block 
access to network from file:// URLs (recommended)" -> OK

More details of the problem:
- The stalled windows has something like the following in the address bar: 
"file:///C:/DOCUME~1/USERNAME/LOCALS~1/Temp/DQSDLaunch.html".
- Functions that do not involve a web search work fine (e.g. if you have 
Notepad aliased to "np", then typing "np" will fire Notepad correctly).
- A parameterless search works OK (e.g. entering "gg" gives you the Google 
homepage, but entering "gg foobar" gives the stalled webpage).
- Opening the spawned DQSDLaunch.html file shows that it is created correctly - 
it's just not run as expected.
- The FireFox error console reports (something like) "Error: uncaught 
exception: [Exception... "Component returned failure code: 0x805e000a 
[nsIDOMHTMLFormElement.submit]"  nsresult: "0x805e000a (<unknown>)"  location: 
"JS frame :: file:///C:/DOCUME~1/USERNAME/LOCALS~1/Temp/DQSDLaunch.html :: 
onload :: line 1"  data: no]"

More details of the solution:
- The error console report led me to 
https://bugs.torproject.org/flyspray/index.php?do=details&id=698 which mentions 
the TorButton behaviour with file:// URLs
- As the comment on that post mentions, you enable access at your own risk.
- I thought the problem might be DDE, but changing/disabling DDE had no effect 
and I can confirm that the solution works with the default FireFox DDE settings 
that you get by running "firefox.exe -silent -setDefaultBrowser" - i.e.
   Use DDE: Enabled
   DDE Message: "%1",,0,0,,,,    
   Application: Firefox
   DDE Application: [blank]
   Topic: WWW_OpenURL
- I thought the problem might be NoScript, but I already had "file://" 
whitelisted.

Cheers,

Dave.

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
To unsubscribe visit:
https://lists.sourceforge.net/lists/listinfo/dqsd-users
DQSD-Users@lists.sourceforge.net
http://sourceforge.net/mailarchive/forum.php?forum_id=8601

Reply via email to