mirror of
https://github.com/FoxRefire/wvg.git
synced 2025-01-14 22:41:11 +00:00
Fix for Android FF, not for normal user
This is a change for developers, and it is recommended to use Kiwi Browser if you want to use this extension on your Android device. Issues regarding Firefox for Android will not be accepted unless there is a PR for the fix.
This commit is contained in:
parent
c2dfbd5d2f
commit
384fa9fdc9
@ -72,13 +72,17 @@ chrome.runtime.onMessage.addListener(
|
||||
);
|
||||
} )()
|
||||
|
||||
chrome.browserAction.onClicked.addListener(function(tab) {
|
||||
chrome.windows.create({
|
||||
url: "popup.html",
|
||||
type: "popup",
|
||||
width: 820,
|
||||
height: 600
|
||||
});
|
||||
chrome.browserAction.onClicked.addListener(tab => {
|
||||
if(chrome.windows){
|
||||
chrome.windows.create({
|
||||
url: "popup.html",
|
||||
type: "popup",
|
||||
width: 820,
|
||||
height: 600
|
||||
});
|
||||
} else {
|
||||
chrome.tabs.create({url: 'popup.html'})
|
||||
}
|
||||
});
|
||||
|
||||
function createMenu(){
|
||||
|
Loading…
Reference in New Issue
Block a user