cyberbit / modation

Soundation, amplified.
https://cyberbit.github.io/modation
2 stars 2 forks source link

Login extender #93

Closed cyberbit closed 8 years ago

cyberbit commented 8 years ago

I had this crazy idea. If I utilized the chrome.cookies API, Modation could extend session cookies to last an indefinite amount of time. CRAZY.

cyberbit commented 8 years ago

In theory, it should be working now, but something on the server is pushing new cookies that reset the session state. Might be able to work around it, we'll see.

cyberbit commented 8 years ago

Looks like it "technically" works, now. I feel like it causes a big performance hit because of the cookie.onChanged handler cloning the storage every time. Perhaps add an options cache in localStorage?

cyberbit commented 8 years ago

Labels for days! Accelerated to release as 2.3 due to demand.

cyberbit commented 8 years ago

Implemented options cache globally, hoping that helps with performance.

Mod is (functionally) complete, just need to commit and tag this issue. Release looks good for tomorrow!