Removed incorrectly added code

This commit is contained in:
Akash Vacher 2022-11-13 09:42:43 -08:00
parent 45b3eb289a
commit 8394f2763f
2 changed files with 0 additions and 15 deletions

View File

@ -65,19 +65,6 @@ chrome.contextMenus.onClicked.addListener(function(item, tab) {
});
});
async function getCurrentTabUrl() {
chrome.tabs.query({
active: true,
lastFocusedWindow: true
}, function(tabs) {
// use this tab to get the youtube video URL
let videoUrl = tabs[0].url;
console.log("Got current tab URL", videoUrl);
return videoUrl;
});
}
chrome.action.onClicked.addListener(function(tab) {
chrome.storage.sync.get(['metube', 'clickBehavior'], function(data) {
if (data === undefined || !data.hasOwnProperty('metube') || data.metube === "") {

2
x
View File

@ -1,2 +0,0 @@
#!/bin/bash
./build.sh --force && cd /Users/avacher/code/hackday/opensource/metube-browser-extension/builds && unzip -o metube-browser-extension-1.3.zip -d metube-browser-extension-1.3; cd ~/code/hackday/opensource/metube-browser-extension