Last css adaptions for old netflix player
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
// ==UserScript==
|
// ==UserScript==
|
||||||
// @name netflix-speed
|
// @name netflix-speed
|
||||||
// @version 0.6
|
// @version 0.7
|
||||||
// @include https://www.netflix.com/*
|
// @include https://www.netflix.com/*
|
||||||
// ==/UserScript==
|
// ==/UserScript==
|
||||||
|
|
||||||
@@ -39,14 +39,20 @@ function inject_controls() {
|
|||||||
var speed_control = document.createElement('select');
|
var speed_control = document.createElement('select');
|
||||||
speed_control.id = 'speed-control';
|
speed_control.id = 'speed-control';
|
||||||
speed_control.style.cssText = `
|
speed_control.style.cssText = `
|
||||||
border: none;
|
border-left: 1px solid #323232;
|
||||||
cursor: pointer;
|
border-right: 1px solid #151515;
|
||||||
|
border-top: none;
|
||||||
|
border-bottom: none;
|
||||||
background: none;
|
background: none;
|
||||||
-moz-appearance: none;
|
-moz-appearance: none;
|
||||||
-webkit-appearance: none;
|
-webkit-appearance: none;
|
||||||
appearance: none;
|
appearance: none;
|
||||||
|
min-width: 5em;
|
||||||
|
width: auto;
|
||||||
|
height: 100%;
|
||||||
font-size: 2.2em;
|
font-size: 2.2em;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
cursor: pointer;
|
||||||
`;
|
`;
|
||||||
speed_control.id = 'speed-control';
|
speed_control.id = 'speed-control';
|
||||||
speed_control.onchange = function() {
|
speed_control.onchange = function() {
|
||||||
|
|||||||
Reference in New Issue
Block a user