UpdateScanner confilct

22 views
Skip to first unread message

HanDy_man

unread,
Jun 18, 2009, 2:48:02 PM6/18/09
to Gladder
Gladder conflicts with UpdateScanner 3.0.4. When you open a page from
UpdateScanner Firefox hangs for awhile and this message appears:

Warning: Uresponsive script
A script on this page may be busy, or it may have stopped responding.
You can stop now, or you can continue to see if the script will
complete.

Script: file:///C:/Documents%20And%20Settings/[username]/Application
%20Data/Mozilla/Firefox/Profiles/1f0fph6x.default/extensions/
%7B0C4B554C-05D9-11DB-9804-B622A1EF5492%7D/components/glPHPproxy.js:43

updatescan

unread,
Jun 22, 2009, 1:47:10 PM6/22/09
to Gladder

On Jun 18, 7:48 pm, HanDy_man <krasi2001iva...@yahoo.com> wrote:
> Script: file:///C:/Documents%20And%20Settings/[username]/Application
> %20Data/Mozilla/Firefox/Profiles/1f0fph6x.default/extensions/
> %7B0C4B554C-05D9-11DB-9804-B622A1EF5492%7D/components/glPHPproxy.js:43

The problem is that UpdateScanner 3.0.4 uses a "data URI" to load the
page changes into the frame. This is better in many ways than the
previous method (faster, renders more accurately, allows plugins, much
more protection against malicious websites)

The Gladder code referenced in the above error message is doing a
regexp on the URI.. but this is extremely slow on a long data URI.

A couple of possible solutions:
* Check if the current location is a data URI, and if so do nothing
* Check if the URI is very long, and if so do nothing

For more information on data URIs, see:
https://developer.mozilla.org/En/Displaying_web_content_in_an_extension_without_security_issues
https://developer.mozilla.org/en/data_URIs
Reply all
Reply to author
Forward
0 new messages