Greasy Fork

Shined up real nice.

Fix PC Financial page title for KeePass2

Adds a page title if necessary to ensure external password managers can identify the page

After trying this script, you can ask a question about it, review it, or report it.
Author
ssokolow
Daily installs
0
Total installs
4
Ratings
0 0 0
Version
1
Created
Updated
License
N/A
Applies to
  • pcfinancial.ca

Author's Description

As of October 2015, President's Choice Financial has switched to a new login page which doesn't set a title. This prevents external password managers like KeePass2 from being able to match it for hotkey-based auto-type.

This script corrects that in a future-proof way by setting a page title if none is set.

As this script will run on your financial institution's website, I've made it as simple as absolutely possible (three lines, including closing curly brace, and no @requires) so anyone who knows how to install a Greasemonkey script should be able to audit it.

Please click the Code tab and verify the following before installation:

  1. The ==UserScript== block at the top contains no @require lines.
  2. The code consists of:
    1. An if statement checking for !document.title (no document title)
    2. A line to set document.title
    3. A closing curly brace.

Share