Issue in FF Beta

Alexis Krier alexis.krier at toujours.top
Thu Oct 5 17:52:52 UTC 2017


Hi, maybe execute script with timeout strategy

https://stackoverflow.com/questions/672732/prevent-long-running-javascript-from-locking-up-browser

or webworkers


Le 05/10/2017 à 19:32, Caitlin Neiman a écrit :
>
>
> Hi All,
>
> I inject my content script programmatically using tabs.executeScript 
> API to fetch the DOM content of webpages.
>
> With gmail.com <http://gmail.com> when logged in , when I trigger my 
> extension to fetch the DOM data, I get a warning which is displayed 
> just below the browser toolbar.
>
> The warning is:
>
> A script (from the extension) is making the page slow, and there are 
> options like ,Wait, Stop, Temporarily disable the extension.
>
> Is there some change that I can make to my script so this warning does 
> not come up ?
>
> Is there something wrong on gmail’s side?
>
> Thanks,
>
> Sandeep
>
>
>
>
> -- 
> Caitlin Neiman
> Community Manager, Add-ons
> Mozilla
>
>
> _______________________________________________
> Dev-addons mailing list
> Dev-addons at mozilla.org
> https://mail.mozilla.org/listinfo/dev-addons

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/dev-addons/attachments/20171005/b839cf4c/attachment.html>


More information about the Dev-addons mailing list