Hi Tom,

> I'm running 3.1.8 as well. I tracked down the problem, in
> localprefs.js if I change launchmode=0 it works fine but
> mine is set to launchmode=2 as Mozilla Firebird is my
> browser of choice.

Interesting.


Ok. In defer_tools.js try making this change:

'// From: ==================================================
  var results = url.match(/(\w+):/);
'// To: ====================================================
  var results = url.match(/^(\w+):/);
'// ========================================================


In search.htm (in the "direct" function):
(lines continue, I'm just including what's important)
'// From: ==================================================
  var prot = new RegExp("^\\s*((http://|https://
'// To: ====================================================
  var prot = new RegExp("^((http://|https://
'// ========================================================

'// From: ==================================================
  var re = new RegExp("^\\s*(?:(www|ftp)
'// To: ====================================================
  var re = new RegExp("^(?:(www|ftp)
'// ========================================================

Reload and test " http://google.com/";.


This should at least fix the errors (and submit the url to your
default search engine). If it does then lets also change this:

In search.htm (in the "def" function):
'// From: ==================================================
  var t = document.deff.q.value;
'// To: ====================================================
  var t = document.deff.q.value;
  t = t.replace(/^\s+/g, '' ).replace(/\s+$/g, '' );
'// ========================================================

That *should* fix it (by removing spaces on both sides of all input in
the search box). Let me know if it does and we can CVS the changes.

However, if anyone knows of a reason *not* to remove the spaces from
both sides of the input - I'm all ears.


> (Why would anyone use ie without a new window in tab
> option?).

I do a lot of webdev and it's just easier to have IE set as my default
for testing (since the vast majority of users still use it as their
default) and hit DQSD with 'mozf' to open firebird to test pages
there.

Regards,

Shawn K. Hall
http://ReliableAnswers.com/

'// ========================================================
   "I do not fear computers. I fear the lack of them."
      -- Isaac Asimov




-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
To unsubscribe visit:
https://lists.sourceforge.net/lists/listinfo/dqsd-users
[EMAIL PROTECTED]
http://sourceforge.net/mailarchive/forum.php?forum_id=8601

Reply via email to