mirror of
https://github.com/lawrencehook/remove-youtube-suggestions.git
synced 2026-07-25 06:54:31 +00:00
Add a remove_logo_link option
This commit is contained in:
@@ -22,6 +22,6 @@ html[global_enable="true"][foo=bar]
|
||||
}
|
||||
|
||||
/* Disable Youtube logo's link to the homepage */
|
||||
html[global_enable="true"][remove_home_link="true"] a[href="/"] {
|
||||
html[global_enable="true"][remove_logo_link="true"] a[href="/"] {
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
@@ -6,6 +6,7 @@ html[remove_sidebar="true"] .remove_sidebar .inactive,
|
||||
html[remove_end_of_video="true"] .remove_end_of_video .inactive,
|
||||
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_comments="true"] .remove_comments .inactive,
|
||||
html[remove_chat="true"] .remove_chat .inactive,
|
||||
@@ -24,6 +25,7 @@ html[remove_sidebar="false"] .remove_sidebar .active,
|
||||
html[remove_end_of_video="false"] .remove_end_of_video .active,
|
||||
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_comments="false"] .remove_comments .active,
|
||||
html[remove_chat="false"] .remove_chat .active,
|
||||
|
||||
@@ -6,6 +6,7 @@ const SETTINGS_LIST = {
|
||||
"remove_end_of_video": { defaultValue: true, eventType: 'change' },
|
||||
"remove_info_cards": { defaultValue: false, eventType: 'change' },
|
||||
"remove_home_link": { defaultValue: false, eventType: 'change' },
|
||||
"remove_logo_link": { defaultValue: false, eventType: 'change' },
|
||||
"remove_explore_link": { defaultValue: false, eventType: 'change' },
|
||||
"remove_comments": { defaultValue: false, eventType: 'change' },
|
||||
"remove_chat": { defaultValue: false, eventType: 'change' },
|
||||
|
||||
@@ -11,6 +11,7 @@ const SETTINGS_LIST = {
|
||||
"remove_end_of_video": { defaultValue: true, eventType: 'click' },
|
||||
"remove_info_cards": { defaultValue: false, eventType: 'click' },
|
||||
"remove_home_link": { defaultValue: false, eventType: 'click' },
|
||||
"remove_logo_link": { defaultValue: false, eventType: 'click' },
|
||||
"remove_explore_link": { defaultValue: false, eventType: 'click' },
|
||||
"remove_comments": { defaultValue: false, eventType: 'click' },
|
||||
"remove_chat": { defaultValue: false, eventType: 'click' },
|
||||
|
||||
@@ -40,6 +40,10 @@
|
||||
<fieldset>
|
||||
<legend>Site navigation</legend>
|
||||
|
||||
<div class="remove_logo_link">
|
||||
<div class="option_name_container"><a class="active">🚫</a><a class="inactive">🟢</a> Logo link</div>
|
||||
</div>
|
||||
|
||||
<div class="remove_home_link">
|
||||
<div class="option_name_container"><a class="active">🚫</a><a class="inactive">🟢</a> Home link</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user