mirror of
https://github.com/NohamR/BetterYGG.git
synced 2026-01-10 08:18:19 +00:00
[1.2.9] new domain name and manifest V3
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
/* Inject scripts don't forget to add them to web_accessible_resources in manifest */
|
||||
injectScript(chrome.extension.getURL('contentScripts/addTorrent/accessAddTorrent.js'), 'head');
|
||||
injectLink(chrome.extension.getURL("css/style.css"), 'head');
|
||||
injectScript(chrome.runtime.getURL('contentScripts/addTorrent/accessAddTorrent.js'), 'head');
|
||||
injectLink(chrome.runtime.getURL("css/style.css"), 'head');
|
||||
|
||||
/********************************************************************/
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/* Inject scripts don't forget to add them to web_accessible_resources in manifest */
|
||||
injectScript(chrome.extension.getURL('/contentScripts/allPages/accessAllPages.js'), 'head');
|
||||
injectScript(chrome.runtime.getURL('/contentScripts/allPages/accessAllPages.js'), 'head');
|
||||
|
||||
/* disable annoying fuckn popup */
|
||||
var popup = document.querySelector('div.ad-alert-wrapper');
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/* Inject scripts don't forget to add them to web_accessible_resources in manifest */
|
||||
injectScript(chrome.extension.getURL('contentScripts/search/accessSearch.js'), 'head');
|
||||
injectScript(chrome.runtime.getURL('contentScripts/search/accessSearch.js'), 'head');
|
||||
|
||||
/********************************************************************/
|
||||
|
||||
@@ -13,7 +13,7 @@ chrome.storage.sync.get(['yggToken'], function (value) {
|
||||
var cell = table.rows[i].cells[2];
|
||||
var downloadButton = document.createElement('a')
|
||||
var downloadIcon = document.createElement('img')
|
||||
downloadIcon.setAttribute('src', chrome.extension.getURL("img/download.png"));
|
||||
downloadIcon.setAttribute('src', chrome.runtime.getURL("img/download.png"));
|
||||
downloadButton.appendChild(downloadIcon);
|
||||
downloadButton.setAttribute('href', "https://" + window.location.host + "/rss/download?id=" + torrentId + "&passkey=" + value.yggToken);
|
||||
cell.appendChild(downloadButton);
|
||||
|
||||
Reference in New Issue
Block a user