@760ceb3b9c0ba4872cadf3ce35a7a4@wetdry.world heres some documentation on something i did the other day then (cause i didnt really document it when i did it and im pretty proud of it):
basically how it works is the extension base64 decodes 2 url parameters to determine category and url, then inserts the result into the respective fields (span elements) using .innerHTML. to get a redirect when JS is blocked by the default CSP for extensions, I embed an iframe using a custom document i developed for this purpose (view with js off so it doesnt immediately rickroll you) that i hosted on my website. The iframe has custom sandboxing options to allow it to navigate the top-level browsing context and run javascript (sandbox="allow-scripts allow-top-navigation"
).