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

Ask for help about NoScript, no registration needed to post
SFdude

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

Post 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
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.8) Gecko/20100202 Firefox/3.5.8 GTB6
dhouwn
Bug Buster
Posts: 968
Joined: Thu Mar 19, 2009 12:51 pm

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

Post by dhouwn »

Hm… writing a surrogate script might be a possibility.
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.3a3pre) Gecko/20100311 Minefield/3.7a3pre
User avatar
Giorgio Maone
Site Admin
Posts: 9524
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

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

Post 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
Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6
Mc

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

Post by Mc »

I use BlockSite extension to block any unwanted from loading.
Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.1.8) Gecko/20100205 Lightning/1.0b1 SeaMonkey/2.0.3
Post Reply