Allow webgl ONLY on https://www.google.com/maps/ and subpages
Posted: Wed Jan 07, 2026 8:35 pm
Hello,
Basically, I want to allow webgl on this regex: /^https:\/\/www\.google\.com\/maps\/.+/
Here's my current exported conf:
This works if I go manually to google.com/maps and then browse from there, but if I reload the page or follow a shared link, noscript doesn't match anymore, I assume because of everything after /maps/...
I could put ยง:www.google.com but I'm not a fan of allowing everything under the google domain...
Basically, I want to allow webgl on this regex: /^https:\/\/www\.google\.com\/maps\/.+/
Here's my current exported conf:
Code: Select all
"custom": {
"https://www.google.com/maps/": {
"capabilities": ["script", "webgl", "fetch"]
}
}
I could put ยง:www.google.com but I'm not a fan of allowing everything under the google domain...