Skip to content

Commit

Permalink
Beta branch update (#14)
Browse files Browse the repository at this point in the history
* Fixed options page, theme, and saving errors. Updated UI/UX

* Fixed #127. Applied recommendations from DeepScan.

* Beta branch (#128)

* Fixed options page, theme, and saving errors. Updated UI/UX

* Fixed #127. Applied recommendations from DeepScan.

* Fixed #127. Fixed minor commentation errors (grammar).
  • Loading branch information
Ephellon authored Dec 11, 2019
1 parent f33199f commit dbae928
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion moz/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"homepage_url": "https://github.com/SpaceK33z/web-to-plex/",

"manifest_version": 2,
"version": "4.1.1.0",
"version": "4.1.1.1",
// Firefox Support =>
"applications": {
"gecko": {
Expand Down
4 changes: 2 additions & 2 deletions moz/options.js
Original file line number Diff line number Diff line change
Expand Up @@ -1363,7 +1363,7 @@ function HandleProxySettings(data) {
R = RegExp;

/* "All" secure URI schemes */
if(!/^(aaas|https|msrps|sftp|smtp|shttp|sips|ssh|wss)\:\/\//i.test(ProxyURL))
if(UseProxy && ProxyURL && !/^(aaas|https|msrps|sftp|smtp|shttp|sips|ssh|wss)\:\/\//i.test(ProxyURL))
throw new Notification('error', `Insecure URI scheme '${ R.$1 }' detected. Please use a secure scheme.`);

return {
Expand Down Expand Up @@ -1934,7 +1934,7 @@ for(let index = 0, length = builtin_array.length; builtinElement && index < leng
`
<h3>${ title }</h3>
<div class="checkbox">
<input id="${ name }" type="checkbox" data-option="${ name }" bid="${ r }" js="${ js }">
<input id="${ name }" type="checkbox" data-option="${ name }" bid="${ r }" js="${ js }" checked>
<label for="${ name }"></label>
</div>
<div>
Expand Down
2 changes: 1 addition & 1 deletion moz/webtoplex.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ let script = {
return { type, title, year, image, IMDbID, TMDbID };
},

// optional | functioanlity only
// optional | functionality only
"getType": () => ($('#info').first.getAttribute('type') == 'movie'? 'movie': 'show'),

"getID": (provider) => $(`#${provider}`).first.textContent,
Expand Down
2 changes: 1 addition & 1 deletion src/cloud/__layout__.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@ let script = {
return { type, title, year, image };
},

// optional | functioanlity only
// optional | functionality only
"getType": () => 'movie' || 'show',
};
2 changes: 1 addition & 1 deletion src/cloud/__test__.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,6 @@ let script = {
return { type, title, year, image };
},

// optional | functioanlity only
// optional | functionality only
"getType": () => $('#example').first.getAttribute('type'),
};
2 changes: 1 addition & 1 deletion src/cloud/webtoplex.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ let script = {
return { type, title, year, image, IMDbID, TMDbID };
},

// optional | functioanlity only
// optional | functionality only
"getType": () => ($('#info').first.getAttribute('type') == 'movie'? 'movie': 'show'),

"getID": (provider) => $(`#${provider}`).first.textContent,
Expand Down
2 changes: 1 addition & 1 deletion src/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"homepage_url": "https://github.com/SpaceK33z/web-to-plex/",

"manifest_version": 2,
"version": "4.1.1.0",
"version": "4.1.1.1",
// Firefox Support =>
// "applications": {
// "gecko": {
Expand Down
4 changes: 2 additions & 2 deletions src/options/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -1386,7 +1386,7 @@ function HandleProxySettings(data) {
R = RegExp;

/* "All" secure URI schemes */
if(!/^(aaas|https|msrps|sftp|smtp|shttp|sips|ssh|wss)\:\/\//i.test(ProxyURL))
if(UseProxy && ProxyURL && !/^(aaas|https|msrps|sftp|smtp|shttp|sips|ssh|wss)\:\/\//i.test(ProxyURL))
throw new Notification('error', `Insecure URI scheme '${ R.$1 }' detected. Please use a secure scheme.`);

return {
Expand Down Expand Up @@ -1957,7 +1957,7 @@ for(let index = 0, length = builtin_array.length; builtinElement && index < leng
`
<h3>${ title }</h3>
<div class="checkbox">
<input id="${ name }" type="checkbox" data-option="${ name }" bid="${ r }" js="${ js }">
<input id="${ name }" type="checkbox" data-option="${ name }" bid="${ r }" js="${ js }" checked>
<label for="${ name }"></label>
</div>
<div>
Expand Down

0 comments on commit dbae928

Please sign in to comment.