Skip to content

Commit cdf62fe

Browse files
committed
Add a tooltip for the cleaning that points to the wiki
1 parent 4cb6dab commit cdf62fe

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed

addon/pages/options.css

+6
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,7 @@ dd {
261261
}
262262

263263
.help .tooltiptext {
264+
font-size: .8em;
264265
visibility: hidden;
265266
position: absolute;
266267
z-index: 1;
@@ -276,6 +277,11 @@ dd {
276277

277278
text-align: justify;
278279
}
280+
.help .tooltiptext.bottom {
281+
top: 50%;
282+
bottom: auto;
283+
}
284+
279285
.help:hover .tooltiptext {
280286
visibility: visible;
281287
}

addon/pages/options.html

+13-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,19 @@
88

99
<body>
1010
<fieldset id="rule_editor">
11-
<legend i18n_text="Link cleaning rules"></legend>
11+
<legend i18n_text="Link cleaning rules">
12+
<span class="help">
13+
<span class="tooltip"></span>
14+
<span class="tooltiptext bottom" i18n_html="
15+
In this section, you can find and edit all the rules on which CleanLinks relies to whitelist embedded
16+
URLs and clean other tracking parameters.
17+
You can read more on &lt;a href=&quot;https://github.com/Cimbali/CleanLinks/wiki&quot;&gt;the
18+
CleanLinks wiki&lt;/a&gt;.
19+
">
20+
</span>
21+
</span>
22+
</legend>
23+
1224

1325
<fieldset class="example">
1426
<input type="checkbox" id="show_URL_legend" class="toggle noautosave" />

0 commit comments

Comments
 (0)