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

Ask for help about NoScript, no registration needed to post

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

Postby SFdude » Mon Mar 08, 2010 9:15 pm

[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
SFdude
 

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

Postby dhouwn » Sat Mar 13, 2010 2:27 pm

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
dhouwn
Bug Buster
 
Posts: 926
Joined: Thu Mar 19, 2009 12:51 pm

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

Postby Giorgio Maone » Sat Mar 13, 2010 8:49 pm

... 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
User avatar
Giorgio Maone
Site Admin
 
Posts: 6864
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy

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

Postby Mc » Sat Mar 13, 2010 9:14 pm

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
Mc
 


Return to NoScript Support

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 12 guests