This resolves an issue where Google returns HTTP200 but provides an HTML redirect to a login portal instead of video data.

Closes #718
This commit is contained in:
Xaekai 2017-11-27 23:37:41 -08:00
parent 342e5d406a
commit aa5066762b
5 changed files with 26 additions and 9 deletions

View file

@ -1,4 +1,5 @@
var CL_VERSION = 3.0;
var GS_VERSION = 1.6; // Google Drive Userscript
var CLIENT = {
rank: -1,

View file

@ -3247,7 +3247,7 @@ function maybePromptToUpgradeUserscript() {
return;
}
var currentVersion = [1, 5];
var currentVersion = GS_VERSION.toString().split('.'); // data.js
var userscriptVersion = window.driveUserscriptVersion;
if (!userscriptVersion) {
userscriptVersion = '1.0';