Send specific JS event over address bar

Discussion in 'HTML & JavaScript' started by WildDisease, Nov 20, 2011.

  1. WildDisease

    WildDisease Junior Member

    Aug 3, 2011
    Likes Received:
    There's a JS function called changeRadio() that takes a variable as parameter; compares the variable with expected results.

    I want to know is how can I rewrite this JS script from client side and run it through FF address bar. I know it's something like 'javascript: script here;' but I haven't been able to get this working if I just try to throw a rewritten script in the address bar and submitting it. I try to do javascript:alert(2+2) as well but it doesn't seem to work either.
  2. sockpuppet

    sockpuppet Junior Member

    Nov 7, 2011
    Likes Received:
    javascript in the location bar doesn't have any access to the page anymore since ff 6, see bug #656433 (sorry can't post links), they removed it because of this 'copy this link (javascript url) in the address bar to ... blablalba' attacks.
    try chrome...
    • Thanks Thanks x 4