Made this upon request a long time ago and didn’t think it needed its own thread, but it has a decent amount of installs so here we go.
What it does is add a shortcut to vacation mode to the menu. The button was previously located on the dashboard, but with the new update I figured this would be a better location.
Hi there. This wasn’t working for me, and I made this change to get it to work. I don’t know if there is a better way to submit suggestions for changes to user scripts.
I’m on Firefox 78 and TamperMonkey 4.11.6117.
I changed this line: btn.onclick = function() {$.post(form.url, form.data); window.location.reload();};
Thanks! I don’t use this script myself, so I really appreciate the improvements! I have added this too, as well as a CSS rule to make the cursor a pointer so that it’s clear that you can click it.