mirror of
https://github.com/Steffo99/tidebringer-firefox.git
synced 2025-01-06 22:19:46 +00:00
Only display the extension line if buttons are placed
This commit is contained in:
parent
1f67db9258
commit
4bc0537e80
1 changed files with 2 additions and 2 deletions
|
@ -41,10 +41,10 @@ async function addAllSubscribedToCollection() {
|
||||||
}
|
}
|
||||||
|
|
||||||
function tidebringer() {
|
function tidebringer() {
|
||||||
console.log("%c Tidebringer %chttps://github.com/Steffo99/tidebringer-firefox", "background-color: black; color: #a0f3f6;");
|
|
||||||
|
|
||||||
const whereTheContainerShouldBePlaced = document.querySelector(".collectionAddItemsSection");
|
const whereTheContainerShouldBePlaced = document.querySelector(".collectionAddItemsSection");
|
||||||
if(!whereTheContainerShouldBePlaced) return
|
if(!whereTheContainerShouldBePlaced) return
|
||||||
|
|
||||||
|
console.log("%c Tidebringer %chttps://github.com/Steffo99/tidebringer-firefox", "background-color: black; color: #a0f3f6;");
|
||||||
|
|
||||||
const container = document.createElement("div")
|
const container = document.createElement("div")
|
||||||
container.id = "tidebringer-container"
|
container.id = "tidebringer-container"
|
||||||
|
|
Loading…
Reference in a new issue