CARVIEW |
Select Language
HTTP/2 200
date: Thu, 31 Jul 2025 01:54:20 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
x-repository-download: git clone https://github.com/gorhill/uBlock.git
etag: W/"ff31289549073569162dbc302bafc5f7"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com wss://alive-staging.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=3HWD%2BwbyPQbWFVBuiGhBWK8eTH%2B2FW8f%2BMrXaOcav1x5Vl1eGxpoOS%2FGn8aLfGHoUjSJIq34gVYAD0uQkaxAoKezj7%2FkxEM0u5GmniZ6y289OTbmUcRVwl2JWU2GGPJ%2FIJOiKpCCiJex1M%2FwI0Iml%2BYgjHLPiH48qhFL909QhdMZFs8UCuHMMOZX0zQCyCN%2FXJykRIUIcha9%2Fh3gtize59YNSdpJUImm06%2BIPote8BKhCGju1z2V44UeJxC%2BcuNbauL6h8%2F45gAsYNStdr6aAQ%3D%3D--hvaABueMQdpY68UA--7fJPiF1niIW9qf3l7aYOaw%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1240045958.1753926859; Path=/; Domain=github.com; Expires=Fri, 31 Jul 2026 01:54:19 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Fri, 31 Jul 2026 01:54:19 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: B0C0:1E01C6:147166:1EFC6A:688ACCCB
Fine tune hostname uncloaking through CNAME-lookup · gorhill/uBlock@a16e416 · GitHub
Copy file name to clipboardExpand all lines: platform/chromium/vapi-background.js
Copy file name to clipboardExpand all lines: platform/firefox/vapi-webrequest.js
Copy file name to clipboardExpand all lines: src/js/filtering-context.js
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Commit a16e416
committed
Fine tune hostname uncloaking through CNAME-lookup
Related issue:
- uBlockOrigin/uBlock-issues#780
Related commit:
- 3a564c199260
This adds two new advanced settings:
- cnameIgnoreRootDocument
- Default to `true`
- Tells uBO to skip CNAME-lookup for root document.
- cnameReplayFullURL
- Default to `false`
- Tells uBO whether to replay the whole URL or just
the origin part of it.
Replaying only the origin part is meant to lower
undue breakage and improve performance by avoiding
repeating the pattern-matching of the whole URL --
which pattern-matching was most likely already
accomplished with the original request.
This commit is meant to explore enabling CNAME-lookup
by default for the next stable release while:
- Eliminating a development burden by removing the
need to create a new filtering syntax to deal with
undesirable CNAME-cloaked hostnames
- Eliminating a filter list maintainer burden by
removing the need to find/deal with all base
domains which engage in undesirable CNAME-cloaked
hostnames
The hope is that the approach implemented in this
commit should require at most a few unbreak rules
with no further need for special filtering syntax
or filter list maintance efforts.1 parent a817c80 commit a16e416Copy full SHA for a16e416
File tree
Expand file treeCollapse file tree
9 files changed
+102
-39
lines changedFilter options
- platform
- chromium
- firefox
- src
- css
- js
Expand file treeCollapse file tree
9 files changed
+102
-39
lines changedplatform/chromium/vapi-background.js
Copy file name to clipboardExpand all lines: platform/chromium/vapi-background.js+19-8Lines changed: 19 additions & 8 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1259 | 1259 |
| |
1260 | 1260 |
| |
1261 | 1261 |
| |
| 1262 | + | |
| 1263 | + | |
| 1264 | + | |
| 1265 | + | |
1262 | 1266 |
| |
1263 | 1267 |
| |
1264 | 1268 |
| |
| 1269 | + | |
| 1270 | + | |
| 1271 | + | |
| 1272 | + | |
| 1273 | + | |
| 1274 | + | |
| 1275 | + | |
| 1276 | + | |
1265 | 1277 |
| |
1266 |
| - | |
1267 |
| - | |
1268 |
| - | |
1269 |
| - | |
1270 |
| - | |
1271 |
| - | |
1272 |
| - | |
1273 |
| - | |
| 1278 | + | |
| 1279 | + | |
| 1280 | + | |
| 1281 | + | |
| 1282 | + | |
| 1283 | + | |
| 1284 | + | |
1274 | 1285 |
| |
1275 | 1286 |
| |
1276 | 1287 |
| |
|
platform/firefox/vapi-webrequest.js
Copy file name to clipboardExpand all lines: platform/firefox/vapi-webrequest.js+27-9Lines changed: 27 additions & 9 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
63 | 63 |
| |
64 | 64 |
| |
65 | 65 |
| |
66 |
| - | |
| 66 | + | |
| 67 | + | |
67 | 68 |
| |
| 69 | + | |
68 | 70 |
| |
69 | 71 |
| |
70 | 72 |
| |
71 | 73 |
| |
72 | 74 |
| |
73 | 75 |
| |
74 |
| - | |
| 76 | + | |
| 77 | + | |
75 | 78 |
| |
| 79 | + | |
76 | 80 |
| |
77 | 81 |
| |
78 | 82 |
| |
| |||
123 | 127 |
| |
124 | 128 |
| |
125 | 129 |
| |
126 |
| - | |
127 |
| - | |
128 |
| - | |
129 |
| - | |
130 |
| - | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
131 | 146 |
| |
132 | 147 |
| |
133 | 148 |
| |
| |||
187 | 202 |
| |
188 | 203 |
| |
189 | 204 |
| |
| 205 | + | |
| 206 | + | |
| 207 | + | |
190 | 208 |
| |
191 | 209 |
| |
192 | 210 |
| |
193 | 211 |
| |
194 |
| - | |
| 212 | + | |
195 | 213 |
| |
196 | 214 |
| |
197 | 215 |
| |
| |||
201 | 219 |
| |
202 | 220 |
| |
203 | 221 |
| |
204 |
| - | |
| 222 | + | |
205 | 223 |
| |
206 | 224 |
| |
207 | 225 |
| |
|
+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
268 | 268 |
| |
269 | 269 |
| |
270 | 270 |
| |
271 |
| - | |
| 271 | + | |
272 | 272 |
| |
273 | 273 |
| |
274 | 274 |
| |
|
+2Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
49 | 49 |
| |
50 | 50 |
| |
51 | 51 |
| |
| 52 | + | |
52 | 53 |
| |
| 54 | + | |
53 | 55 |
| |
54 | 56 |
| |
55 | 57 |
| |
|
src/js/filtering-context.js
Copy file name to clipboardExpand all lines: src/js/filtering-context.js+4-2Lines changed: 4 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
29 | 29 |
| |
30 | 30 |
| |
31 | 31 |
| |
| 32 | + | |
32 | 33 |
| |
33 |
| - | |
34 | 34 |
| |
| 35 | + | |
35 | 36 |
| |
36 | 37 |
| |
37 | 38 |
| |
| |||
64 | 65 |
| |
65 | 66 |
| |
66 | 67 |
| |
| 68 | + | |
67 | 69 |
| |
68 | 70 |
| |
69 |
| - | |
| 71 | + | |
70 | 72 |
| |
71 | 73 |
| |
72 | 74 |
| |
|
+43-16Lines changed: 43 additions & 16 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
157 | 157 |
| |
158 | 158 |
| |
159 | 159 |
| |
160 |
| - | |
| 160 | + | |
161 | 161 |
| |
162 | 162 |
| |
| 163 | + | |
| 164 | + | |
| 165 | + | |
163 | 166 |
| |
164 | 167 |
| |
165 | 168 |
| |
| |||
211 | 214 |
| |
212 | 215 |
| |
213 | 216 |
| |
| 217 | + | |
| 218 | + | |
| 219 | + | |
214 | 220 |
| |
215 | 221 |
| |
216 | 222 |
| |
| |||
222 | 228 |
| |
223 | 229 |
| |
224 | 230 |
| |
225 |
| - | |
| 231 | + | |
226 | 232 |
| |
227 | 233 |
| |
228 | 234 |
| |
229 | 235 |
| |
230 | 236 |
| |
| 237 | + | |
231 | 238 |
| |
232 | 239 |
| |
233 | 240 |
| |
| |||
294 | 301 |
| |
295 | 302 |
| |
296 | 303 |
| |
297 |
| - | |
| 304 | + | |
298 | 305 |
| |
299 | 306 |
| |
300 | 307 |
| |
| |||
304 | 311 |
| |
305 | 312 |
| |
306 | 313 |
| |
307 |
| - | |
| 314 | + | |
308 | 315 |
| |
309 | 316 |
| |
310 | 317 |
| |
| |||
405 | 412 |
| |
406 | 413 |
| |
407 | 414 |
| |
408 |
| - | |
409 |
| - | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
410 | 419 |
| |
411 | 420 |
| |
412 | 421 |
| |
| |||
723 | 732 |
| |
724 | 733 |
| |
725 | 734 |
| |
726 |
| - | |
| 735 | + | |
727 | 736 |
| |
728 | 737 |
| |
729 | 738 |
| |
730 | 739 |
| |
731 | 740 |
| |
732 | 741 |
| |
733 | 742 |
| |
734 |
| - | |
735 |
| - | |
736 |
| - | |
| 743 | + | |
| 744 | + | |
| 745 | + | |
| 746 | + | |
| 747 | + | |
| 748 | + | |
737 | 749 |
| |
738 | 750 |
| |
739 | 751 |
| |
| |||
1452 | 1464 |
| |
1453 | 1465 |
| |
1454 | 1466 |
| |
| 1467 | + | |
| 1468 | + | |
| 1469 | + | |
| 1470 | + | |
| 1471 | + | |
| 1472 | + | |
| 1473 | + | |
| 1474 | + | |
| 1475 | + | |
| 1476 | + | |
1455 | 1477 |
| |
1456 | 1478 |
| |
1457 | 1479 |
| |
| |||
1613 | 1635 |
| |
1614 | 1636 |
| |
1615 | 1637 |
| |
1616 |
| - | |
1617 |
| - | |
| 1638 | + | |
| 1639 | + | |
1618 | 1640 |
| |
1619 | 1641 |
| |
1620 | 1642 |
| |
| |||
1623 | 1645 |
| |
1624 | 1646 |
| |
1625 | 1647 |
| |
1626 |
| - | |
1627 |
| - | |
1628 |
| - | |
1629 |
| - | |
| 1648 | + | |
| 1649 | + | |
| 1650 | + | |
| 1651 | + | |
| 1652 | + | |
| 1653 | + | |
| 1654 | + | |
| 1655 | + | |
1630 | 1656 |
| |
1631 | 1657 |
| |
| 1658 | + | |
1632 | 1659 |
| |
1633 | 1660 |
| |
1634 | 1661 |
| |
|
+2Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
139 | 139 |
| |
140 | 140 |
| |
141 | 141 |
| |
| 142 | + | |
142 | 143 |
| |
| 144 | + | |
143 | 145 |
| |
144 | 146 |
| |
145 | 147 |
| |
|
+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
99 | 99 |
| |
100 | 100 |
| |
101 | 101 |
| |
102 |
| - | |
| 102 | + | |
103 | 103 |
| |
104 | 104 |
| |
105 | 105 |
| |
|
+3-2Lines changed: 3 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
65 | 65 |
| |
66 | 66 |
| |
67 | 67 |
| |
68 |
| - | |
| 68 | + | |
69 | 69 |
| |
70 | 70 |
| |
71 | 71 |
| |
| |||
121 | 121 |
| |
122 | 122 |
| |
123 | 123 |
| |
124 |
| - | |
| 124 | + | |
| 125 | + | |
125 | 126 |
| |
126 | 127 |
| |
127 | 128 |
| |
|
You can’t perform that action at this time.
0 commit comments