0

有一个网站令人讨厌地不保存密码。

我必须创建这个不安全、不安全的脚本(我使用 Greasemonkey 运行)来保存密码:

// ==UserScript==
// @name        example.comAutomation
// @include     *example.com/*
// ==/UserScript==

if ( document.location.href == "https://subdomain.example.com/" ) {
    document.querySelector("#x").value = "myEmail";
  document.querySelector("#y").value = "myPassword";
  document.querySelector("#z").click();
}

if ( document.location.href == "https://subdomain.example.com/overview" ) {
    console.log(window.location.href);
  document.location.href = "https://example.com/list"  
}

假设我不想使用外部密码管理软件(PMS)。

我怎样才能以某种方式在 Greasemonkey 中使用散列来保护上面的代码?

当然,强化操作系统总是好的。

4

0 回答 0