mirror of
https://github.com/Alvin-Zilverstand/return-youtube-dislike.git
synced 2026-12-02 10:52:20 +01:00
add option to disable vote submission
also change the icon of the extension when voting is disabled popup.js, content-script, bg-script listenes to storage change event so that they can all stay in sync without passing messages icon_hold is addded advanced setting is enabled in popup.html add fallback for changing extension icon refactor stateData
This commit is contained in:
1 parent
96f063838d
commit
819c59c5b7
7 files changed
+170
-40
No files matched your search
@@ -23,7 +23,7 @@
|
||||
<br>
|
||||
|
||||
<br>
|
||||
<!-- <button id="advancedToggle">Show Settings</button>-->
|
||||
<button id="advancedToggle">Show Settings</button>
|
||||
<br>
|
||||
|
||||
</center>
|
||||
@@ -32,16 +32,17 @@
|
||||
<legend id="advancedLegend">Settings</legend>
|
||||
|
||||
<label class="switch">
|
||||
<input type="checkbox" id="disable_ratio_bar" />
|
||||
<input type="checkbox" id="disable_vote_submission" />
|
||||
<span class="slider" />
|
||||
<span class="switchLabel">Lorem ipsum dolor sit amet</span> </label
|
||||
><br />
|
||||
<span class="switchLabel">Disable like/dislike submission</span>
|
||||
</label>
|
||||
<br/>
|
||||
|
||||
<label class="switch">
|
||||
<!-- <label class="switch">
|
||||
<input type="checkbox" id="disable_api_unlisted" />
|
||||
<span class="slider" />
|
||||
<span class="switchLabel">Lorem ipsum dolor sit amet</span> </label
|
||||
><br />
|
||||
><br /> -->
|
||||
</fieldset>
|
||||
</body>
|
||||
<script src="popup.js"></script>
|
||||
|
||||
Reference in new issue
Block a user