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 7 of 7
  1. #1
    Regular Coder
    Join Date
    Oct 2002
    Posts
    299
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Ascii or Unicode in, not between, script-tag

    Hi,

    When writing javascript within javascript You can write fe. java'+'script, change a character with ascii or unescape a unicode character.

    Is there also a possibility to do that with a "normal" script tag like:


    <html>
    <head>
    <scr'+'ipt>

    </scr'+'ipt>
    </head>
    <body>
    </body>
    </html>

    Any ideas ar welcome!
    Jerome

  • #2
    Supreme Master coder! glenngv's Avatar
    Join Date
    Jun 2002
    Location
    Philippines
    Posts
    11,048
    Thanks
    0
    Thanked 251 Times in 247 Posts
    Of course not. Why would you like to do that?

  • #3
    Regular Coder
    Join Date
    Oct 2002
    Posts
    299
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Hi Glenn,

    Thanks for Your reply, I was just wondering if it's possible to let a javascript disabled browser believe the site doesn't contain scripts.

    Thanks for Your time,
    Jerome

  • #4
    Supreme Master coder! glenngv's Avatar
    Join Date
    Jun 2002
    Location
    Philippines
    Posts
    11,048
    Thanks
    0
    Thanked 251 Times in 247 Posts
    Do you mean like this?

    <script>

    //codes here

    </script>
    <noscript>
    Javascript is not supported or disabled.
    </noscript>

  • #5
    Regular Coder
    Join Date
    Oct 2002
    Posts
    299
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Sorry Glenn,

    I suppose that a script disabled browser, disables the script tags it finds when reading the page. I was wondering if we could mutilate the script tags by writing them in uni-code or else to fool the browser. Like there is a way to include a js-file without using script-tags.

    Anyway, thanks for Your time Glenn,
    Jerome

  • #6
    Senior Coder
    Join Date
    Jun 2002
    Location
    Wichita
    Posts
    3,880
    Thanks
    0
    Thanked 0 Times in 0 Posts
    A javascript disabled browser IGNORES the contents of <script</script> tags. If you mean to make a javascript disabled browser somehow execute javascript anyway then forget it, the user has javascript disabled for a reason and it's not your place as a web developer to override the end user's choice.

    Your web pages need to function properly without javascript, the scripting on your page should be there to make it easier for users to interact with your page and your site but they should not be essential.
    Check out the Forum Search. It's the short path to getting great results from this forum.

  • #7
    Regular Coder
    Join Date
    Oct 2002
    Posts
    299
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Sorry Roy,

    I am not a webdeveloper, just a hobbiest, who sometimes wonders how things work. Like what can be a practical solution for a theoretical concept. This without bad meaning.

    When I feel I go to far or ask to much, I directly stop the thread.

    Thanks for Your time,
    Jerome


  •  

    Posting Permissions

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