473,378 Members | 1,393 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

Any way to disable setInterval function for a browser?

My question is not about Javascript programming. I'd like to use a
browser, either IE or Firefox or whatever, that allows me to disable a
specific Javascript function but not disable Javascript completely.
Specifically I don't want to see text slowly moving across screen on
some stupid web sites. I assume they're all done with setInterval().
Is there a way to disable that in any browser? Thanks.

Yong Huang

Nov 4 '07 #1
2 5905
On Nov 4, 1:23 pm, yong...@yahoo.com wrote:
My question is not about Javascript programming. I'd like to use a
browser, either IE or Firefox or whatever, that allows me to disable a
specific Javascript function but not disable Javascript completely.
Specifically I don't want to see text slowly moving across screen on
some stupid web sites. I assume they're all done with setInterval().
Not necessarily, they may use setTimeout or the non-standard marquee
element.
Is there a way to disable that in any browser? Thanks.
No. But you can use a browser that doesn't support the marquee
element, or one like Firefox with the NoScript add-on that allows you
to disable scripts for specific sites.

--
Rob

Nov 4 '07 #2

RobG wrote:
On Nov 4, 1:23 pm, yong...@yahoo.com wrote:
Is there a way to disable that in any browser? Thanks.

No. But you can use a browser that doesn't support the marquee
element, or one like Firefox with the NoScript add-on that allows you
to disable scripts for specific sites.
But that would entirely disable javascript which I guess the OP
doesn't want.

@Yong Huang
I think 'Greasemonkey', a firefox addon would help you in solving your
problem. It can be used to modify/change the way web pages are
rendered clientside.

This means you can just override the setTimeout and setInterval
function so that it doesn't do anything. This would work in almost all
cases(except when they are using the non-standard marquee). Or you can
just remove that specific part of the script by altering/modifying the
script element on the page(which would only work if they are not
linking to an external js file).

Regards,
STS

Nov 4 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
by: Richard A. DeVenezia | last post by:
At line this.timerId = setInterval (function(){this.step()}, 100) I get error dialog Error:Object doesn't support this property or method. If I change it to this.timerId = setInterval...
1
by: Weston C | last post by:
In the course of trying to build a simple clock, I've run into a problem using the setInterval (and setTimeout) function. http://weston.canncentral.org/misc/tkeep/tkeep.html...
17
by: George Hester | last post by:
Hoe can I use setInterval where its argument is a function which also has an argument? For example I have a function change(Msg) where Msg is dynamically generated and returns nothing at this point...
6
by: marktm | last post by:
Hi- I am trying to use setInterval to call a method within an object and have not had any luck. I get "Object doesn't support this property or method" when I execute the following code. What I...
4
by: barry | last post by:
If The script below is exeuted from the onload="startit()" in the body tag everything works fine but when I remove the onload and try to execute by using the attributes.add from within the Page_Load...
3
by: shawn | last post by:
Hi All Was trying to get this bit of code working (simplified of course) for (i=0;i<uuid_num;i++) { window.setInterval(InitMap(uuidValues), timePeriod); } Where uuid_num, uuidValues,...
1
by: Jeff | last post by:
I've been trying to pass in an object in a setInterval but it complains about missing ] after elenment list. setInterval("someFunction("+some_object+")",1000); What's the correct syntax to do...
1
by: jonahmason | last post by:
hi. a javascript newbie here in dire need of help. for the past 3 days i've been trying to get a script using setinterval to work but a part of the code, that executes after setinterval hits a...
2
by: shawnwperkins | last post by:
Hi Folks, I'm new to Javascript and just need a little help. I downloaded a script from Dynamic Drive's Web site and I'm trying to make a simple modification and could use some help. :) The...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.