473,386 Members | 1,630 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,386 software developers and data experts.

disable javascript through javascript in firefox

Hi all.
I need to know how to disable javascript through javascript in firefox.
thanks in advance if some one could help me.
Sultan Wadood.
Mar 26 '07 #1
8 2158
acoder
16,027 Expert Mod 8TB
Sorry, not possible. The user chooses to disable Javascript, not the developer who wrote the web page.
Mar 26 '07 #2
iam_clint
1,208 Expert 1GB
Take the javascript off the page.
Mar 26 '07 #3
Take the javascript off the page.
Removeing javascript elements do not disable javascript in firefox.
Thanks for reply to every body.
Mar 27 '07 #4
acoder
16,027 Expert Mod 8TB
Removeing javascript elements do not disable javascript in firefox.
Thanks for reply to every body.
They don't disable javascript, but it just means that there's no javascript left to run on the page.

You don't want javascript to run, take it off the page.

As I said earlier, the developer/programmer have no control over a user's javascript settings and a good job too.
Mar 27 '07 #5
My friend taking off javascript elements does not disable javascript code which have included once in page in fire fox.
Also I would like to tell you that I have got solution to all my posted problems.
thanks for helping and your valuable time.
Mar 28 '07 #6
acoder
16,027 Expert Mod 8TB
My friend taking off javascript elements does not disable javascript code which have included once in page in fire fox.
I'm puzzled. Why do you want to disable javascript? I never said that it would disable javascript, but by not putting javascript on the page, it would achieve the same effect, i.e. no javascript is run, which is obviously what you want with what you're asking.
Also I would like to tell you that I have got solution to all my posted problems.
That's good to hear.
thanks for helping and your valuable time.
No problem. You're welcome.
Mar 29 '07 #7
I am working on Bookmark and that is why I want to disable javascript code on page in fire fox.
Thanks.
Mar 29 '07 #8
acoder
16,027 Expert Mod 8TB
Just perform an object detection, i.e. check if the object exists. If it does, run your javascript code, otherwise return.

Read about object detection here and here.
Mar 29 '07 #9

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: David Rwj Cherry CS2000 | last post by:
is there any way to disable or lock vertical scroll bars on a browser window? im a newbie and i just don't want them to appear on my screen. sometimes they appear on IE but not on mozilla. any...
1
by: Bob | last post by:
Does anyone know how to disable javascript in the new Netscape 8 -- for off line testing (like can be done readily with the current MSIE, Firefox or Opera browsers) ? When I try tools -> options...
5
by: Troot | last post by:
Hi All, I was wondering if someone could clear this up for me. I have constructed a sample for a bigger problem I'm having. So, given the xml file: <?xml-stylesheet href="test.xsl"...
11
by: Joey | last post by:
Hello, In my C# asp.net 2.0 application, I have a webform with a button server control on it. The webform, like most others in the site, subscribes to a master page. I have determined that the...
1
by: David Henderson | last post by:
I know 'disable-output-escaping' has been discussed in the past, but I can't put my finger on any of the threads to see if my current problem is addressed. Sorry for re-asking the question if it...
8
by: FAQ server | last post by:
----------------------------------------------------------------------- FAQ Topic - How do I disable the right mouse button? -----------------------------------------------------------------------...
2
by: yong321 | last post by:
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...
56
by: Deepan HTML | last post by:
Hi All, Currently i am working in a framed environment where i have divided the window as 20% and 80% and the 20% is used for navigation purpose and right frame for displaying the orignal content....
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.