/usr/share/webext/browserpass/options.js is in webext-browserpass 2.0.11+dfsg-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 | function save_options() {
var autoSubmit = document.getElementById("auto-submit").checked;
localStorage.setItem("autoSubmit", autoSubmit);
window.close();
}
function restore_options() {
var autoSubmit = localStorage.getItem("autoSubmit") == "true";
document.getElementById("auto-submit").checked = autoSubmit;
}
document.addEventListener("DOMContentLoaded", restore_options);
document.getElementById("save").addEventListener("click", save_options);
|