I'm trying to write js variable (tab.url.toString()) to html. I've tried to do this:
document.write(tab.url.toString())
but it's a part of a big js code and only this is related to html.
The html is called history.html and I wrote there:
<script src="nameFile.js"></script>
how can I connect between the js code and this specific html file?
Thanks.
localStoragefor example, which you can then read on the target page.