I have a Chrome extension / web extension that occasionally opens content in new tabs. For example, opening the URL extension://lijpcppdcclkfneghlldocanomgeabja/index.html in a new tab, opens the index.html which is a file inside my extension.
Is there a way to do catchall routing? For example, route the URL extension://lijpcppdcclkfneghlldocanomgeabja/items/(some integer) to a particular page inside the extension?
I have looked in the docs and can't seem to find a mention of any mechanism that allows for an abstraction between extension URL and the files loaded. This seems very odd for a currently maintained platform.
I did find this example of a user using 2010-style #anchor URL routing, but that is a workaround and produces ugly URLs.