diff --git a/firefox/css/main.css b/firefox/css/main.css index ad87d4a..465f4dc 100644 --- a/firefox/css/main.css +++ b/firefox/css/main.css @@ -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; } diff --git a/firefox/css/options.css b/firefox/css/options.css index 50c5d61..9c8efac 100644 --- a/firefox/css/options.css +++ b/firefox/css/options.css @@ -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, diff --git a/firefox/js/content-script.js b/firefox/js/content-script.js index 9fb1cb0..ebde5d1 100644 --- a/firefox/js/content-script.js +++ b/firefox/js/content-script.js @@ -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' }, diff --git a/firefox/js/options.js b/firefox/js/options.js index 33d6835..533aec5 100644 --- a/firefox/js/options.js +++ b/firefox/js/options.js @@ -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' }, diff --git a/firefox/options.html b/firefox/options.html index b39fbb0..cdcfeb8 100644 --- a/firefox/options.html +++ b/firefox/options.html @@ -40,6 +40,10 @@
Site navigation + +