简体   繁体   中英

Remove login from Chrome extension?

First off, the code blocks on the site were acting wonky for me, so I used pastebin instead. Sorry :X Here you go

Basically, this is a Google Chrome extension which requires a login to use the rest of the features. My friend has given me the challenge of removing the login and make it possible to simply run the extension and use all the features. I have tried simply removing the bits of code involving "userEmail" and the "Registered," and the login screen was removed. However, the extension did not work correctly, as the start button refused to do anything.

So my goal as said before is to remove the login screen. By the way, this is one file within the extension. There are other files, but I believe this is the only one which deals with logging in. If you feel like you need the rest of the files of the extension, it is found here .

If you feel like you actually need the extension itself, just let me know. Thanks in advance for all help given, whether it be giving ideas or modifying the code yourselves!

I would change as little as possible. Instead of deleting large portions, just make tiny changes.

Set the userIsRegistered variable to default to true, then empty out the checkRegistered function, so that it does nothing, but still exists.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM