{"action":"created","issue":{"url":"https://api.github.com/repos/Tampermonkey/tampermonkey/issues/518","repository_url":"https://api.github.com/repos/Tampermonkey/tampermonkey","labels_url":"https://api.github.com/repos/Tampermonkey/tampermonkey/issues/518/labels{/name}","comments_url":"https://api.github.com/repos/Tampermonkey/tampermonkey/issues/518/comments","events_url":"https://api.github.com/repos/Tampermonkey/tampermonkey/issues/518/events","html_url":"https://github.com/Tampermonkey/tampermonkey/issues/518","id":302112138,"number":518,"title":"[Chrome] All the Externals by greasyfork.org of my installed scripts have become 0 byte (most probably because the weekly Externals update check 2 days ago was receiving empty pages for requests to Greasyfork scripts with a pinned version )","user":{"login":"darkred","id":723651,"avatar_url":"https://avatars2.githubusercontent.com/u/723651?v=4","gravatar_id":"","url":"https://api.github.com/users/darkred","html_url":"https://github.com/darkred","followers_url":"https://api.github.com/users/darkred/followers","following_url":"https://api.github.com/users/darkred/following{/other_user}","gists_url":"https://api.github.com/users/darkred/gists{/gist_id}","starred_url":"https://api.github.com/users/darkred/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darkred/subscriptions","organizations_url":"https://api.github.com/users/darkred/orgs","repos_url":"https://api.github.com/users/darkred/repos","events_url":"https://api.github.com/users/darkred/events{/privacy}","received_events_url":"https://api.github.com/users/darkred/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-03-04T19:09:28Z","updated_at":"2018-03-07T19:46:00Z","closed_at":null,"author_association":"NONE","body":"_Using Tampermonkey 4.5 in Chrome 64, win10x64._ \r\n\r\nToday I noticed that a lot of my installed scripts in Chrome would no longer work. \r\nSo I checked their settings | 'Externals' tab, and found that **for ALL my scripts that have `@require` rules via greasyfork that had a 'Last Updated' entry of \"Fri Mar 02 2018\" , their Externals had become 0 byte !!!** \r\n_All other Externals were still ok, e.g. those by GitHub:_\r\n![2018-03-04_215338](https://user-images.githubusercontent.com/723651/36949880-8bba2364-1ff6-11e8-8317-e0557d7d4c95.jpg) \r\n![2018-03-04_215234](https://user-images.githubusercontent.com/723651/36949854-64dcb5e0-1ff6-11e8-9fce-0eac3d1e7a1c.jpg)\r\n\r\n\r\nI have in TM settings | Externals | the 'Update' interval set as 'Weekly' (default value).\r\n\r\nI suspect that this issue has happened after the weekly Externals update check was receiving empty pages for requests to Greasyfork scripts with a pinned version \r\nbecause some days ago I noticed that Externals URLs that point to specific versions, e.g. https://greasyfork.org/scripts/21927-arrive-js/code/arrivejs.js?version=139586 would return empty pages <sup>[2]</sup>.\r\nAnd, so two days ago, 3/2/2018, when the weekly automatic updates check for Externals was executed,\r\nit was retrieving empty pages, so I suppose that TM wrongly replaced them all with 0 byte content.\r\n\r\n\r\n[1] <sup> (that's why I've [changed](https://greasyfork.org/en/scripts/34348-userstyles-org-css-highlighter/diff?v1=254630&v2=237602) the require rules for a script of mine 5 days ago to non-pinned versions)</sup>"},"comment":{"url":"https://api.github.com/repos/Tampermonkey/tampermonkey/issues/comments/371261003","html_url":"https://github.com/Tampermonkey/tampermonkey/issues/518#issuecomment-371261003","issue_url":"https://api.github.com/repos/Tampermonkey/tampermonkey/issues/518","id":371261003,"user":{"login":"derjanb","id":767504,"avatar_url":"https://avatars2.githubusercontent.com/u/767504?v=4","gravatar_id":"","url":"https://api.github.com/users/derjanb","html_url":"https://github.com/derjanb","followers_url":"https://api.github.com/users/derjanb/followers","following_url":"https://api.github.com/users/derjanb/following{/other_user}","gists_url":"https://api.github.com/users/derjanb/gists{/gist_id}","starred_url":"https://api.github.com/users/derjanb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/derjanb/subscriptions","organizations_url":"https://api.github.com/users/derjanb/orgs","repos_url":"https://api.github.com/users/derjanb/repos","events_url":"https://api.github.com/users/derjanb/events{/privacy}","received_events_url":"https://api.github.com/users/derjanb/received_events","type":"User","site_admin":false},"created_at":"2018-03-07T19:46:00Z","updated_at":"2018-03-07T19:46:00Z","author_association":"COLLABORATOR","body":"> I've already tried changing in Settings the Externals update interval from Every Week to Always, and closed + restarted Chrome\r\n\r\nIn all cases the script needs to run in order to update the resources. If this happens then setting the interval to \"Always\" should work as well as manually deleting the resources and run the script again.\r\n\r\nIf the resource is still not updating for you while loading the URL manually shows a non-blank page, then please open [Tampermonkey's background page](http://tampermonkey.net/faq.php#Q600), select the network tab, try to refresh the resource again and post a screenshot of the network request details. Thanks.\r\n\r\n> And, in any case, I suggest that TM should not replace the Externals with 0 byte, whenever the source site wrongly sends empty pages.\r\n\r\nIf the pages sends a HTTP response code that suggests that everything is fine, then there is no way to detect \"wrong\" blank pages."}}
{"actor":{"display_login":"derjanb"}}