/    Sign up×
Community /Pin to ProfileBookmark

Disable javascript programmatically in local machine

I want to disable/enable javascript programmatically in IE.You can assume i have the full privilege .I wan to use this script in Selenium(Testing framework) .
I ask in selenium forum but i not the any reply.

Thanks

to post a comment
JavaScript

6 Comments(s)

Copy linkTweet thisAlerts:
@KorApr 01.2008 — Logically, you can not use a language to enable/disable [I]itself[/I], right? Suppose you could do somehow to disable javascript using javascript. Now how can you enable back the javascript using javascript ,as long as the javascript is now [I]disabled[/I]?:rolleyes:
Copy linkTweet thisAlerts:
@Orc_ScorcherApr 01.2008 — If you allow IE to access ActiveX controls that are not marked as safe for scripting then you can use the WMI scripting interface which will give you full access to the Windows registry where IE stores this setting. If you haven't got a clue about WMI, WMI Providers and the layout of IE's registry keys then better prepare for some delightful hours browsing through the MSDN website.
Copy linkTweet thisAlerts:
@KorApr 01.2008 — ... But you may try a Visual Basic solution. I don't know much about VBasic, though ...
Copy linkTweet thisAlerts:
@rohit_goraJun 03.2010 — but i [B][COLOR="Green"]have seen in some application that gives a Setup to change your Browser seeting [/COLOR][/B]before running application in browser .How can it is possibal. Please help me.
Copy linkTweet thisAlerts:
@SparoHawkJun 03.2010 — but i [B][COLOR="Green"]have seen in some application that gives a Setup to change your Browser seeting [/COLOR][/B]before running application in browser .How can it is possibal. Please help me.[/QUOTE]

Can you provide links to those applications you refer to?
Copy linkTweet thisAlerts:
@KorJun 03.2010 — but i [B][COLOR="Green"]have seen in some application that gives a Setup to change your Browser seeting [/COLOR][/B]before running application in browser .How can it is possibal. Please help me.[/QUOTE]
Probably. But those are [I]applications[/I] and they are written in an assembler language, written for a specific browser, and you can only download and install them, but only on your will. See Firefox Add-ons. It's like a freeware game: if you agree, you may download and install it, if not, not.
×

Success!

Help @d17may spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.2,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,
)...