feat: switch to github for update video

This commit is contained in:
sethburkart123
2024-08-26 23:21:24 +10:00
parent 856ef62306
commit 444cb14e8a
5 changed files with 11 additions and 120 deletions
-11
View File
@@ -1,6 +1,5 @@
import browser from 'webextension-polyfill'
import { SettingsState } from "./types/storage";
import { applyYoutubeStyles } from './seqta/ui/VideoLoader';
export const openDB = () => {
return new Promise((resolve, reject) => {
@@ -117,16 +116,6 @@ browser.runtime.onMessage.addListener((request: any, _sender: any, sendResponse:
GetNews(sendResponse, url);
return true;
case 'youtubeIframe':
const { hideControls } = request;
browser.scripting.executeScript({
target: { tabId: _sender.tab.id, allFrames: true },
func: applyYoutubeStyles,
args: [hideControls]
});
break;
default:
console.log('Unknown request type');