-
-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
upgrade to mv3 get submission count from server fix submission menu after video ends
- Loading branch information
Showing
12 changed files
with
56 additions
and
62 deletions.
There are no files selected for viewing
Submodule maze-utils
updated
from 159558 to e13d8d
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,4 @@ | ||
import { SBObject } from "./config"; | ||
declare global { | ||
interface Window { SB: SBObject } | ||
// Remove this once the API becomes stable and types are shipped in @types/chrome | ||
namespace chrome { | ||
namespace declarativeContent { | ||
export interface RequestContentScriptOptions { | ||
allFrames?: boolean; | ||
css?: string[]; | ||
instanceType?: "declarativeContent.RequestContentScript"; | ||
js?: string[]; | ||
matchAboutBlanck?: boolean; | ||
} | ||
export class RequestContentScript { | ||
constructor(options: RequestContentScriptOptions); | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,22 @@ | ||
window["SBLogs"] = { | ||
debug: [], | ||
warn: [] | ||
}; | ||
if (typeof window !== "undefined") { | ||
window["SBLogs"] = { | ||
debug: [], | ||
warn: [], | ||
}; | ||
} | ||
|
||
export function logDebug(message: string) { | ||
window["SBLogs"].debug.push(`[${new Date().toISOString()}] ${message}`); | ||
if (typeof window !== "undefined") { | ||
window["SBLogs"].debug.push(`[${new Date().toISOString()}] ${message}`); | ||
} else { | ||
console.log(`[${new Date().toISOString()}] ${message}`); | ||
} | ||
} | ||
|
||
export function logWarn(message: string) { | ||
window["SBLogs"].warn.push(`[${new Date().toISOString()}] ${message}`); | ||
} | ||
if (typeof window !== "undefined") { | ||
window["SBLogs"].warn.push(`[${new Date().toISOString()}] ${message}`); | ||
} else { | ||
console.warn(`[${new Date().toISOString()}] ${message}`); | ||
} | ||
} |