Do Not Remember Me

By Jake Kasprzak Last update Oct 4, 2009 — Installed 683 times.

Additional regexes for unchecking and perhaps checking boxes

in
Subscribe to Additional regexes for unchecking and perhaps checking boxes 3 posts, 2 voices



ns4tne Scriptwright
FirefoxWindows

Jake,
I tweaked my install tonight to accommodate Bugzilla's login system, adding the following regex to unCheckTextRe:
uncheckTextRe[3] = new RegExp("remember.*(?:log|sign) ?(?:in|on)", "i");
(to match "Remember my login" on e.g. https://bugzilla.mozilla.org/?GoAheadAndLogIn=1).

Also, you may want to add a regex to search for the (rather rare) option to restrict a session to the current IP (also seen on that page). It would probably be something like this (untested, and not generalized very thoroughly):
checkTextRe[1] = new RegExp("(?:restrict)?.*session.* IP(?: address|$)", "i");

Thanks for a nice script, BTW!

 
Jake Kasprzak Script's Author
ChromeWindows

Hello, and thank you for your suggestions and compliments.

I modified the script so that it would work with Bugzilla's login form. However, I chose not to modify it so that checkmarks would be removed from or added to options to restrict sessions to the current IP address. This script is only for ensuring that the option to be remembered is not checked, as I mentioned here: http://jake.kasprzak.ca/2009/04/20/do-not-remem...

Thanks,

J.K.

 
ns4tne Scriptwright
FirefoxWindows

Ah, OK. Yeah, I wasn't sure whether it would be all that useful to auto-check IP lockin, but figured I'd give it a shot anyway.

Looks good so far, thanks!

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel