how to link something from a popup of a google extension code example
Example 1: chrome extension open new tab from popup
document.addEventListener('DOMContentLoaded', () => {
var y = document.getElementById("index_link");
y.addEventListener("click", openIndex);
});
function openIndex() {
chrome.tabs.create({active: true, url: "http://my_url"});
}
Example 2: chrome extension open new tab from popup
<a id="index_link">My text</a>.