how to enable browser javascript using php ?

Discussion in 'PHP' started by osho3, May 31, 2010.

  1. #1
    how to enable browser javascript using php
    ?
     
    osho3, May 31, 2010 IP
  2. SwedBo

    SwedBo Peon

    Messages:
    77
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Impossible.
     
    SwedBo, May 31, 2010 IP
  3. s_ruben

    s_ruben Active Member

    Messages:
    735
    Likes Received:
    26
    Best Answers:
    1
    Trophy Points:
    78
    #3
    I agree with SwedBo - it is impossible to do that.
     
    s_ruben, Jun 1, 2010 IP
  4. danx10

    danx10 Peon

    Messages:
    1,179
    Likes Received:
    44
    Best Answers:
    2
    Trophy Points:
    0
    #4
    You can't. Use the <noscript> tag to detect disabled javascript and to alert visitors regarding that.
     
    danx10, Jun 1, 2010 IP
  5. roopajyothi

    roopajyothi Active Member

    Messages:
    1,302
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    80
    #5
    Its not possible at all since it affects privacy
    Just alert the visitor as like
    <noscript>Please Enable javascript to view this Page.</noscript>
     
    roopajyothi, Jun 1, 2010 IP
  6. mehmetm

    mehmetm Well-Known Member

    Messages:
    134
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    110
    #6
    I think so.
    if it would be possible to enable javascript without user permission, that would serve our computers on to attackers hands..
     
    mehmetm, Jun 1, 2010 IP