Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 10 of 10
  1. #1
    New Coder
    Join Date
    May 2009
    Posts
    18
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Reg: info javascript

    Can i change the IE Browser settings Tools-->internet options -->advanced using javascript....


    Thanks in adv

  • #2
    Supreme Master coder! Philip M's Avatar
    Join Date
    Jun 2002
    Location
    London, England
    Posts
    17,918
    Thanks
    203
    Thanked 2,531 Times in 2,509 Posts
    Absolutely not.

    JavaScript is purely a client-side language, and unless used with an Ajax call has no capability to read from or write to a file (except a cookie), communicate with the server, access a database or the client's operating system, or alter the default behaviour of the browser. And for security reasons JavaScript cannot access anything beyond the domain of the current page. This is known as the "same origin policy" and prevents a document or script loaded from one origin from getting or setting properties of a document from a different origin.


    "I cannot conceive that anybody will require multiplications at the rate of 40,000 or even 4,000 per hour ..." -- F. H. Wales (1936)

  • #3
    Senior Coder rnd me's Avatar
    Join Date
    Jun 2007
    Location
    Urbana
    Posts
    4,296
    Thanks
    10
    Thanked 584 Times in 565 Posts
    Quote Originally Posted by Philip M View Post
    for security reasons JavaScript cannot access anything beyond the domain of the current page.
    Philip:
    what exactly do you mean by "access" and "anything" here?
    my site (updated 13/9/26)
    BROWSER STATS [% share] (2014/5/28) IE7:0.1, IE8:5.3, IE11:8.4, IE9:3.2, IE10:3.2, FF:18.2, CH:46, SF:7.9, NON-MOUSE:32%

  • #4
    Supreme Master coder! Philip M's Avatar
    Join Date
    Jun 2002
    Location
    London, England
    Posts
    17,918
    Thanks
    203
    Thanked 2,531 Times in 2,509 Posts
    Quote Originally Posted by rnd me View Post
    Philip:
    what exactly do you mean by "access" and "anything" here?
    ‘When I use a word,’ Humpty Dumpty said, in a rather scornful tone, ‘it means just what I choose it to mean, neither more nor less.’

    ‘The question is,’ said Alice, ‘whether you can make words mean so many different things.’

    ‘The question is,’ said Humpty Dumpty, ‘which is to be master – that’s all.’

    - Lewis Carroll



    You tell me what you think they mean, and which particular hair you wish to split.

    You probably have in mind ActiveX (which is not JavaScript in itself) and which is IE only. And of course Javascript can be disabled by the user at will. For security reasons all database operations should be carried out server-side. And if you can show me how to change the user's browser settings as requested by the OP I will buy you an ice cream.
    Last edited by Philip M; 05-12-2009 at 09:00 AM.

  • #5
    Regular Coder
    Join Date
    Nov 2007
    Location
    Leeds, UK
    Posts
    514
    Thanks
    24
    Thanked 19 Times in 19 Posts
    what are you trying to do?

    change setting for javascript?
    Working towards a Internet where we don't have website just browser applications Kill the Hyper-link and say hello to 3D Games in the browser :)

  • #6
    Supreme Master coder! Philip M's Avatar
    Join Date
    Jun 2002
    Location
    London, England
    Posts
    17,918
    Thanks
    203
    Thanked 2,531 Times in 2,509 Posts
    I have to say I that I would strong discourage any attempts to interrogate or interfere with the user's browser in any way. This is often the prelude to some sort of hacking or malware attack. It ought to be obvious that

    Can i change the IE Browser settings Tools-->internet options -->advanced using javascript....

    can have no possible legitimate purpose.

  • #7
    Senior Coder rnd me's Avatar
    Join Date
    Jun 2007
    Location
    Urbana
    Posts
    4,296
    Thanks
    10
    Thanked 584 Times in 565 Posts
    Quote Originally Posted by Philip M View Post
    You probably have in mind ActiveX (which is not JavaScript in itself) and which is IE only.
    i was thinking more jsonp and img pings, IE fell off my radar long ago...


    i dont think we need a debate over it, it's just a point to ponder...

    i grumble more when i feel the post is discouraging to noobs; the main consumer of this info.

    i love javascript and will always rise to defend it's reputation. it's weird; i almost feel shame when javascript is downplayed, especially broadly or unjustly. i think Brendan will be vindicated by history, viewed as important as boole, turing, gates, et al.
    my site (updated 13/9/26)
    BROWSER STATS [% share] (2014/5/28) IE7:0.1, IE8:5.3, IE11:8.4, IE9:3.2, IE10:3.2, FF:18.2, CH:46, SF:7.9, NON-MOUSE:32%

  • #8
    New Coder
    Join Date
    May 2009
    Posts
    18
    Thanks
    1
    Thanked 0 Times in 0 Posts
    I Understand that it is not possible with javascript atleast, but I have to do the changes in the IE Browser settings Tools-->internet options -->advanced. I have a php page designed, and through php page how and using what I can achieve the change of settings in IE and Mozilla Firefox.


    Hopefully I am awaiting for some amicable replies.

    Thanks again in advance.

  • #9
    Supreme Master coder! Philip M's Avatar
    Join Date
    Jun 2002
    Location
    London, England
    Posts
    17,918
    Thanks
    203
    Thanked 2,531 Times in 2,509 Posts
    See Post#6.

  • #10
    Senior Coder
    Join Date
    Oct 2008
    Location
    Long Beach
    Posts
    1,196
    Thanks
    36
    Thanked 164 Times in 164 Posts
    Just thought I'd pop in to second #6. Even if you found some hackish way to alter the user's settings, you can bet the browsers would pick up on it and patch it asap.
    Feel free to e-mail me if I forget to respond ;)
    ohsosexybrit@gmail.com


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •