Page 1 of 1

how to stop a specific JS script from running in a site

Posted: Mon Mar 08, 2010 9:15 pm
by SFdude
[Use: Firefox 3.5.8 w/NoScript, XP-Pro, EVERNOTE.com web app.]

Here's the challenge:

I use EVERNOTE ( a web-based note storage site) in Firefox.

EVERNOTE recently added a JS "Autosave" script, (ie: "autosave.js").
This dreaded feature can not be disabled from the EVERNOTE settings. :evil:

This "Autosave" script kicks-in every 60 seconds or randomly,
and executes for a loooong time.
While it runs, I can not make any more Edits to the Note to be saved.

So, my Question is:
------------------------
how do I tell NoScript:
--> STOP / DISABLE this specific script "autosave.js" in this web site,
from running at all!
:idea:
(but let the other necessary JS scripts in this same site run normally - they are needed).

Thanks!
SFdude

Re: how to stop a specific JS script from running in a site

Posted: Sat Mar 13, 2010 2:27 pm
by dhouwn
Hm… writing a surrogate script might be a possibility.

Re: how to stop a specific JS script from running in a site

Posted: Sat Mar 13, 2010 8:49 pm
by Giorgio Maone
... or you could try using ABE.

Open NoScript Options|Advanced|ABE and edit the USER ruleset by adding:

Code: Select all

Site ^.*/autosave\.js$
Deny

Re: how to stop a specific JS script from running in a site

Posted: Sat Mar 13, 2010 9:14 pm
by Mc
I use BlockSite extension to block any unwanted from loading.