Skip to content
This repository has been archived by the owner on Mar 14, 2024. It is now read-only.

Commit

Permalink
Speculation rules: match any hash fragment. (#10340)
Browse files Browse the repository at this point in the history
This expands the scope slightly, but also we're contemplating a change
which would make this unnecessary -- but while developer.chrome.com is
using this syntax, it's more difficult to tell at a glance how common
other uses are.
  • Loading branch information
jeremyroman authored Aug 16, 2023
1 parent 64fc729 commit 0b0f5d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/site/_includes/partials/head.njk
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,11 @@
"where": {
"and": [
{
"href_matches": "/*\\?*", "relative_to": "document"
"href_matches": "/*\\?*#*", "relative_to": "document"
},
{
"not": {
"href_matches": "/patterns/*\\?*",
"href_matches": "/patterns/*\\?*#*",
"relative_to": "document"
}
}
Expand Down

0 comments on commit 0b0f5d9

Please sign in to comment.