mirror of
https://github.com/SoPat712/videospeed.git
synced 2025-08-22 02:18:45 -04:00
Replace chrome.extension with chrome.runtime
This commit is contained in:
@@ -240,7 +240,7 @@ chrome.runtime.sendMessage({}, function(response) {
|
||||
defineVideoController();
|
||||
} else {
|
||||
var link = document.createElement('link');
|
||||
link.href = chrome.extension.getURL('inject.css');
|
||||
link.href = chrome.runtime.getURL('inject.css');
|
||||
link.type = 'text/css';
|
||||
link.rel = 'stylesheet';
|
||||
document.head.appendChild(link);
|
||||
|
Reference in New Issue
Block a user