Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Other Discussions
  3. Site Bugs / Suggestions
  4. javascript one liner

javascript one liner

Scheduled Pinned Locked Moved Site Bugs / Suggestions
javascriptcomhelpquestion
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    Pramod Harithsa
    wrote on last edited by
    #1

    [check](javascript:alert('check this out!');)

    This leads to an error page. is it meant to do that or i tried something freaky? like.. [check](javascript:alert('check this out!');)

    In the grand scheme of things, we're all pretty much blind and deaf. "Everything becomes a little different as soon as it is spoken out loud." –Hermann Hesse

    N C 2 Replies Last reply
    0
    • P Pramod Harithsa

      [check](javascript:alert('check this out!');)

      This leads to an error page. is it meant to do that or i tried something freaky? like.. [check](javascript:alert('check this out!');)

      In the grand scheme of things, we're all pretty much blind and deaf. "Everything becomes a little different as soon as it is spoken out loud." –Hermann Hesse

      N Offline
      N Offline
      Nagy Vilmos
      wrote on last edited by
      #2

      IIRC Javascript is disabled intentionally to prevent naughty behaviour. More to the point why do you want to put some Javascript in a message?


      Panic, Chaos, Destruction. My work here is done. Drink. Get drunk. Fall over - P O'H OK, I will win to day or my name isn't Ethel Crudacre! - DD Ethel Crudacre I cannot live by bread alone. Bacon and ketchup are needed as well. - Trollslayer Have a bit more patience with newbies. Of course some of them act dumb - they're often *students*, for heaven's sake - Terry Pratchett

      P 1 Reply Last reply
      0
      • N Nagy Vilmos

        IIRC Javascript is disabled intentionally to prevent naughty behaviour. More to the point why do you want to put some Javascript in a message?


        Panic, Chaos, Destruction. My work here is done. Drink. Get drunk. Fall over - P O'H OK, I will win to day or my name isn't Ethel Crudacre! - DD Ethel Crudacre I cannot live by bread alone. Bacon and ketchup are needed as well. - Trollslayer Have a bit more patience with newbies. Of course some of them act dumb - they're often *students*, for heaven's sake - Terry Pratchett

        P Offline
        P Offline
        Pramod Harithsa
        wrote on last edited by
        #3

        Nagy Vilmos wrote:

        More to the point why do you want to put some Javascript in a message?

        I have no intentions of doing that.. No idea why i tried :confused: Got to figure out![^]

        In the grand scheme of things, we're all pretty much blind and deaf. "Everything becomes a little different as soon as it is spoken out loud." –Hermann Hesse

        1 Reply Last reply
        0
        • P Pramod Harithsa

          [check](javascript:alert('check this out!');)

          This leads to an error page. is it meant to do that or i tried something freaky? like.. [check](javascript:alert('check this out!');)

          In the grand scheme of things, we're all pretty much blind and deaf. "Everything becomes a little different as soon as it is spoken out loud." –Hermann Hesse

          C Offline
          C Offline
          Chris Maunder
          wrote on last edited by
          #4

          Our system strips javascript. The link you've provided gets mangled to http://www.codeproject.com/Messages/4285967/java<!-- no -->script:alert('check this out!'); This is an illegal URL so our system just gives up and sends you to an error page.

          cheers, Chris Maunder The Code Project | Co-founder Microsoft C++ MVP

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups