limit to Chrome
This commit is contained in:
parent
381a1483d0
commit
73fe21b908
|
@ -184,7 +184,8 @@ const styleMan = (() => {
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
const {exposeStyleName} = prefs.__values;
|
// TODO: enable in FF when it supports sourceURL comment in style elements (also options.html)
|
||||||
|
const {exposeStyleName} = CHROME && prefs.__values;
|
||||||
const sender = CHROME && this && this.sender || {};
|
const sender = CHROME && this && this.sender || {};
|
||||||
if (sender.frameId === 0) {
|
if (sender.frameId === 0) {
|
||||||
/* Chrome hides text frament from location.href of the page e.g. #:~:text=foo
|
/* Chrome hides text frament from location.href of the page e.g. #:~:text=foo
|
||||||
|
|
|
@ -269,7 +269,7 @@
|
||||||
<span></span>
|
<span></span>
|
||||||
</span>
|
</span>
|
||||||
</label>
|
</label>
|
||||||
<label>
|
<label class="chromium-only">
|
||||||
<span i18n-text="optionsAdvancedExposeStyleName">
|
<span i18n-text="optionsAdvancedExposeStyleName">
|
||||||
<a i18n-title="optionsAdvancedExposeStyleNameNote"
|
<a i18n-title="optionsAdvancedExposeStyleNameNote"
|
||||||
data-cmd="note" class="svg-inline-wrapper" tabindex="0">
|
data-cmd="note" class="svg-inline-wrapper" tabindex="0">
|
||||||
|
|
|
@ -105,6 +105,11 @@ a:hover .svg-icon,
|
||||||
.chromium-only.chrome-no-popup-border {
|
.chromium-only.chrome-no-popup-border {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
label.chromium-only > :first-child::after {
|
||||||
|
content: '(Chrome)';
|
||||||
|
color: #888;
|
||||||
|
margin-left: .5ex;
|
||||||
|
}
|
||||||
|
|
||||||
.block {
|
.block {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
@ -228,7 +233,7 @@ input[type="color"] {
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
[data-cmd="note"] {
|
[data-cmd="note"] {
|
||||||
padding: .5em 1em .5em 0;
|
padding: .5em 0 .5em 0;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
.update-in-progress [data-cmd="check-updates"] {
|
.update-in-progress [data-cmd="check-updates"] {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user