Skip to content

Commit

Permalink
1.0.3
Browse files Browse the repository at this point in the history
Added Edge based links for disabling block reload functionality for Edge compatibility.
  • Loading branch information
alexnguyennz committed Aug 26, 2020
1 parent 6c3da14 commit 5b99af6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion public/manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"manifest_version": 2,
"name": "Page Refresher",
"version": "1.0.2",
"version": "1.0.3",
"author": "Alex Nguyen",
"description": "A simple per-tab automatic page refresher/reloader.",
"icons": {
Expand Down
2 changes: 1 addition & 1 deletion public/options.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

<img src="./src/img/banner.png">
<p id="extension-info">
Version: 1.0.2<br>
Version: 1.0.3<br>
Author: Alex Nguyen<br>
Source Code: <a href="https://github.com/alexnguyennz/pagerefresher" target="_blank">GitHub</a>
</p>
Expand Down
2 changes: 1 addition & 1 deletion public/src/js/global.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export function getTimeFormat(totalSeconds) {
// *** Check if the URL matches a forbidden one, and disable the relevant checkbox. *** //
export function urlCheck(tabURL, elementID) {

const urlArray = ["chrome://", "chrome-extension://", "https://chrome.google.com/webstore"];
const urlArray = ["chrome://", "chrome-extension://", "https://chrome.google.com/webstore", "edge://", "extension://"];
const check = urlArray.some(el => tabURL.includes(el));

(check ? $(elementID).disabled = true: $(elementID).disabled = false);
Expand Down

0 comments on commit 5b99af6

Please sign in to comment.