Remove thumbnail mouseover effect (firefox)

This commit is contained in:
Lawrence Hook
2021-12-12 18:46:11 -05:00
parent a5ee7ed53d
commit 1f330755f6
5 changed files with 38 additions and 28 deletions
+2
View File
@@ -9,6 +9,8 @@ html[global_enable="true"][remove_home_link="true"] a:not(#logo)[href="/"],
html[global_enable="true"][remove_explore_link="true"] a[href="/feed/trending"],
html[global_enable="true"][remove_explore_link="true"] a[href="/feed/explore"],
html[global_enable="true"][remove_thumbnail_mouseover_effect="true"] #mouseover-overlay,
html[global_enable="true"][remove_play_next_button="true"] a.ytp-next-button,
html[global_enable="true"][remove_comments="true"] #comments,
+2
View File
@@ -8,6 +8,7 @@ html[remove_info_cards="true"] .remove_info_cards .inactive,
html[remove_home_link="true"] .remove_home_link .inactive,
html[remove_logo_link="true"] .remove_logo_link .inactive,
html[remove_explore_link="true"] .remove_explore_link .inactive,
html[remove_thumbnail_mouseover_effect="true"] .remove_thumbnail_mouseover_effect .inactive,
html[remove_play_next_button="true"] .remove_play_next_button .inactive,
html[remove_comments="true"] .remove_comments .inactive,
html[remove_chat="true"] .remove_chat .inactive,
@@ -28,6 +29,7 @@ html[remove_info_cards="false"] .remove_info_cards .active,
html[remove_home_link="false"] .remove_home_link .active,
html[remove_logo_link="false"] .remove_logo_link .active,
html[remove_explore_link="false"] .remove_explore_link .active,
html[remove_thumbnail_mouseover_effect="false"] .remove_thumbnail_mouseover_effect .active,
html[remove_play_next_button="false"] .remove_play_next_button .active,
html[remove_comments="false"] .remove_comments .active,
html[remove_chat="false"] .remove_chat .active,
+1
View File
@@ -14,6 +14,7 @@ const SETTINGS_LIST = {
"remove_home_link": { defaultValue: false, eventType: 'change' },
"remove_logo_link": { defaultValue: false, eventType: 'change' },
"remove_explore_link": { defaultValue: false, eventType: 'change' },
"remove_thumbnail_mouseover_effect": { defaultValue: false, eventType: 'change' },
"remove_play_next_button": { defaultValue: false, eventType: 'change' },
"remove_comments": { defaultValue: false, eventType: 'change' },
"remove_chat": { defaultValue: false, eventType: 'change' },
+1
View File
@@ -14,6 +14,7 @@ const SETTINGS_LIST = {
"remove_home_link": { defaultValue: false, eventType: 'click' },
"remove_logo_link": { defaultValue: false, eventType: 'click' },
"remove_explore_link": { defaultValue: false, eventType: 'click' },
"remove_thumbnail_mouseover_effect": { defaultValue: false, eventType: 'click' },
"remove_play_next_button": { defaultValue: false, eventType: 'click' },
"remove_comments": { defaultValue: false, eventType: 'click' },
"remove_chat": { defaultValue: false, eventType: 'click' },
+4
View File
@@ -58,6 +58,10 @@
<fieldset>
<legend>More removal options</legend>
<div class="remove_thumbnail_mouseover_effect">
<div class="option_name_container"><a class="active">🚫</a><a class="inactive">🟢</a> Thumbnail mouseover effect</div>
</div>
<div class="remove_play_next_button">
<div class="option_name_container"><a class="active">🚫</a><a class="inactive">🟢</a> Play next button</div>
</div>