I’m looking to make a script that edits a url.
This currently works
jQuery(".int-tooltip a").attr("href", (_, href) =>
href.replace("/zh-hant/", "/") );
But how do I add multiple options? Such as “/de/” or others to check and replace them with “/”?