Last active
April 19, 2018 05:51
-
-
Save abrkn/42462a9f094276ca68b7fc4ecdf8fb39 to your computer and use it in GitHub Desktop.
Auto-fill Memo.cash Password with Tampermonkey for Chrome
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Auto-fill Memo-cash password | |
// @namespace https://tampermonkey.net/ | |
// @version 0.2 | |
// @description Auto-fill Memo.cash Password with Tampermonkey for Chrome | |
// @author Andreas Brekken: https://memo.cash/profile/149o1esm1LrYEy1DizZgxANSppx3FESHKw | |
// @match https://memo.cash/* | |
// @grant none | |
// ==/UserScript== | |
jQuery(() => { | |
alert('Project has been moved to https://github.com/abrkn/tampermonkey-autofill-memo-password'); | |
return; | |
const $password = $('[type="password"]'); | |
if (!$password.length) { return; } | |
let password = localStorage['memo-password']; | |
if (!password) { | |
password = prompt('Enter Memo password'); | |
if (!password) { | |
return; | |
} | |
localStorage['memo-password'] = password; | |
} | |
$password.val(password); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm at 3% battery on laptop. Need to write instructions later.