Skip to content
This repository has been archived by the owner on Dec 11, 2018. It is now read-only.

Commit

Permalink
[1.4.0] More UI stuff, major fixes and failsafes
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Sv443 authored May 30, 2018
1 parent 9e3c366 commit 2ad8877
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions TamperTubePlus.js
Original file line number Diff line number Diff line change
Expand Up @@ -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))

Expand All @@ -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)



Expand Down

0 comments on commit 2ad8877

Please sign in to comment.