SmokeDetector icon indicating copy to clipboard operation
SmokeDetector copied to clipboard

Whitelist for websites

Open tripleee opened this issue 8 years ago • 4 comments

There should be a way to exempt some web sites from the broad swath of regex which triggers on some legitimate sites but still catches a lot of spam.

For example, in the tcl tag on Stack Overflow, many questions and answers link to tcl.tk which I surmise is the official documentation for the TK toolkit. These are obviously legit, and should be exempt from the regex filter which triggers on everything in the tk, pk, and ir country top-level domains.

tripleee avatar Jan 31 '17 04:01 tripleee

Undo my understanding is that the sites member of the rule dict entry lists SE sites where the rule should be exempted, not URLs which should not be matched by the regex ... Are you referring to a different variable, or do I misunderstand how it works? I don't want to disable the rule on SO, I want links to tcl.tk to be exempt on all sites from all rules (there are multiple rules for sites in the tk ccTLD).

tripleee avatar Jan 31 '17 04:01 tripleee

Yeah, I misunderstood.

Undo1 avatar Jan 31 '17 04:01 Undo1

Basic spec: search all existing rules for whitelist variants (and add it to rules which don't have them already), then refactor to refer to a global file containing the whitelist and string format it into the check. Bonus points for adding a whitelist command.

angussidney avatar Oct 02 '17 10:10 angussidney

This issue has been closed because it has had no recent activity. If this is still important, please add another comment and find someone with write permissions to reopen the issue. Thank you for your contributions.

stale[bot] avatar Oct 29 '19 23:10 stale[bot]