{"action":"created","issue":{"url":"https://api.github.com/repos/magma1447/greasemonkey-geocaching-projectgc/issues/35","repository_url":"https://api.github.com/repos/magma1447/greasemonkey-geocaching-projectgc","labels_url":"https://api.github.com/repos/magma1447/greasemonkey-geocaching-projectgc/issues/35/labels{/name}","comments_url":"https://api.github.com/repos/magma1447/greasemonkey-geocaching-projectgc/issues/35/comments","events_url":"https://api.github.com/repos/magma1447/greasemonkey-geocaching-projectgc/issues/35/events","html_url":"https://github.com/magma1447/greasemonkey-geocaching-projectgc/issues/35","id":126193284,"number":35,"title":"Do you want to leave geocaching.com -alert","user":{"login":"magma1447","id":1918311,"avatar_url":"https://avatars.githubusercontent.com/u/1918311?v=3","gravatar_id":"","url":"https://api.github.com/users/magma1447","html_url":"https://github.com/magma1447","followers_url":"https://api.github.com/users/magma1447/followers","following_url":"https://api.github.com/users/magma1447/following{/other_user}","gists_url":"https://api.github.com/users/magma1447/gists{/gist_id}","starred_url":"https://api.github.com/users/magma1447/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/magma1447/subscriptions","organizations_url":"https://api.github.com/users/magma1447/orgs","repos_url":"https://api.github.com/users/magma1447/repos","events_url":"https://api.github.com/users/magma1447/events{/privacy}","received_events_url":"https://api.github.com/users/magma1447/received_events","type":"User","site_admin":false},"labels":[{"id":490565015,"url":"https://api.github.com/repos/magma1447/greasemonkey-geocaching-projectgc/labels/bounty","name":"bounty","color":"0e8a16","default":false},{"id":89861319,"url":"https://api.github.com/repos/magma1447/greasemonkey-geocaching-projectgc/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-01-12T14:39:48Z","updated_at":"2016-11-29T14:24:47Z","closed_at":null,"body":"Geocaching.com now pops up a js alert when one clicks links on the Profile page, can we remove that whenever the link goes to project-gc.com?\r\n\r\nA setting could be added to always remove that warning. But Project-GC.com should always be trusted.\r\n\r\nExample link, clicking my PGC Profile stats at https://www.geocaching.com/profile/"},"comment":{"url":"https://api.github.com/repos/magma1447/greasemonkey-geocaching-projectgc/issues/comments/263583204","html_url":"https://github.com/magma1447/greasemonkey-geocaching-projectgc/issues/35#issuecomment-263583204","issue_url":"https://api.github.com/repos/magma1447/greasemonkey-geocaching-projectgc/issues/35","id":263583204,"user":{"login":"GeekNJ","id":22803242,"avatar_url":"https://avatars.githubusercontent.com/u/22803242?v=3","gravatar_id":"","url":"https://api.github.com/users/GeekNJ","html_url":"https://github.com/GeekNJ","followers_url":"https://api.github.com/users/GeekNJ/followers","following_url":"https://api.github.com/users/GeekNJ/following{/other_user}","gists_url":"https://api.github.com/users/GeekNJ/gists{/gist_id}","starred_url":"https://api.github.com/users/GeekNJ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GeekNJ/subscriptions","organizations_url":"https://api.github.com/users/GeekNJ/orgs","repos_url":"https://api.github.com/users/GeekNJ/repos","events_url":"https://api.github.com/users/GeekNJ/events{/privacy}","received_events_url":"https://api.github.com/users/GeekNJ/received_events","type":"User","site_admin":false},"created_at":"2016-11-29T14:24:47Z","updated_at":"2016-11-29T14:24:47Z","body":"Took a look at this and seems the most elegant solution is to alter in-line javascript on the pages that calls a routine. The check should add (... || hostname == \"project-gc.com || hostname == \"www.project-gc.com\") in the below snippet. Need to figure out how to make that happen in GreaseMonkey. \r\n\r\nvar hostname = extractHostname(obj.message.href);\r\n            **if (isGeocachingDomain(hostname)) {**\r\n                window.open(obj.message.href, obj.message.target);\r\n                return;\r\n            }\r\n"}}
{"actor":{"display_login":"GeekNJ"}}