mirror of
https://github.com/kkapsner/CanvasBlocker
synced 2024-12-22 12:50:36 +01:00
parent
02dfa8bd1b
commit
6ea89b6318
@ -16,6 +16,10 @@
|
|||||||
const settingDefinitions = require("./settingDefinitions");
|
const settingDefinitions = require("./settingDefinitions");
|
||||||
|
|
||||||
scope.isMobile = async function isMobile(){
|
scope.isMobile = async function isMobile(){
|
||||||
|
const platformInfo = await browser.runtime.getPlatformInfo();
|
||||||
|
if (platformInfo && platformInfo.os === "android"){
|
||||||
|
return true;
|
||||||
|
}
|
||||||
// todo: proper mobile check (e.g. over browser.runtime.getBrowserInfo()) and no feature check
|
// todo: proper mobile check (e.g. over browser.runtime.getBrowserInfo()) and no feature check
|
||||||
return !browser.pageAction ||
|
return !browser.pageAction ||
|
||||||
!browser.pageAction.show ||
|
!browser.pageAction.show ||
|
||||||
|
@ -8,6 +8,7 @@ Version 1.10:
|
|||||||
fixes:
|
fixes:
|
||||||
- always protect about:blank
|
- always protect about:blank
|
||||||
- persistent rng not working in Firefox for Android
|
- persistent rng not working in Firefox for Android
|
||||||
|
- mobile default settings were not used in Firefox for Android
|
||||||
|
|
||||||
known issues:
|
known issues:
|
||||||
- if a data URL is blocked the page action button does not appear
|
- if a data URL is blocked the page action button does not appear
|
||||||
|
Loading…
x
Reference in New Issue
Block a user