Skip to content

Commit

Permalink
V1.28
Browse files Browse the repository at this point in the history
  • Loading branch information
DeadPackets committed Apr 29, 2018
1 parent 5f07968 commit 862ba42
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 10 deletions.
8 changes: 8 additions & 0 deletions content.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,14 @@ const tweaks = {
location.reload();
}, 300000)
}
},
removeBannerReleaseVersion: () => {
if (document.getElementsByName('mainFrame')[0] !== undefined) {
let frame = $(document.getElementsByName('mainFrame')[0].contentWindow.document);
$(frame).find('.releasetext').remove();
} else {
$('.releasetext').remove();
}
}
}

Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"manifest_version": 2,
"name": "BannerPlus",
"description": "Makes banner better.",
"version": "1.25",
"version": "1.28",
"icons": {
"128": "assets/icons/128.png"
},
Expand Down
16 changes: 9 additions & 7 deletions popup.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,6 @@
height: 100%;
}

html {
overflow: auto;
}

.mainTitle {
padding: none;
font-size: 40px;
Expand Down Expand Up @@ -206,7 +202,9 @@
</head>

<body>
<h1 class="mainTitle">Banner+<version style="font-size: 12px;"></version></h1>
<h1 class="mainTitle">Banner+
<version style="font-size: 12px;"></version>
</h1>
<hr />
<div id="container" class="container justify-content-center">
<h3>Tweaks</h3>
Expand Down Expand Up @@ -238,6 +236,10 @@ <h3>Tweaks</h3>
<span class="optionText">Bigger Buttons</span>
<input type="checkbox" name="biggerButtons" class="checkbox-switch" />
</div>
<div class="optionDiv">
<span class="optionText">Remove Banner Version</span>
<input type="checkbox" name="removeBannerReleaseVersion" class="checkbox-switch" />
</div>
<!-- <hr />
<h3>Beta Tweaks</h3>
<div class="optionDiv">
Expand Down Expand Up @@ -269,9 +271,9 @@ <h3>Settings</h3>

<div class="footer">
<center>
<h6 class="footerText">Developed and designed by DeadPackets</h6>
<h6 class="footerText">Developed and designed by DeadPackets</h6>
</center>
</div>
</div>
</div>
</body>

Expand Down
4 changes: 2 additions & 2 deletions version.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"version": "1.25",
"changelog": ["Removed blocking images (I gave up)", "Fixed auto refresh for Auto Login", "Removed large footer"]
"version": "1.28",
"changelog": ["Added useless feature to remove Banner version text"]
}

0 comments on commit 862ba42

Please sign in to comment.