{"action":"created","issue":{"url":"https://api.github.com/repos/greasemonkey/greasemonkey/issues/2232","labels_url":"https://api.github.com/repos/greasemonkey/greasemonkey/issues/2232/labels{/name}","comments_url":"https://api.github.com/repos/greasemonkey/greasemonkey/issues/2232/comments","events_url":"https://api.github.com/repos/greasemonkey/greasemonkey/issues/2232/events","html_url":"https://github.com/greasemonkey/greasemonkey/issues/2232","id":99780696,"number":2232,"title":"Location Hack does not work","user":{"login":"tiansh","id":6500326,"avatar_url":"https://avatars.githubusercontent.com/u/6500326?v=3","gravatar_id":"","url":"https://api.github.com/users/tiansh","html_url":"https://github.com/tiansh","followers_url":"https://api.github.com/users/tiansh/followers","following_url":"https://api.github.com/users/tiansh/following{/other_user}","gists_url":"https://api.github.com/users/tiansh/gists{/gist_id}","starred_url":"https://api.github.com/users/tiansh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tiansh/subscriptions","organizations_url":"https://api.github.com/users/tiansh/orgs","repos_url":"https://api.github.com/users/tiansh/repos","events_url":"https://api.github.com/users/tiansh/events{/privacy}","received_events_url":"https://api.github.com/users/tiansh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-08T07:41:41Z","updated_at":"2015-08-08T09:22:03Z","closed_at":null,"body":"It did work. But recent Firefox update or GM update (I'm not sure which one...) break following codes:\r\n\r\n```javascript\r\n// ==UserScript==\r\n// @name        Test Location Hack\r\n// @namespace   http://wiki.greasespot.net/Location_hack\r\n// @include     *\r\n// @version     1\r\n// @grant       GM_xmlhttpRequest\r\n// ==/UserScript==\r\n\r\nlocation.replace(\"javascript:(\" + encodeURI(\r\n function() {\r\n  var n = 44;\r\n  if(!(n%22)) alert('n is a multiple of 22');\r\n }) + \")()\");\r\n\r\n```\r\n\r\nIn Fx 39.0.3 and GM 3.3. No alert shown.\r\n\r\nChanging grant to none will make it works again.\r\n\r\nFx 39.0.3, GM 3.3.\r\n"},"comment":{"url":"https://api.github.com/repos/greasemonkey/greasemonkey/issues/comments/128943480","html_url":"https://github.com/greasemonkey/greasemonkey/issues/2232#issuecomment-128943480","issue_url":"https://api.github.com/repos/greasemonkey/greasemonkey/issues/2232","id":128943480,"user":{"login":"janekptacijarabaci","id":2373486,"avatar_url":"https://avatars.githubusercontent.com/u/2373486?v=3","gravatar_id":"","url":"https://api.github.com/users/janekptacijarabaci","html_url":"https://github.com/janekptacijarabaci","followers_url":"https://api.github.com/users/janekptacijarabaci/followers","following_url":"https://api.github.com/users/janekptacijarabaci/following{/other_user}","gists_url":"https://api.github.com/users/janekptacijarabaci/gists{/gist_id}","starred_url":"https://api.github.com/users/janekptacijarabaci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/janekptacijarabaci/subscriptions","organizations_url":"https://api.github.com/users/janekptacijarabaci/orgs","repos_url":"https://api.github.com/users/janekptacijarabaci/repos","events_url":"https://api.github.com/users/janekptacijarabaci/events{/privacy}","received_events_url":"https://api.github.com/users/janekptacijarabaci/received_events","type":"User","site_admin":false},"created_at":"2015-08-08T09:22:03Z","updated_at":"2015-08-08T09:22:03Z","body":"Not confirmed on:\r\nFirefox 39.0\r\n\r\nConfirmed on:\r\nFirefox 39.0.3\r\n(https://www.mozilla.org/en-US/security/advisories/mfsa2015-78/)\r\n(It's probably this code: https://hg.mozilla.org/mozilla-central/rev/b9a02fdb75a5)\r\n"}}