aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAjay <[email protected]>2022-04-01 01:27:08 -0400
committerAjay <[email protected]>2022-04-01 01:27:08 -0400
commitcdfd5ae3a3c3584c1bf4452e9696f524a4fb3af7 (patch)
tree0fd01cb1a34865d48036bccc2a605842f08bf4fd
parent05d37ec650a1f0895bd1ebe36ae1e41920de31bb (diff)
downloadSponsorBlock-cdfd5ae3a3c3584c1bf4452e9696f524a4fb3af7.tar.gz
SponsorBlock-cdfd5ae3a3c3584c1bf4452e9696f524a4fb3af7.zip
hide popup things
-rw-r--r--public/popup.html8
-rw-r--r--src/popup.ts6
2 files changed, 7 insertions, 7 deletions
diff --git a/public/popup.html b/public/popup.html
index bc0d2def..a02d2382 100644
--- a/public/popup.html
+++ b/public/popup.html
@@ -30,7 +30,7 @@
</div>
<div class="sbControlsMenu">
- <label id="whitelistButton" for="whitelistToggle" class="hidden sbControlsMenu-item" title="__MSG_forceChannelCheckPopup__">
+ <label style="display: none" id="whitelistButton" for="whitelistToggle" class="hidden sbControlsMenu-item" title="__MSG_forceChannelCheckPopup__">
<input type="checkbox" style="display:none;" id="whitelistToggle">
<svg viewBox="0 0 24 24" width="23" height="23" class="SBWhitelistIcon sbControlsMenu-itemIcon">
<path d="M24 10H14V0h-4v10H0v4h10v10h4V14h10z" />
@@ -74,8 +74,8 @@
</div>
</div>
- <h1 class="recordingSubtitle sbHeader">__MSG_yourWork__</h1>
- <div class="sbYourWorkCols">
+ <h1 class="recordingSubtitle sbHeader" style="display: none">__MSG_yourWork__</h1>
+ <div class="sbYourWorkCols" style="display: none">
<div id="usernameElement">
<div>
<p class="u-mZ">__MSG_Username__:</p>
@@ -132,7 +132,7 @@
<span id="sponsorTimeSavedEndWord">__MSG_minsLower__</span></b>).
</p>
- <footer id="sbFooter">
+ <footer id="sbFooter" style="display: none">
<div id="sponsorTimesDonateContainer" style="display: none; align-items: center; justify-content: center;">
<img class="sbHeart" src="/icons/heart.svg" alt="Heart icon" />
<a id="sbConsiderDonateLink" href="https://sponsor.ajay.app/donate" target="_blank" rel="noopener">
diff --git a/src/popup.ts b/src/popup.ts
index 33dbeb54..7165ba40 100644
--- a/src/popup.ts
+++ b/src/popup.ts
@@ -206,7 +206,7 @@ async function runThePopup(messageListener?: MessageListener): Promise<void> {
}
PageElements.sponsorTimesSkipsDoneDisplay.innerText = Config.config.skipCount.toLocaleString();
- PageElements.sponsorTimesSkipsDoneContainer.style.display = "block";
+ // PageElements.sponsorTimesSkipsDoneContainer.style.display = "block";
}
//get the amount of time this user has saved.
@@ -510,8 +510,8 @@ async function runThePopup(messageListener?: MessageListener): Promise<void> {
voteStatusContainer.appendChild(thanksForVotingText);
votingButtons.append(segmentSummary);
- votingButtons.append(voteButtonsContainer);
- votingButtons.append(voteStatusContainer);
+ // votingButtons.append(voteButtonsContainer);
+ // votingButtons.append(voteStatusContainer);
container.appendChild(votingButtons);
}