preparing for v1.4

This commit is contained in:
Rpsl 2022-12-25 00:31:11 +02:00
parent 4a35e0ea81
commit 62fc69aa5a
2 changed files with 0 additions and 7 deletions

View File

@ -11,12 +11,6 @@ chrome.runtime.onInstalled.addListener(function () {
],
contexts: ['link'],
});
// Set sane defaults for click behaviors at extension install time
chrome.storage.sync.set({
"clickBehavior": "send-current-url",
"contextMenuClickBehavior": "context-menu-send-current-url-and-switch"
});
});
function sendVideoUrlToMetube(videoUrl, metubeUrl, callback) {

View File

@ -60,7 +60,6 @@ async function restoreOptions() {
document.getElementById("additional").value = data.sites;
}
alert(data.clickBehavior);
if (data.clickBehavior !== undefined) {
document.getElementById(data.clickBehavior).checked = true;
}