gyng / save-in

WebExtension for saving media, links, or selections into user-defined directories
MIT License
210 stars 26 forks source link

Is there a way to blacklist a single website? #183

Open WicCaesar opened 2 years ago

WicCaesar commented 2 years ago

Hello!

I recently found this extension, and I'm in love with it, but it conflicts with another one I use for Twitter. Is there a way to blacklist a website? The only alternative I found was enabling this extension on specific websites or clicking to activate (default Chrome extension options).

Thanks in advance!

gyng commented 2 years ago

For rewrites: not at the moment, but adding a way to exclude patterns will be neat.

For now, there's a workaround where you can add ^(?!.*example.com) to only match sites that don't contain example.com.

// This matches all sites except twitter.com
pageurl: ^(?!.*twitter.com)
into: :filename: