mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2024-11-10 01:01:55 +01:00
Fix setup tab updates missing
This commit is contained in:
parent
8c994f362d
commit
12c63b4ff9
1 changed files with 3 additions and 1 deletions
|
@ -3,6 +3,8 @@ import * as CompileConfig from "../config.json";
|
|||
import Config from "./config";
|
||||
import { Registration } from "./types";
|
||||
import registerContentScript from 'content-scripts-register-polyfill/ponyfill.js';
|
||||
import { sendRealRequestToCustomServer, setupBackgroundRequestProxy } from "@ajayyy/maze-utils/lib/background-request-proxy";
|
||||
import { setupTabUpdates } from "@ajayyy/maze-utils/lib/tab-updates";
|
||||
|
||||
// Make the config public for debugging purposes
|
||||
|
||||
|
@ -10,7 +12,6 @@ window.SB = Config;
|
|||
|
||||
import Utils from "./utils";
|
||||
import { GenericUtils } from "./utils/genericUtils";
|
||||
import { sendRealRequestToCustomServer, setupBackgroundRequestProxy } from "@ajayyy/maze-utils/lib/background-request-proxy";
|
||||
const utils = new Utils({
|
||||
registerFirefoxContentScript,
|
||||
unregisterFirefoxContentScript
|
||||
|
@ -27,6 +28,7 @@ utils.wait(() => Config.config !== null).then(function() {
|
|||
});
|
||||
|
||||
setupBackgroundRequestProxy();
|
||||
setupTabUpdates(Config);
|
||||
|
||||
chrome.runtime.onMessage.addListener(function (request, sender, callback) {
|
||||
switch(request.message) {
|
||||
|
|
Loading…
Reference in a new issue