diff --git a/README.md b/README.md index 61da5f9..84285bf 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ [![Stargazers][stars-shield]][stars-url] [![Issues][issues-shield]][issues-url] [![MIT License][license-shield]][license-url] -[![Generic badge](https://img.shields.io/badge/Version-3.0.1-brightgreen?style=for-the-badge&logo=appveyor)](https://github.com/vishal-lokare/AutoJoomer) +[![Generic badge](https://img.shields.io/badge/Version-3.0.2-brightgreen?style=for-the-badge&logo=appveyor)](https://github.com/vishal-lokare/AutoJoomer) [contributors-shield]: https://img.shields.io/github/contributors/vishal-lokare/AutoJoomer.svg?style=for-the-badge [contributors-url]: https://github.com/vishal-lokare/AutoJoomer/graphs/contributors @@ -21,7 +21,7 @@ ![Firebase](https://camo.githubusercontent.com/ea0283d34b92d1905070c14ffe1c48412fef80c44232679c0657db176708403f/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f46697265626173652d79656c6c6f773f7374796c653d666f722d7468652d6261646765266c6f676f3d666972656261736526)

- AutoJoomer
+ AutoJoomer
AutoJoomer


AutoJoomer extension on Chrome Webstore - Add to your browser

diff --git a/manifest.json b/manifest.json index 9201771..4aa71dd 100644 --- a/manifest.json +++ b/manifest.json @@ -1,6 +1,6 @@ { "name": "AutoJoomer", - "version": "3.0.1", + "version": "3.0.2", "manifest_version": 3, "icons": { "128": "src/images/icon.png" diff --git a/src/js/checklog.js b/src/js/checklog.js new file mode 100644 index 0000000..57aa9d8 --- /dev/null +++ b/src/js/checklog.js @@ -0,0 +1,7 @@ +chrome.storage.local.get(["AutoJoomerUsername"], function (result) { //checks if user has logged in to show login page on opening popup + if (!result.AutoJoomerUsername) { + window.open("/src/pages/login/login.html", "_self"); + } else { + + } + }); diff --git a/src/js/popup.html b/src/js/popup.html index 9705b07..4faa2ff 100644 --- a/src/js/popup.html +++ b/src/js/popup.html @@ -11,7 +11,8 @@ - + +