I’m building an extension for chrome, and I’m trying to pass the chrome tab url (with JS) dynamically to the html file. I read other people questions regarding the same issue, but it didn’t work in my case.
My knowledge of JS and HTML is basic, but I don’t know how to move the parameter data between them.
Thanks!
First, set the permissions for the tab API :
And then store the URL :
Or another way: (preferred)