mirror of https://github.com/gorhill/uBlock.git
Revert "more cases re #2529". Reason: breaks links in dashboard on Firefox.
This reverts commit 3c0022d73a
.
This commit is contained in:
parent
92b031367b
commit
9a3288a166
|
@ -113,7 +113,7 @@ self.uBlockDashboard.dateNowToSensibleString = function() {
|
||||||
/******************************************************************************/
|
/******************************************************************************/
|
||||||
|
|
||||||
// Open links in the proper window
|
// Open links in the proper window
|
||||||
uDom('a').attr('target', '_blank').attr('rel', 'noopener noreferrer');
|
uDom('a').attr('target', '_blank');
|
||||||
uDom('a[href*="dashboard.html"]').attr('target', '_parent');
|
uDom('a[href*="dashboard.html"]').attr('target', '_parent');
|
||||||
uDom('.whatisthis').on('click', function() {
|
uDom('.whatisthis').on('click', function() {
|
||||||
uDom(this)
|
uDom(this)
|
||||||
|
|
|
@ -73,7 +73,6 @@ var details = {};
|
||||||
node.textContent = entry.title;
|
node.textContent = entry.title;
|
||||||
node.setAttribute('href', url);
|
node.setAttribute('href', url);
|
||||||
node.setAttribute('target', '_blank');
|
node.setAttribute('target', '_blank');
|
||||||
node.setAttribute('rel', 'noopener noreferrer');
|
|
||||||
} else {
|
} else {
|
||||||
node = document.createTextNode(entry.title);
|
node = document.createTextNode(entry.title);
|
||||||
}
|
}
|
||||||
|
|
|
@ -21,8 +21,8 @@
|
||||||
<li><input id="advanced-user-enabled" type="checkbox" data-setting-name="advancedUserEnabled" data-setting-type="bool"><label data-i18n="settingsAdvancedUserPrompt" for="advanced-user-enabled"></label> <a class="fa info" href="advanced-settings.html" title="settingsAdvancedUserSettings"></a>
|
<li><input id="advanced-user-enabled" type="checkbox" data-setting-name="advancedUserEnabled" data-setting-type="bool"><label data-i18n="settingsAdvancedUserPrompt" for="advanced-user-enabled"></label> <a class="fa info" href="advanced-settings.html" title="settingsAdvancedUserSettings"></a>
|
||||||
<li class="subgroup"><span data-i18n="3pGroupPrivacy"></span><ul>
|
<li class="subgroup"><span data-i18n="3pGroupPrivacy"></span><ul>
|
||||||
<li><input id="prefetching-disabled" type="checkbox" data-setting-name="prefetchingDisabled" data-setting-type="bool"><label data-i18n="settingsPrefetchingDisabledPrompt" for="prefetching-disabled"></label> <a class="fa info" href="https://wikipedia.org/wiki/Link_prefetching#Issues_and_criticisms" target="_blank" rel="noopener noreferrer"></a>
|
<li><input id="prefetching-disabled" type="checkbox" data-setting-name="prefetchingDisabled" data-setting-type="bool"><label data-i18n="settingsPrefetchingDisabledPrompt" for="prefetching-disabled"></label> <a class="fa info" href="https://wikipedia.org/wiki/Link_prefetching#Issues_and_criticisms" target="_blank" rel="noopener noreferrer"></a>
|
||||||
<li><input id="hyperlink-auditing-disabled" type="checkbox" data-setting-name="hyperlinkAuditingDisabled" data-setting-type="bool"><label data-i18n="settingsHyperlinkAuditingDisabledPrompt" for="hyperlink-auditing-disabled"></label> <a class="fa info important" href="https://github.com/gorhill/uBlock/wiki/Disable-hyperlink-auditing-beacon" target="_blank" rel="noopener noreferrer"></a>
|
<li><input id="hyperlink-auditing-disabled" type="checkbox" data-setting-name="hyperlinkAuditingDisabled" data-setting-type="bool"><label data-i18n="settingsHyperlinkAuditingDisabledPrompt" for="hyperlink-auditing-disabled"></label> <a class="fa info important" href="https://github.com/gorhill/uBlock/wiki/Disable-hyperlink-auditing-beacon" target="_blank"></a>
|
||||||
<li><input id="webrtc-ipaddress-hidden" type="checkbox" data-setting-name="webrtcIPAddressHidden" data-setting-type="bool"><label data-i18n="settingsWebRTCIPAddressHiddenPrompt" for="webrtc-ipaddress-hidden"></label> <a class="fa info important" href="https://github.com/gorhill/uBlock/wiki/Prevent-WebRTC-from-leaking-local-IP-address" target="_blank" rel="noopener noreferrer"></a>
|
<li><input id="webrtc-ipaddress-hidden" type="checkbox" data-setting-name="webrtcIPAddressHidden" data-setting-type="bool"><label data-i18n="settingsWebRTCIPAddressHiddenPrompt" for="webrtc-ipaddress-hidden"></label> <a class="fa info important" href="https://github.com/gorhill/uBlock/wiki/Prevent-WebRTC-from-leaking-local-IP-address" target="_blank"></a>
|
||||||
</ul>
|
</ul>
|
||||||
<li class="subgroup"><span data-i18n="settingPerSiteSwitchGroup"></span><ul>
|
<li class="subgroup"><span data-i18n="settingPerSiteSwitchGroup"></span><ul>
|
||||||
<li><label class="synopsis"><span data-i18n="settingPerSiteSwitchGroupSynopsis"></span> <a class="fa info" href="https://github.com/gorhill/uBlock/wiki/Per-site-switches" target="_blank" rel="noopener noreferrer"></a></label>
|
<li><label class="synopsis"><span data-i18n="settingPerSiteSwitchGroupSynopsis"></span> <a class="fa info" href="https://github.com/gorhill/uBlock/wiki/Per-site-switches" target="_blank" rel="noopener noreferrer"></a></label>
|
||||||
|
|
Loading…
Reference in New Issue