Drive userscript: support violentmonkey (#713)
This commit is contained in:
parent
a260f79c7d
commit
342e5d406a
3 changed files with 21 additions and 14 deletions
|
|
@ -233,5 +233,3 @@ function eraseCookie(name) {
|
|||
|
||||
/* to be implemented in callbacks.js */
|
||||
function setupCallbacks() { }
|
||||
|
||||
window.enableCyTubeGoogleDriveUserscriptDebug = getOrDefault("cytube_drive_debug", false);
|
||||
|
|
|
|||
|
|
@ -3247,7 +3247,7 @@ function maybePromptToUpgradeUserscript() {
|
|||
return;
|
||||
}
|
||||
|
||||
var currentVersion = [1, 4];
|
||||
var currentVersion = [1, 5];
|
||||
var userscriptVersion = window.driveUserscriptVersion;
|
||||
if (!userscriptVersion) {
|
||||
userscriptVersion = '1.0';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue