Open pjmattingly opened 3 days ago
I wanted to match the entire gov domain, but simple constructions like:
gov
*://*.gov/
don't seem to work. Checking through the Advanced Features, I found an example for matching "internationalized domain names":
/^https?:\/\/([^/.]+\.)*?xn--/
Which then could be adapted to block gov:
/^https?:\/\/([^/.]+\.)*?gov/
Is there a simpler way? If so I believe it would be helpful to show it in the help documentation.
You could just use regular expressions, like this /.*\.gov/
/.*\.gov/
I wanted to match the entire
gov
domain, but simple constructions like:don't seem to work. Checking through the Advanced Features, I found an example for matching "internationalized domain names":
Which then could be adapted to block
gov
:Is there a simpler way? If so I believe it would be helpful to show it in the help documentation.