diff --git a/404.html b/404.html
index fcfb04ba..c8d60d66 100644
--- a/404.html
+++ b/404.html
@@ -11,6 +11,13 @@
var GITHUB_ISSUES_LINK =
"https://api.github.com/repos/nelsontky/gh-pages-url-shortener-db/issues/";
var PATH_SEGMENTS_TO_SKIP = 0;
+ // Only available after owner closes
+ // example yourGithubName
+ // if you don't need Comment out lines 17, 18, 52, 53, 54, 55, 56
+ var ME =
+ 'nelsontky'
+
+
/**
* DO NOT TOUCH ANYTHING BELOW THIS COMMENT UNLESS YOU KNOW WHAT YOU ARE DOING
@@ -42,6 +49,11 @@
var payload = JSON.parse(xhr.response);
var message = payload.message;
var title = payload.title;
+ var login = payload.closed_by.login;
+
+ if (login!=ME){
+ window.replace=homepage;
+ }
// Workaround IE 11 lack of support for new URL()
var url = document.createElement("a");
diff --git a/README.md b/README.md
index dbfcd7c9..6621e8c3 100644
--- a/README.md
+++ b/README.md
@@ -82,6 +82,7 @@ To feature your fork here, edit this section and open a PR!
- [eexit.github.io/s](https://github.com/eexit/s) - Created a bash script that
allows for shortening of URLs straight on the command line! Check out his
script
- [here](https://github.com/nelsontky/gh-pages-url-shortener/issues/49#issue-745134937).
+ [here](https://github.com/nelsontky/gh-pages-url-shortener/issues/49#issue-745134937).
+- [here An update, that requires the owner to close the issue before it can be used](https://github.com/wmz1024-files/gh-pages-url-shortener).
- [gh-short-url](https://github.com/mayandev/gh-short-url) - A npm command line
tool that uses GitHub pages to convert short URLs.