[Support] Historia

For example with reddit

Removes anything with a path (ie it has something after reddit.com/)
^ means the URL starts with
? means one character so /? means at least one character after /
^https://www.reddit.com/?

You can also use this but above is more precise
reddit.com/?

Above will delete all reddit URLs except the main site https://www.reddit.com/

What do you mean?
To delete all history for all sites?
That is possible from Firefox Options -> History -> Never Remember History

Do you mean add multiple sites with one line?
That is possible with Regular Expression but a very long one may not be easy to maintain e.g.

/^https?://(www\.reddit\.com|youtube\.com|example\.org|other\.net)/.+/

(post withdrawn by author, will be automatically deleted in 24 hours unless flagged)

I seeā€¦ Try this one: /^https?://[^/]+/.+/

Try this: /^https?://[^/]+/(?!sv-se).+/

PS. I updated the previous one

You are getting into more complicated Regular Expressions :wink:

For example: /^https?://[^/]+/(?!(sv-se|this|that|other)).+/

(post withdrawn by author, will be automatically deleted in 24 hours unless flagged)

Note:
It is case-insensitive
You have overlapping pasterns
Not followed by se will also be true for se/sv_se, se/webapps/mpp/home
Same with sv and sv-SE/firefox

The Regular Expression is passed to new RegExp() so no need to escape slashes /

try this:
/^https?://[^/]+/(?!(se|sv|en|android|drive|#|home|owa)).+/

So it wont delete these:

http://www.website.com/se/example
http://www.website.com/se/
http://www.website.com/se
http://www.website.com/service (starts with se + ervice)
http://www.website.com/sv/example
http://www.website.com/se/sv_se/example
http://www.website.com/sv-SE/firefox/example
http://www.website.com/se/example
http://www.website.com/
http://www.website.com/#anb
http://www.website.com/home
http://www.website.com/homes

It will delete these:

http://www.website.com/abc
http://www.website.com/1home

It is possible to write as complex a Regular Expression as wanted.

It would be better to list them one by oneā€¦ or ā€¦ you can create a/few Regular Expression/s for it.

Regular Expressions are for advanced users and complex ones are for very advanced users.

You can ask in general forum for help in creating one to your specification.

Once you have done that, if there are any problems in using it in Historia, let me know.

Will this add-on ever be supported in Chrome or Opera?

Currently, I only make add-ons for Firefox.

Thatā€™s a shame, thanks for answer.