diff --git a/moz.xpi b/moz.xpi
index 4f51bc0..d84434c 100644
Binary files a/moz.xpi and b/moz.xpi differ
diff --git a/moz.zip b/moz.zip
index 4be2fba..4c4a32c 100644
Binary files a/moz.zip and b/moz.zip differ
diff --git a/moz/common.css b/moz/common.css
index 482ed37..b2b36cc 100644
--- a/moz/common.css
+++ b/moz/common.css
@@ -184,11 +184,14 @@
}
.web-to-plex-prompt-header {
- text-align: left !important;
- border-bottom-color: #222 !important;
+ border-bottom-color: #222 !important;
border-bottom-width: 1px !important;
border-top-left-radius: 3px !important;
border-top-right-radius: 3px !important;
+ overflow: hidden;
+ text-align: left !important;
+ text-overflow: ellpsis;
+ white-space: nowrap;
top: 0 !important;
}
@@ -242,8 +245,8 @@
width: 30px !important;
float: right !important;
- margin-right: -9px !important;
- margin-top: -42px !important;
+ margin-right: -2% !important;
+ margin-top: -8% !important;
padding: 0 !important;
}
diff --git a/moz/manifest.json b/moz/manifest.json
index d6bdd18..d125a86 100644
--- a/moz/manifest.json
+++ b/moz/manifest.json
@@ -6,7 +6,7 @@
"homepage_url": "https://github.com/SpaceK33z/web-to-plex/",
"manifest_version": 2,
- "version": "4.1.0.21",
+ "version": "4.1.0.22",
// Firefox Support =>
"applications": {
"gecko": {
diff --git a/moz/plugn.js b/moz/plugn.js
index f458308..3d053fd 100644
--- a/moz/plugn.js
+++ b/moz/plugn.js
@@ -306,7 +306,7 @@ return (
// *.
.replace(/\\.\\*/g,'(?:\\\\.[^\\\\/\\\\.]+)?')
// .*
- .replace(/([\\/\\?\\&\\#])\\*/g,'$1[^$]*')
+ .replace(/([\\/\\?\\&\\#])\\*/g,'\\\\$1[^$]*')
// /* OR ?* OR &* OR #*
, 'i')
).test
diff --git a/moz/utils.js b/moz/utils.js
index 11b9185..832fe0a 100644
--- a/moz/utils.js
+++ b/moz/utils.js
@@ -458,11 +458,11 @@ let configuration, init, Update;
prompt = furnish('div.web-to-plex-prompt', {},
furnish('div.web-to-plex-prompt-body', { style: `background-image: url(${ IMG_URL.noise_background }), url(${ IMG_URL.background }); background-size: auto, cover;` },
// The prompt's title
- furnish('h1.web-to-plex-prompt-header', { innerHTML: `${ title }${ year? ` (${ year })`: '' } \u2014 ${ type }` }),
+ furnish('h1.web-to-plex-prompt-header', { innerHTML: `${ title }${ year? ` (${ year })`: '' }` }),
// The prompt's items
furnish('div.web-to-plex-prompt-options', {},
- furnish('div.web-to-plex-prompt-option', { innerHTML: `${ i? `${i}`: '/' } \u2014 ${ t? `${t}`: '/' } \u2014 ${ v? `${v}`: '/' }` }),
+ furnish('div.web-to-plex-prompt-option', { innerHTML: `${ type } \u2014 ${ i? `${i}`: '/' } \u2014 ${ t? `${t}`: '/' } \u2014 ${ v? `${v}`: '/' }` }),
(
__CONFIG__.PromptQuality?
P_QUA = furnish('select.quality', { onchange: event => options.quality = event.target.value }, ...profiles[type].map(Q => furnish('option', { value: Q.id }, Q.name))):
diff --git a/src.crx b/src.crx
index 35d264d..192d0ad 100644
Binary files a/src.crx and b/src.crx differ
diff --git a/src.zip b/src.zip
index 119964e..9de411e 100644
Binary files a/src.zip and b/src.zip differ
diff --git a/src/manifest.json b/src/manifest.json
index 45ca658..3aca629 100644
--- a/src/manifest.json
+++ b/src/manifest.json
@@ -6,7 +6,7 @@
"homepage_url": "https://github.com/SpaceK33z/web-to-plex/",
"manifest_version": 2,
- "version": "4.1.0.21",
+ "version": "4.1.0.22",
// Firefox Support =>
// "applications": {
// "gecko": {
diff --git a/src/plugn.js b/src/plugn.js
index ffa5552..019e0cf 100644
--- a/src/plugn.js
+++ b/src/plugn.js
@@ -306,7 +306,7 @@ return (
// *.
.replace(/\\.\\*/g,'(?:\\\\.[^\\\\/\\\\.]+)?')
// .*
- .replace(/([\\/\\?\\&\\#])\\*/g,'$1[^$]*')
+ .replace(/([\\/\\?\\&\\#])\\*/g,'\\\\$1[^$]*')
// /* OR ?* OR &* OR #*
, 'i')
).test
diff --git a/src/sites/common.css b/src/sites/common.css
index 482ed37..c8f0cca 100644
--- a/src/sites/common.css
+++ b/src/sites/common.css
@@ -184,11 +184,14 @@
}
.web-to-plex-prompt-header {
- text-align: left !important;
border-bottom-color: #222 !important;
border-bottom-width: 1px !important;
border-top-left-radius: 3px !important;
border-top-right-radius: 3px !important;
+ overflow: hidden;
+ text-align: left !important;
+ text-overflow: ellpsis;
+ white-space: nowrap;
top: 0 !important;
}
@@ -242,8 +245,8 @@
width: 30px !important;
float: right !important;
- margin-right: -9px !important;
- margin-top: -42px !important;
+ margin-right: -2% !important;
+ margin-top: -8% !important;
padding: 0 !important;
}
diff --git a/src/utils.js b/src/utils.js
index 8f5bad2..8fdf06e 100644
--- a/src/utils.js
+++ b/src/utils.js
@@ -457,11 +457,11 @@ let configuration, init, Update;
prompt = furnish('div.web-to-plex-prompt', {},
furnish('div.web-to-plex-prompt-body', { style: `background-image: url(${ IMG_URL.noise_background }), url(${ IMG_URL.background }); background-size: auto, cover;` },
// The prompt's title
- furnish('h1.web-to-plex-prompt-header', { innerHTML: `${ title }${ year? ` (${ year })`: '' } \u2014 ${ type }` }),
+ furnish('h1.web-to-plex-prompt-header', { innerHTML: `${ title }${ year? ` (${ year })`: '' }` }),
// The prompt's items
furnish('div.web-to-plex-prompt-options', {},
- furnish('div.web-to-plex-prompt-option', { innerHTML: `${ i? `${i}`: '/' } \u2014 ${ t? `${t}`: '/' } \u2014 ${ v? `${v}`: '/' }` }),
+ furnish('div.web-to-plex-prompt-option', { innerHTML: `${ type } \u2014 ${ i? `${i}`: '/' } \u2014 ${ t? `${t}`: '/' } \u2014 ${ v? `${v}`: '/' }` }),
(
__CONFIG__.PromptQuality?
P_QUA = furnish('select.quality', { onchange: event => options.quality = event.target.value }, ...profiles[type].map(Q => furnish('option', { value: Q.id }, Q.name))):