Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Time updating script #8

Open
jcushman opened this issue Nov 21, 2017 · 2 comments

Comments

Projects
None yet
2 participants
@jcushman
Copy link
Contributor

commented Nov 21, 2017

As perennially requested in metatalk, how about a script that loads your preferences page once per day, compares "(your preferences time: 8:21 AM)" against your actual current time taken from javascript, and updates the server offset if they don't match?

@shirlston

This comment has been minimized.

Copy link

commented Nov 22, 2017

This shouldn't be too hard as a greasemonkey script that changes the offset on document ready (only if it needs to be changed) when the user loads their profile page edit. I'm not so sure about running every day on a schedule if it's not an extension, but I could be wrong about that. I might take a whack this weekend after the turkey coma wears off.

@jcushman

This comment has been minimized.

Copy link
Contributor Author

commented Nov 22, 2017

Great!

My idea for "once per day" was basically, on load of any mefi page, if local storage says the last check was > 24 hours ago, check again. But just running on the profile page might be less finicky.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.