mirror of
https://github.com/gorhill/uBlock.git
synced 2026-03-11 09:04:36 +00:00
Cleanup empty redirect resources
parent
5a9506cce7
commit
bf71ac418c
1 changed files with 15 additions and 11 deletions
|
|
@ -588,20 +588,24 @@ They purpose is to mislead page to think that real files have been served.
|
|||
|
||||
### Available resources
|
||||
- Images
|
||||
- ~1x1-transparent.gif~ 1x1.gif `image/gif;base64` `$image` [↪](https://github.com/gorhill/uBlock/blob/a94df7f3b27080ae2dcb3b914ace39c0c294d2f6/src/web_accessible_resources/1x1.gif)
|
||||
- ~2x2-transparent.png~ 2x2.png `image/png;base64` `$image` [↪](https://github.com/gorhill/uBlock/blob/a94df7f3b27080ae2dcb3b914ace39c0c294d2f6/src/web_accessible_resources/2x2.png)
|
||||
- ~3x2-transparent.png~ 3x2.png `image/png;base64` `$image` [↪](https://github.com/gorhill/uBlock/blob/a94df7f3b27080ae2dcb3b914ace39c0c294d2f6/src/web_accessible_resources/3x2.png)
|
||||
- ~32x32-transparent.png~ 32x32.png `image/png;base64` `$image` [↪](https://github.com/gorhill/uBlock/blob/a94df7f3b27080ae2dcb3b914ace39c0c294d2f6/src/web_accessible_resources/32x32.png)
|
||||
- `1x1.gif` [↪](https://github.com/gorhill/uBlock/blob/a94df7f3b27080ae2dcb3b914ace39c0c294d2f6/src/web_accessible_resources/1x1.gif)
|
||||
- `2x2.png` [↪](https://github.com/gorhill/uBlock/blob/a94df7f3b27080ae2dcb3b914ace39c0c294d2f6/src/web_accessible_resources/2x2.png)
|
||||
- `3x2.png` [↪](https://github.com/gorhill/uBlock/blob/a94df7f3b27080ae2dcb3b914ace39c0c294d2f6/src/web_accessible_resources/3x2.png)
|
||||
- `32x32.png` [↪](https://github.com/gorhill/uBlock/blob/a94df7f3b27080ae2dcb3b914ace39c0c294d2f6/src/web_accessible_resources/32x32.png)
|
||||
- Source code
|
||||
- ~noopframe~ noop.html `text/html` `$subdocument` [↪](https://github.com/gorhill/uBlock/blob/a94df7f3b27080ae2dcb3b914ace39c0c294d2f6/src/web_accessible_resources/noop.html)
|
||||
- ~noopjs~ noop.js `application/javascript` `$script` [↪](https://github.com/gorhill/uBlock/blob/a94df7f3b27080ae2dcb3b914ace39c0c294d2f6/src/web_accessible_resources/noop.js)
|
||||
- ~nooptext~ noop.txt `text/plain` `$xmlhttprequest` [↪](https://github.com/gorhill/uBlock/blob/a94df7f3b27080ae2dcb3b914ace39c0c294d2f6/src/web_accessible_resources/noop.txt)
|
||||
- `noop.html` [↪](https://github.com/gorhill/uBlock/blob/a94df7f3b27080ae2dcb3b914ace39c0c294d2f6/src/web_accessible_resources/noop.html)
|
||||
- `noop.js` [↪](https://github.com/gorhill/uBlock/blob/a94df7f3b27080ae2dcb3b914ace39c0c294d2f6/src/web_accessible_resources/noop.js)
|
||||
- `noop.txt` [↪](https://github.com/gorhill/uBlock/blob/a94df7f3b27080ae2dcb3b914ace39c0c294d2f6/src/web_accessible_resources/noop.txt)
|
||||
- Media files
|
||||
- ~noopmp3-0.1s~ noop-0.1s.mp3 `audio/mp3;base64` `$media` [↪](https://github.com/gorhill/uBlock/blob/a94df7f3b27080ae2dcb3b914ace39c0c294d2f6/src/web_accessible_resources/noop-0.1s.mp3)
|
||||
- ~noopmp4-1s~ noop-1s.mp4 `video/mp4;base64` `$media` [↪](https://github.com/gorhill/uBlock/blob/a94df7f3b27080ae2dcb3b914ace39c0c294d2f6/src/web_accessible_resources/noop-1s.mp4)
|
||||
- `noop-0.1s.mp3` [↪](https://github.com/gorhill/uBlock/blob/a94df7f3b27080ae2dcb3b914ace39c0c294d2f6/src/web_accessible_resources/noop-0.1s.mp3)
|
||||
- `noop-1s.mp4` [↪](https://github.com/gorhill/uBlock/blob/a94df7f3b27080ae2dcb3b914ace39c0c294d2f6/src/web_accessible_resources/noop-1s.mp4)
|
||||
- Special purpose
|
||||
- reserved token `none` can be used to disable specific redirect filters. Starting with [1.31.0](https://github.com/gorhill/uBlock/commit/157cef6034a8ec926c1e59c7e77f0a1fcbef473c), you can also use exceptions and `badfilter` option.
|
||||
- `click2load.html` for embedded `<iframe>` elements. New in [1.31.0](https://github.com/gorhill/uBlock/commit/59169209850c54c31d94990f0c956281fe43eb03) (also [2e5d32e9](https://github.com/gorhill/uBlock/commit/2e5d32e96798dd55f3fae66d7091645ff7ad3784), [46d7f8a7](https://github.com/gorhill/uBlock/commit/46d7f8a70c937441545db9c53df2647081ee9d12)). Frames redirected to this resource will not be collapsed, instead, widget with clickable and selectable frame source link will be displayed. Clicking the icon next to source link will frame content in new tab. Clicking the widget content will unblock and load original frame content.
|
||||
- `none`
|
||||
|
||||
reserved token, can be used to disable specific redirect filters. Starting with [1.31.0](https://github.com/gorhill/uBlock/commit/157cef6034a8ec926c1e59c7e77f0a1fcbef473c), classic exception filters and `badfilter` option can be used.
|
||||
- `click2load.html`
|
||||
|
||||
for embedded `<iframe>` elements. New in [1.31.0](https://github.com/gorhill/uBlock/commit/59169209850c54c31d94990f0c956281fe43eb03) (also [2e5d32e9](https://github.com/gorhill/uBlock/commit/2e5d32e96798dd55f3fae66d7091645ff7ad3784), [46d7f8a7](https://github.com/gorhill/uBlock/commit/46d7f8a70c937441545db9c53df2647081ee9d12)). Frames redirected to this resource will not be collapsed, instead, widget with clickable and selectable frame source link will be displayed. Clicking the icon next to source link will open frame content in new tab. Clicking the widget content will unblock and load original frame content.
|
||||
|
||||
Example rule:
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue