ammonia icon indicating copy to clipboard operation
ammonia copied to clipboard

Is it intentional that there is no finer fitering of urls

Open blackdragon2447 opened this issue 7 months ago • 1 comments

We are working on a project which required quite fine filtering on urls, this includes filtering of absolute urls and based on context (things like, will the tag this url is part of make the brower auto load the url), and for as far as we could tell this kind of url filtering is not really available. We were wondering if this is intentional, or if this is something that could be expected in a future version of ammonia.

blackdragon2447 avatar May 07 '25 16:05 blackdragon2447

attribute_filter lets you run any code you want on <a href>. Does that not solve your problem?

notriddle avatar May 08 '25 13:05 notriddle