From 2ad88775001540402250591aec9b22fb7d6d0807 Mon Sep 17 00:00:00 2001 From: Sv443 <38158426+Sv443@users.noreply.github.com> Date: Wed, 30 May 2018 08:23:32 +0200 Subject: [PATCH] [1.4.0] More UI stuff, major fixes and failsafes changed ui button style added ui button color setting added ui button size setting made the code more fluent and appealing fixed bug of ui appearing on other youtube pages than /watch added multiple language support added more @grants added menu button, will be adding function to it in the next version fixed broken ui on new youtube design added switch() error failsafes via the "default:" option changed some of the settings to strings --- TamperTubePlus.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/TamperTubePlus.js b/TamperTubePlus.js index 3643083..029ade2 100644 --- a/TamperTubePlus.js +++ b/TamperTubePlus.js @@ -33,15 +33,15 @@ // you can change these settings if you want to: var ttp_language = "en"; // change TTP's language (default: "en" (english)), ("en" for english, "de" for german) - var log_to_console = true; // log some debug info to the javascript console if set to true (default: false) + var log_to_console = false; // log some debug info to the javascript console if set to true (default: false) var enable_version_watermark = true; // enable or disable the version watermark in the bottom left corner of your window, UI needs to be enabled for the watermark to show up (default: true) - var disable_polymer_design = true; // disables the new forced polymer design if set to true (default: false) + var disable_polymer_design = false; // disables the new forced polymer design if set to true (default: false) var enable_ui = true; // enable the user interface with buttons and additional information (default: true) - var button_color = "blue"; // change the ui button colors (default: "red"), (possible: "red", "orange", "blue", "green") + var button_color = "red"; // change the ui button colors (default: "red"), (possible: "red", "orange", "blue", "green") var button_size = "normal"; // change the size of the ui buttons (default: "normal"), (possible: "small" (20px * 20px), "normal" (25px * 25px), "large" (35px * 35px)) @@ -51,9 +51,9 @@ var radio_hotkey = 113; // hotkey to activate the video's radio mix playlist (default key: F2 (113), 0 to disable), to look up key codes go to this website: https://tinyurl.com/y73b8h3z - var search_engine = "duckduckgo"; // change search engine for quick search (default: "google") (possible: "disable", "google", "duckduckgo", "bing", "yahoo") + var search_engine = "google"; // change search engine for quick search (default: "google") (possible: "disable", "google", "duckduckgo", "bing", "yahoo") - var stylesheet = 1; // switch through stylesheets for YouTube (default: 0) (0: disabled) (1: AdvancedYT - improved design and bigger video player for old youtube design) + var stylesheet = 0; // switch through stylesheets for YouTube (default: 0) (0: disabled) (1: AdvancedYT - improved design and bigger video player for old youtube design)