kintesh / containerise

Firefox extension to automatically open websites in a container
MIT License
408 stars 54 forks source link

suggestion - exclude from container #170

Open elesto opened 2 years ago

elesto commented 2 years ago

Add rule that excludes url from container. Example:

My example google container:

Allow: *.google.com
Exclude: *.google.com/search*
crantok commented 2 years ago

@elesto I wanted something similar. I did the following.

I used a glob for the common case (!*.google.com in container 1) I used specific urls for the exceptions (www.google.com and maps.google.com in container 2)

That worked for me.

Edit: I thought this was not working for me but it is. I had left the "Limit to Designated Sites" setting on for one of the containers. Having turned that off it now works perfectly.

Alexey104 commented 1 year ago

You can use regex for that:

@^https?://([a-z0-9-]+\.)*google(\.[a-z]+)+/(?!search) , Google