1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-06-29 01:03:32 +02:00

Compare commits

...

6 Commits

Author SHA1 Message Date
Dave Vandyke
328f648dd9
Merge 7d99559a30 into 7be7e0b870 2024-06-19 12:04:43 -04:00
Raymond Hill
7be7e0b870
Make Firefox dev build auto-update 2024-06-19 10:16:19 -04:00
Raymond Hill
cc860a67f8
New revision for dev build 2024-06-19 08:52:07 -04:00
Raymond Hill
297167755f
Update changelog 2024-06-19 08:51:46 -04:00
Raymond Hill
b4d8750f44
Improve set-cookie scriptlet
Related feedback:
https://github.com/uBlockOrigin/uBlock-issues/issues/3178#issuecomment-2178502856
2024-06-19 08:48:54 -04:00
Dave Vandyke
7d99559a30 Add AdRequest.omidAccessModeRules property to google-ima shim
Add the missing AdRequest.omidAccessModeRules[1] property, to avoid
breaking websites that access it.

1 - https://developers.google.com/interactive-media-ads/docs/sdks/html5/client-side/reference/js/google.ima.AdsRequest#omidAccessModeRules
2023-11-28 13:53:14 +00:00
5 changed files with 10 additions and 3 deletions

View File

@ -1,3 +1,4 @@
- [Improve `set-cookie` scriptlet](https://github.com/gorhill/uBlock/commit/b4d8750f44)
- [Improve `trusted-replace-node-text` scriptlet](https://github.com/gorhill/uBlock/commit/cb0f65e035)
- [Improve `trusted-replace-[fetch|xhr]-response` scriptlets](https://github.com/gorhill/uBlock/commit/9072772f61)
- [Improve `prevent-addEventListener` scriptlet](https://github.com/gorhill/uBlock/commit/91ee5bdeae)

View File

@ -1009,6 +1009,8 @@ function setCookieFn(
cookieParts.push(`; domain=${options.domain}`);
}
cookieParts.push('; Secure');
} else if ( /^__(Host|Secure)-/.test(name) ) {
cookieParts.push('; Secure');
}
try {

View File

@ -3,9 +3,9 @@
"uBlock0@raymondhill.net": {
"updates": [
{
"version": "1.58.1.7",
"version": "1.58.1.8",
"browser_specific_settings": { "gecko": { "strict_min_version": "78.0" } },
"update_link": "https://github.com/gorhill/uBlock/releases/download/1.58.1b7/uBlock0_1.58.1b7.firefox.signed.xpi"
"update_link": "https://github.com/gorhill/uBlock/releases/download/1.58.1b8/uBlock0_1.58.1b8.firefox.signed.xpi"
}
]
}

2
dist/version vendored
View File

@ -1 +1 @@
1.58.1.7
1.58.1.8

View File

@ -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() {}