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:
parent
342e5d406a
commit
aa5066762b
5 changed files with 26 additions and 9 deletions
|
|
@ -1,4 +1,5 @@
|
|||
var CL_VERSION = 3.0;
|
||||
var GS_VERSION = 1.6; // Google Drive Userscript
|
||||
|
||||
var CLIENT = {
|
||||
rank: -1,
|
||||
|
|
|
|||
|
|
@ -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';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue