diff options
author | Ajay Ramachandran <[email protected]> | 2021-08-20 00:04:42 -0400 |
---|---|---|
committer | Ajay Ramachandran <[email protected]> | 2021-08-20 00:04:42 -0400 |
commit | bea943dc962e174e0adb497215d356d91c9b6bc7 (patch) | |
tree | 6ab9ddbd955697d13889b71c71aeb8b90aab9133 /public | |
parent | 36aec560ca06774322d6b1b7219dac28da3cfc11 (diff) | |
download | SponsorBlock-bea943dc962e174e0adb497215d356d91c9b6bc7.tar.gz SponsorBlock-bea943dc962e174e0adb497215d356d91c9b6bc7.zip |
Add option to disable $ link
Diffstat (limited to 'public')
-rw-r--r-- | public/_locales/en/messages.json | 6 | ||||
-rw-r--r-- | public/help/index_en.html | 9 | ||||
-rw-r--r-- | public/help/styles.css | 4 | ||||
-rw-r--r-- | public/options/options.css | 4 | ||||
-rw-r--r-- | public/options/options.html | 25 |
5 files changed, 46 insertions, 2 deletions
diff --git a/public/_locales/en/messages.json b/public/_locales/en/messages.json index 0ba715fe..726c35bd 100644 --- a/public/_locales/en/messages.json +++ b/public/_locales/en/messages.json @@ -724,5 +724,11 @@ "voteRejectedWarning": { "message": "Vote rejected due to a warning. Click to open a chat to resolve it, or come back later when you have time.", "description": "This is an integrated chat panel that will appearing allowing them to talk to the Discord/Matrix chat without leaving their browser." + }, + "Donate": { + "message": "Donate" + }, + "hideDonationLink": { + "message": "Hide Donation Link" } } diff --git a/public/help/index_en.html b/public/help/index_en.html index d6d8d762..9606649f 100644 --- a/public/help/index_en.html +++ b/public/help/index_en.html @@ -5,6 +5,9 @@ <meta charset="utf-8"> <link href="styles.css" rel="stylesheet"/> + + <script src="../js/vendor.js"></script> + <script src="../js/help.js"></script> </head> <body> @@ -16,7 +19,11 @@ <div class="container"> - <p class="createdBy">Created By <a href="https://ajay.app">Ajay Ramachandran</a> <img src="https://ajay.app/newprofilepic.jpg" height="30" class="profilepiccircle"/></p> + <p class="createdBy"> + <img src="https://ajay.app/newprofilepic.jpg" height="30" class="profilepiccircle"/> + Created By <a href="https://ajay.app">Ajay Ramachandran</a> + <a href="https://sponsor.ajay.app/donate" target="_blank" rel="noopener" id="sbDonate">(Donate)</a> + </p> <p> Thanks for installing SponsorBlock. By using this extension, you agree to the <a href="https://gist.github.com/ajayyy/aa9f8ded2b573d4f73a3ffa0ef74f796">Privacy Policy</a> and <a href="https://gist.github.com/ajayyy/9e8100f069348e0bc062641f34d6af12">Terms of Use</a>. diff --git a/public/help/styles.css b/public/help/styles.css index a7b8b9fd..2e392c2e 100644 --- a/public/help/styles.css +++ b/public/help/styles.css @@ -183,4 +183,8 @@ h1,h2,h3,h4,h5,h6 { svg { text-decoration: none; +} + +#sbDonate { + font-size: 10px; }
\ No newline at end of file diff --git a/public/options/options.css b/public/options/options.css index e6dd3a01..708139ab 100644 --- a/public/options/options.css +++ b/public/options/options.css @@ -364,4 +364,8 @@ svg { background: none; border: none; +} + +#sbDonate { + font-size: 10px; }
\ No newline at end of file diff --git a/public/options/options.html b/public/options/options.html index 90a2e51f..540b5122 100644 --- a/public/options/options.html +++ b/public/options/options.html @@ -19,7 +19,12 @@ </div> <div class="center"> - <p class="createdBy titleBar">__MSG_createdBy__ <a href="https://ajay.app">Ajay Ramachandran</a> <img src="../icons/newprofilepic.jpg" height="30" class="profilepiccircle"/></p> + <p class="createdBy titleBar"> + <img src="../icons/newprofilepic.jpg" height="30" class="profilepiccircle"/> + __MSG_createdBy__ + <a href="https://ajay.app">Ajay Ramachandran</a> + <a href="https://sponsor.ajay.app/donate" target="_blank" rel="noopener" id="sbDonate">(__MSG_Donate__)</a> + </p> <h1>__MSG_Options__</h1> @@ -451,6 +456,24 @@ <br/> <br/> + + <div option-type="toggle" toggle-type="reverse" sync-option="showDonationLink" no-safari="true"> + <label class="switch-container"> + <label class="switch"> + <input type="checkbox" checked> + <span class="slider round"></span> + </label> + <div class="switch-label"> + __MSG_hideDonationLink__ + </div> + </label> + + </div> + + <br/> + <br/> + <br/> + <br/> <div option-type="private-text-change" sync-option="userID" confirm-message="userIDChangeWarning"> <div class="option-button trigger-button"> |