Fork
0
代码
介绍
代码
Issues
Pull Requests
流水线
Actions
讨论
Wiki
项目成员
分析
项目设置
Fork
0
d92b6f315fa9d2254802f7f50ba8ddfc03df3b78
uBlock
/
src
下载当前目录
R
Raymond Hill
Improve
json-edit
-related scriptlets
98d3e950
创建于
2月24日
历史提交
文件
最后提交记录
最后更新时间
_locales
Import translaetion work from https://crowdin.com/project/ublock
3 个月前
css
Improve rendering with high-contrast theme Related issue: https://github.com/uBlockOrigin/uBlock-issues/issues/3385
8 个月前
img
Add a console pane to the logger The console pane will report logging information reported by scriptlets. Related feedback: https://github.com/uBlockOrigin/uBlock-issues/discussions/3096#discussioncomment-8748932 Plus other changes.
2 年前
js
Improve `json-edit`-related scriptlets
2 个月前
lib
Redesign cache storage In uBO, the "cache storage" is used to save resources which can be safely discarded, though at the cost of having to fetch or recompute them again. Extension storage (browser.storage.local) is now always used as cache storage backend. This has always been the default for Chromium-based browsers. For Firefox-based browsers, IndexedDB was used as backend for cache storage, with fallback to extension storage when using Firefox in private mode by default. Extension storage is reliable since it works in all contexts, though it may not be the most performant one. To speed-up loading of resources from extension storage, uBO will now make use of Cache API storage, which will mirror content of key assets saved to extension storage. Typically loading resources from Cache API is faster than loading the same resources from the extension storage. Only resources which must be loaded in memory as fast as possible will make use of the Cache API storage layered on top of the extension storage. Compiled filter lists and memory snapshot of filtering engines (aka "selfies") will be mirrored to the Cache API storage, since these must be loaded into memory as fast as possible, and reloading filter lists from their compiled counterpart is a common operation. This new design makes it now seamless to work in permanent private mode for Firefox-based browsers, since extension storage now always contains cache-related assets. Support for IndexedDB is removed for the time being, except to support migration of cached assets the first time uBO runs with the new cache storage design. In order to easily support all choices of storage, a new serializer has been introduced, which is capable of serializing/deserializing structure-cloneable data to/from a JS string. Because of this new serializer, JS data structures can be stored directly from their native representation, and deserialized directly to their native representation from uBO's point of view, since the serialization occurs (if needed) only at the storage interface level. This new serializer simplifies many code paths where data structures such as Set, Map, TypedArray, RegExp, etc. had to be converted in a disparate manner to be able to persist them to extension storage. The new serializer supports workers and LZ4 compression. These can be configured through advanced settings. With this new layered design, it's possible to introduce more storage layers if measured as beneficial (i.e. maybe browser.storage.session) References: - https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/storage/local - https://developer.mozilla.org/en-US/docs/Web/API/Cache - https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API/Structured_clone_algorithm
2 年前
web_accessible_resources
Add `adthrive` shim
4 个月前
1p-filters.html
Use `color-scheme` `meta` tag as suggested Related issue: https://github.com/uBlockOrigin/uBlock-issues/issues/3631
1 年前
3p-filters.html
Use `color-scheme` `meta` tag as suggested Related issue: https://github.com/uBlockOrigin/uBlock-issues/issues/3631
1 年前
about.html
Use `color-scheme` `meta` tag as suggested Related issue: https://github.com/uBlockOrigin/uBlock-issues/issues/3631
1 年前
advanced-settings.html
Remove obsolete "shortcut" token from `link rel="icon"` Related issue: https://github.com/uBlockOrigin/uBlock-issues/issues/3634
11 个月前
asset-viewer.html
Remove obsolete "shortcut" token from `link rel="icon"` Related issue: https://github.com/uBlockOrigin/uBlock-issues/issues/3634
11 个月前
background.html
[mv3] Add ability to enable/disable filter lists
3 年前
blank.html
Use custom blank page for embedded iframe in dashboard Related issue: https://github.com/uBlockOrigin/uBlock-issues/issues/3631#issuecomment-2870424577
1 年前
cloud-ui.html
Work toward bringing dark theme closer to a stable release Related issue: - https://github.com/uBlockOrigin/uBlock-issues/issues/401
4 年前
code-viewer.html
Use `color-scheme` `meta` tag as suggested Related issue: https://github.com/uBlockOrigin/uBlock-issues/issues/3631
1 年前
dashboard.html
Remove obsolete "shortcut" token from `link rel="icon"` Related issue: https://github.com/uBlockOrigin/uBlock-issues/issues/3634
11 个月前
devtools.html
Use `color-scheme` `meta` tag as suggested Related issue: https://github.com/uBlockOrigin/uBlock-issues/issues/3631
1 年前
document-blocked.html
Fix i18n issue in strict-block page
4 个月前
dyna-rules.html
Use `color-scheme` `meta` tag as suggested Related issue: https://github.com/uBlockOrigin/uBlock-issues/issues/3631
1 年前
logger-ui.html
Remove obsolete "shortcut" token from `link rel="icon"` Related issue: https://github.com/uBlockOrigin/uBlock-issues/issues/3634
11 个月前
no-dashboard.html
Use `color-scheme` `meta` tag as suggested Related issue: https://github.com/uBlockOrigin/uBlock-issues/issues/3631
1 年前
popup-fenix.html
Remove obsolete "shortcut" token from `link rel="icon"` Related issue: https://github.com/uBlockOrigin/uBlock-issues/issues/3634
11 个月前
settings.html
Use `color-scheme` `meta` tag as suggested Related issue: https://github.com/uBlockOrigin/uBlock-issues/issues/3631
1 年前
support.html
Remove obsolete "shortcut" token from `link rel="icon"` Related issue: https://github.com/uBlockOrigin/uBlock-issues/issues/3634
11 个月前
whitelist.html
Use `color-scheme` `meta` tag as suggested Related issue: https://github.com/uBlockOrigin/uBlock-issues/issues/3631
1 年前