This shows you the differences between two versions of the page.
Next revision | Previous revision Last revision Both sides next revision | ||
sample_code:passwordvault [2022/07/24 17:04] al4he6 created |
sample_code:passwordvault [2022/07/25 16:22] al4he6 changed to downloadable |
||
---|---|---|---|
Line 11: | Line 11: | ||
Requires the Biometric plugin (or you could comment out that code)\\ | Requires the Biometric plugin (or you could comment out that code)\\ | ||
- | <code> | + | <file js passwordvault.js> |
app.LoadPlugin( " | app.LoadPlugin( " | ||
var mpw // plaintext master password | var mpw // plaintext master password | ||
Line 63: | Line 63: | ||
} // fn | } // fn | ||
function opendb () { | function opendb () { | ||
- | | + | // |
+ | db = app.OpenDatabase(app.GetSpecialFolder(" | ||
db.ExecuteSql(" | db.ExecuteSql(" | ||
// | // | ||
Line 167: | Line 168: | ||
} | } | ||
- | </code> | + | </file> |