mirror of
https://github.com/kkapsner/CanvasBlocker
synced 2025-07-04 20:46:39 +02:00
parent
635912c8b9
commit
34019f2515
5 changed files with 30 additions and 0 deletions
|
@ -71,6 +71,16 @@
|
|||
|
||||
document.body.classList.add("standalone");
|
||||
}
|
||||
else {
|
||||
const linkDiv = document.createElement("div");
|
||||
linkDiv.className = "optionsLink";
|
||||
const link = document.createElement("a");
|
||||
link.href = window.location.href;
|
||||
link.target = "_blank";
|
||||
link.textContent = browser.i18n.getMessage("openInTab");
|
||||
linkDiv.appendChild(link);
|
||||
head.appendChild(linkDiv);
|
||||
}
|
||||
});
|
||||
|
||||
var table = document.createElement("table");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue