Fixed netflix misalignment in FF 57+

This commit is contained in:
unknown 2018-01-12 22:53:07 +01:00
parent f443fb62ec
commit 4829d45b09
3 changed files with 6 additions and 19 deletions

View File

@ -454,6 +454,7 @@ function _res_applyCss(dimensions){
// misc. // misc.
dimensions.position = "position: absolute !important"; dimensions.position = "position: absolute !important";
dimensions.margin = "margin: 0px !important";
// dimensions.objectFit = "object-fit: cover !important"; // dimensions.objectFit = "object-fit: cover !important";
var vid = $("video")[0]; var vid = $("video")[0];

View File

@ -1,7 +1,7 @@
{ {
"manifest_version": 2, "manifest_version": 2,
"name": "Ultrawidify", "name": "Ultrawidify",
"version": "2.0.1", "version": "2.0.3",
"icons": { "icons": {
"32":"res/icons/uw-32.png", "32":"res/icons/uw-32.png",
@ -9,29 +9,16 @@
}, },
"description": "Aspect ratio fixer for youtube that works around some people's disability to properly encode 21:9 (and sometimes, 16:9) videos.", "description": "Aspect ratio fixer for youtube that works around some people's disability to properly encode 21:9 (and sometimes, 16:9) videos.",
"background": {
"scripts": [
"js/dep/jquery-3.1.1.js",
"js/lib/BrowserDetect.js",
"js/lib/StorageManager.js",
"js/conf/Debug.js",
"js/conf/Settings.js",
"js/conf/Keybinds.js",
"js/uw-bg.js"
]
},
"content_scripts": [{ "content_scripts": [{
"matches": ["*://*/*"], "matches": ["*://*/*"],
"js": [ "js": [
"js/dep/jquery-3.1.1.js", "js/dep/jquery-3.1.1.js",
"js/dep/chrome/chrome-extension-async.js",
"js/lib/BrowserDetect.js", "js/lib/BrowserDetect.js",
"js/lib/StorageManager.js", "js/lib/StorageManager.js",
"js/lib/Comms.js",
"js/conf/Debug.js", "js/conf/Debug.js",
"js/conf/Settings.js", "js/conf/Settings.js",
@ -58,7 +45,7 @@
"browser_action": { "browser_action": {
"default_icon": "res/icons/uw-32.png", "default_icon": "res/icons/uw-32.png",
"default_popup": "res/popup/popup.html", "default_popup": "res/popup/popup.html",
"default_title": "Uʟᴛʀᴀᴡɪᴅɪꜰʏ" "default_title": "Ultrawidify"
}, },
"web_accessible_resources": [ "web_accessible_resources": [

View File

@ -1,7 +1,7 @@
{ {
"manifest_version": 2, "manifest_version": 2,
"name": "Ultrawidify", "name": "Ultrawidify",
"version": "2.0.2", "version": "2.0.3",
"icons": { "icons": {
"32":"res/icons/uw-32.png", "32":"res/icons/uw-32.png",
@ -14,7 +14,6 @@
"matches": ["*://*/*"], "matches": ["*://*/*"],
"js": [ "js": [
"js/dep/jquery-3.1.1.js", "js/dep/jquery-3.1.1.js",
"js/dep/chrome/chrome-extension-async.js",
"js/lib/BrowserDetect.js", "js/lib/BrowserDetect.js",
"js/lib/StorageManager.js", "js/lib/StorageManager.js",