waldyrious / waldyrious.github.io

My personal website
https://waldyrious.net
2 stars 2 forks source link

Fix code to replace referrer url for validation link #15

Closed waldyrious closed 9 years ago

waldyrious commented 10 years ago

the message passing setup doesn't seem to be working, need to investigate why.

waldyrious commented 9 years ago

Probably related, at least in chrome:

  1. http://stackoverflow.com/q/25066052/266309
  2. http://stackoverflow.com/a/22765495/266309

According to my tests in 4676684 / 771b1e0, it's more likely to be the 2nd option. There should be a webkit or chromium bug somewhere I could vote on / track.

waldyrious commented 9 years ago

ok, but being called twice is not a problem, except for code cleanliness (the need to include the if(iframe)). The url is still not updating, so it's the message passing that's not working.

waldyrious commented 9 years ago

Shame on me. The double call was my own doing! (the js code was included twice in the page...)

waldyrious commented 9 years ago

Fixed in 0c15586