{"issue":{"created_at":"2011-11-25T04:51:40Z","state":"open","updated_at":"2011-12-06T19:15:30Z","user":{"gravatar_id":"c2013dc55c97c213aafec11802f90d0e","id":544011,"url":"https://api.github.com/users/numist","login":"numist","avatar_url":"https://secure.gravatar.com/avatar/c2013dc55c97c213aafec11802f90d0e?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"comments":5,"body":"reported by wintermute: https://thismight.be/offensive/index.php?c=comments&fileid=325131\r\n\r\nproposed solution:\r\nadd argument to pic.php pickup=1 which, if set, causes the following javascript to be emitted on the page that's loaded:\r\n\r\nupdate the pickup cookie using: http://www.javascripter.net/faq/settinga.htm\r\nupdate the db cookie using: http://thismight.be/offensive/api.html#set_preference\r\n\r\nlastly, remove the pickup argument from the URL using history.replaceState, so copying the link to other users will not virally update their pickuplink as well.\r\n\r\nthis relies on the assumption that browsers that prefetch only fetch the resources but do not execute scripts until the page is viewed by the user. is this safe?","assignee":null,"id":2346592,"number":20,"labels":[],"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"title":"pickuplink is changed by prefetch and being linked to the site","html_url":"https://github.com/numist/this-might-be-offensive/issues/20","closed_at":null,"url":"https://api.github.com/repos/numist/this-might-be-offensive/issues/20","milestone":null},"action":"created","comment":{"created_at":"2011-12-06T19:15:30Z","updated_at":"2011-12-06T19:15:30Z","user":{"gravatar_id":"737a2721a4b98e26bfe323276ab23aa6","id":75763,"url":"https://api.github.com/users/jaswope","login":"jaswope","avatar_url":"https://secure.gravatar.com/avatar/737a2721a4b98e26bfe323276ab23aa6?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"Welp, then don't mind me!\r\n\r\nMaybe we shouldn't hint on links that cause state changes?","id":3037132,"url":"https://api.github.com/repos/numist/this-might-be-offensive/issues/comments/3037132"}}