GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — status is null when readyState < 4 · Issue #3068 · greasemonkey/greasemonkey Closed Milestone DescriptionFor Test script: // ==UserScript== // @name New Userscript // @namespace http://tampermonkey.net/ // @version 0.1 // @description try to take over the world! // @author You // @include * // @grant GM.xmlHttpRequest // ==/UserScript== (function() { 'use strict'; var xhr; var loadfunc = function(resp) { if (resp.readyState < 2) return; console.log(resp); xhr.abort(); }; var obj = { url: "https://www.google.com/" }; if (true) { obj.onprogress = loadfunc; // status == null } else { obj.onload = loadfunc; // status == 200 } xhr = GM.xmlHttpRequest(obj); })(); This is problematic for my userscript (https://greasyfork.org/en/scripts/36662-image-max-url), as it believes status == 0/null to mean that the website was blocked via either tracking protection or that the domain/ip couldn't be resolved. ActivityMetadataMetadataAssigneesLabelsNo labels ProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |