mirror of
https://github.com/gorhill/uBlock.git
synced 2026-03-11 09:04:36 +00:00
Compare commits
10 commits
700f368772
...
d53d6ead13
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d53d6ead13 | ||
|
|
738f93da28 | ||
|
|
09554384ef | ||
|
|
20a570ebe8 | ||
|
|
51ef43c0de | ||
|
|
2ccb01973e | ||
|
|
7daa45e49f | ||
|
|
fa87e6d830 | ||
|
|
b7441bb9c0 | ||
|
|
7d99559a30 |
11 changed files with 30 additions and 21 deletions
4
dist/firefox/updates.json
vendored
4
dist/firefox/updates.json
vendored
|
|
@ -3,9 +3,9 @@
|
|||
"uBlock0@raymondhill.net": {
|
||||
"updates": [
|
||||
{
|
||||
"version": "1.61.3.5",
|
||||
"version": "1.61.3.6",
|
||||
"browser_specific_settings": { "gecko": { "strict_min_version": "78.0" } },
|
||||
"update_link": "https://github.com/gorhill/uBlock/releases/download/1.61.3b5/uBlock0_1.61.3b5.firefox.signed.xpi"
|
||||
"update_link": "https://github.com/gorhill/uBlock/releases/download/1.61.3b6/uBlock0_1.61.3b6.firefox.signed.xpi"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
|||
2
dist/version
vendored
2
dist/version
vendored
|
|
@ -1 +1 @@
|
|||
1.61.3.5
|
||||
1.61.3.6
|
||||
|
|
@ -256,7 +256,7 @@
|
|||
"description": "Text informing about what is causing the page to be blocked"
|
||||
},
|
||||
"strictblockRedirectSentence1": {
|
||||
"message": "The blocked page wants to redirect to another site. If you choose to proceed, you will navigate directly to: {{url}}",
|
||||
"message": "الصفحة المحظورة تريد إعادة التوجيه إلى موقع آخر. إذا اخترت المتابعة، فسوف تنتقل مباشرة إلى: {{url}}",
|
||||
"description": "Text warning about an incoming redirect"
|
||||
},
|
||||
"strictblockNoParamsPrompt": {
|
||||
|
|
|
|||
|
|
@ -232,11 +232,11 @@
|
|||
"description": "Label for a checkbox in the options page"
|
||||
},
|
||||
"enableStrictBlockLabel": {
|
||||
"message": "Strikte blokkearring ynskeakelje",
|
||||
"message": "Strange blokkearring ynskeakelje",
|
||||
"description": "Label for a checkbox in the options page"
|
||||
},
|
||||
"enableStrictBlockLegend": {
|
||||
"message": "Navigaasje nei in potinsjeel net-winske websites sil blokkearre wurde, en jo krije in opsje om troch te gean.",
|
||||
"message": "Navigaasje nei potinsjeel net-winske websites wurdt blokkearre, en jo krije de opsje om troch te gean.",
|
||||
"description": "Label for a checkbox in the options page"
|
||||
},
|
||||
"findListsPlaceholder": {
|
||||
|
|
@ -248,15 +248,15 @@
|
|||
"description": "Webpage title for the strict-blocked page"
|
||||
},
|
||||
"strictblockSentence1": {
|
||||
"message": "uBO Lite hat opkeard dat de folgjende side laden wurd:",
|
||||
"message": "uBO Lite hat it laden fan de folgjende side opkeard:",
|
||||
"description": "Sentence used in the strict-blocked page"
|
||||
},
|
||||
"strictblockReasonSentence1": {
|
||||
"message": "The page was blocked because of a matching filter in {{listname}}.",
|
||||
"message": "De side is blokkearre fanwegen in oerienkommend filter yn {{listname}}.",
|
||||
"description": "Text informing about what is causing the page to be blocked"
|
||||
},
|
||||
"strictblockRedirectSentence1": {
|
||||
"message": "The blocked page wants to redirect to another site. If you choose to proceed, you will navigate directly to: {{url}}",
|
||||
"message": "De blokkearre side wol jo omliede nei in oare website. As jo trochgean, navigearje jo streekrjocht nei: {{url}}",
|
||||
"description": "Text warning about an incoming redirect"
|
||||
},
|
||||
"strictblockNoParamsPrompt": {
|
||||
|
|
@ -268,7 +268,7 @@
|
|||
"description": "A button to go back to the previous webpage"
|
||||
},
|
||||
"strictblockClose": {
|
||||
"message": "Slút dit finster",
|
||||
"message": "Dit finster slute",
|
||||
"description": "A button to close the current tab"
|
||||
},
|
||||
"strictblockDontWarn": {
|
||||
|
|
|
|||
|
|
@ -236,7 +236,7 @@
|
|||
"description": "Label for a checkbox in the options page"
|
||||
},
|
||||
"enableStrictBlockLegend": {
|
||||
"message": "Navigatie naar mogelijk ongewenste websites wordt geblokkeerd, en nu krijgt de mogelijkheid om door te gaan.",
|
||||
"message": "Navigatie naar mogelijk ongewenste websites wordt geblokkeerd, en u krijgt de mogelijkheid om door te gaan.",
|
||||
"description": "Label for a checkbox in the options page"
|
||||
},
|
||||
"findListsPlaceholder": {
|
||||
|
|
|
|||
|
|
@ -30,8 +30,9 @@ body[data-forbid~="filteringMode"] section[data-pane="settings"] > div:has(> h3[
|
|||
display: none;
|
||||
}
|
||||
|
||||
#showBlockedCount:has(input[type="checkbox"][disabled]) {
|
||||
opacity: 0.5;
|
||||
label:has(input[type="checkbox"][disabled]),
|
||||
label:has(input[type="checkbox"][disabled]) + legend {
|
||||
filter: var(--checkbox-disabled-filter);
|
||||
}
|
||||
|
||||
#defaultFilteringMode {
|
||||
|
|
|
|||
|
|
@ -31,8 +31,6 @@
|
|||
<p><label id="autoReload" data-i18n="autoReloadLabel"><span class="input checkbox"><input type="checkbox"><svg viewBox="0 0 24 24"><path d="M1.73,12.91 8.1,19.28 22.79,4.59"/></svg></span>_</label>
|
||||
</p>
|
||||
<p><label id="showBlockedCount" data-i18n="showBlockedCountLabel"><span class="input checkbox"><input type="checkbox"><svg viewBox="0 0 24 24"><path d="M1.73,12.91 8.1,19.28 22.79,4.59"/></svg></span>_</label>
|
||||
<p><label id="strictBlockMode" data-i18n="enableStrictBlockLabel"><span class="input checkbox"><input type="checkbox"><svg viewBox="0 0 24 24"><path d="M1.73,12.91 8.1,19.28 22.79,4.59"/></svg></span>_</label><legend data-i18n="enableStrictBlockLegend"></legend>
|
||||
<p id="developerMode" hidden><label><span class="input checkbox"><input type="checkbox"><svg viewBox="0 0 24 24"><path d="M1.73,12.91 8.1,19.28 22.79,4.59"/></svg></span>Developer mode</label>
|
||||
</div>
|
||||
|
||||
<div class="firstRun">
|
||||
|
|
@ -90,6 +88,8 @@
|
|||
<div data-i18n="completeFilteringModeDescription"></div>
|
||||
</label>
|
||||
</div>
|
||||
<p><label id="strictBlockMode" data-i18n="enableStrictBlockLabel"><span class="input checkbox"><input type="checkbox"><svg viewBox="0 0 24 24"><path d="M1.73,12.91 8.1,19.28 22.79,4.59"/></svg></span>_</label><legend data-i18n="enableStrictBlockLegend"></legend>
|
||||
<p id="developerMode" hidden><label><span class="input checkbox"><input type="checkbox"><svg viewBox="0 0 24 24"><path d="M1.73,12.91 8.1,19.28 22.79,4.59"/></svg></span>Developer mode</label>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
|
|
|
|||
|
|
@ -67,7 +67,12 @@ function renderWidgets() {
|
|||
}
|
||||
}
|
||||
|
||||
qs$('#strictBlockMode input[type="checkbox"]').checked = cachedRulesetData.strictBlockMode;
|
||||
{
|
||||
const input = qs$('#strictBlockMode input[type="checkbox"]');
|
||||
const canStrictBlock = cachedRulesetData.defaultFilteringMode > 1;
|
||||
input.checked = canStrictBlock && cachedRulesetData.strictBlockMode;
|
||||
dom.attr(input, 'disabled', canStrictBlock ? null : '');
|
||||
}
|
||||
|
||||
{
|
||||
dom.prop('#developerMode input[type="checkbox"]', 'checked',
|
||||
|
|
|
|||
|
|
@ -1288,11 +1288,11 @@ async function main() {
|
|||
|
||||
// Handpicked rulesets from abroad
|
||||
await rulesetFromURLs({
|
||||
id: 'nrd.30day.phishing',
|
||||
name: '30-day Phishing Domain List',
|
||||
id: 'urlhaus.full',
|
||||
name: 'Malicious URL Blocklist',
|
||||
enabled: true,
|
||||
urls: [ 'https://raw.githubusercontent.com/xRuffKez/NRD/refs/heads/main/lists/30-day_phishing/domains-only/nrd-phishing-30day.txt' ],
|
||||
homeURL: 'https://github.com/xRuffKez/NRD?tab=readme-ov-file',
|
||||
urls: [ 'https://malware-filter.gitlab.io/malware-filter/urlhaus-filter-domains.txt' ],
|
||||
homeURL: 'https://gitlab.com/malware-filter/urlhaus-filter',
|
||||
});
|
||||
|
||||
await rulesetFromURLs({
|
||||
|
|
|
|||
|
|
@ -61,7 +61,6 @@ export function validateConstantFn(trusted, raw, extraArgs = {}) {
|
|||
} else if ( raw.startsWith('{') && raw.endsWith('}') ) {
|
||||
try { value = safe.JSON_parse(raw).value; } catch(ex) { return; }
|
||||
}
|
||||
return raw;
|
||||
} else {
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -15,6 +15,7 @@
|
|||
* - Corrected typo in `UniversalAdIdInfo.getAdIdValue()` method name
|
||||
* - Corrected dispatch of LOAD event when preloading is enabled
|
||||
* - Corrected dispatch of CONTENT_PAUSE/RESUME_REQUESTED events
|
||||
* - Added missing `AdsRequest.omidAccessModeRules` property
|
||||
*
|
||||
* Related issue:
|
||||
* - https://github.com/uBlockOrigin/uBlock-issues/issues/2158
|
||||
|
|
@ -488,6 +489,9 @@ if (!window.google || !window.google.ima || !window.google.ima.VERSION) {
|
|||
class AdsRenderingSettings {}
|
||||
|
||||
class AdsRequest {
|
||||
constructor() {
|
||||
this.omidAccessModeRules = {};
|
||||
}
|
||||
setAdWillAutoPlay() {}
|
||||
setAdWillPlayMuted() {}
|
||||
setContinuousPlayback() {}
|
||||
|
|
|
|||
Loading…
Reference in a new issue