diff options
author | siikamiika <siikamiika@users.noreply.github.com> | 2020-02-09 21:28:40 +0200 |
---|---|---|
committer | siikamiika <siikamiika@users.noreply.github.com> | 2020-02-09 21:51:33 +0200 |
commit | 4e59c2d55684b5a0b1d9edc580dd4c43bfc46211 (patch) | |
tree | ac01daa5ab851b1ed8edced7a487d6fde5d60019 | |
parent | 1797edc7d88f63872c3a593179d9dd5c7b3c0b47 (diff) |
hide native popup option for firefox mobile
-rw-r--r-- | ext/bg/css/settings.css | 14 | ||||
-rw-r--r-- | ext/bg/settings.html | 2 |
2 files changed, 15 insertions, 1 deletions
diff --git a/ext/bg/css/settings.css b/ext/bg/css/settings.css index 815a88fa..d686e8f8 100644 --- a/ext/bg/css/settings.css +++ b/ext/bg/css/settings.css @@ -222,6 +222,20 @@ html:root[data-operating-system=openbsd] [data-show-for-operating-system~=openbs display: initial; } +html:root[data-browser=edge] [data-hide-for-browser~=edge], +html:root[data-browser=chrome] [data-hide-for-browser~=chrome], +html:root[data-browser=firefox] [data-hide-for-browser~=firefox], +html:root[data-browser=firefox-mobile] [data-hide-for-browser~=firefox-mobile], +html:root[data-operating-system=mac] [data-hide-for-operating-system~=mac], +html:root[data-operating-system=win] [data-hide-for-operating-system~=win], +html:root[data-operating-system=android] [data-hide-for-operating-system~=android], +html:root[data-operating-system=cros] [data-hide-for-operating-system~=cros], +html:root[data-operating-system=linux] [data-hide-for-operating-system~=linux], +html:root[data-operating-system=openbsd] [data-hide-for-operating-system~=openbsd] { + display: none; +} + + @media screen and (max-width: 740px) { .col-xs-6 { float: none; diff --git a/ext/bg/settings.html b/ext/bg/settings.html index b0fcec2b..57616873 100644 --- a/ext/bg/settings.html +++ b/ext/bg/settings.html @@ -134,7 +134,7 @@ <label><input type="checkbox" id="enable"> Enable content scanning</label> </div> - <div class="checkbox"> + <div class="checkbox" data-hide-for-browser="firefox-mobile"> <label><input type="checkbox" id="enable-clipboard-popups"> Enable native popups when copying Japanese text</label> </div> |