fc1314 发表于 2025-2-13 00:26:08

脚本如何在浏览器的这个页面允许

本帖最后由 fc1314 于 2025-2-13 00:32 编辑

!(data/attachment/forum/202502/13/003219xss3lm1ca34saa1s.png)
脚本始终无法在这个页面允许

```
// ==UserScript==
// @name         Password Exporter
// @namespace    http://tampermonkey.net/
// @version      0.1
// @descriptionExport Chrome passwords to CSV
// @author       fc
// @match      chrome://settings/browser
// @connect      chrome://settings/browser
// ==/UserScript==
console.log("xxxxx");

(function() {
    'use strict';
    ALERT("X");

    // Function to load jQuery
    function loadJQuery(callback) {
      var script = document.createElement('script');
      script.src = "https://code.jquery.com/jquery-3.6.0.min.js";
      script.onload = callback;
      document.head.appendChild(script);
    }
});
```


求大佬解答,始终没有输出xxxxx,更别说其他的方法了

李恒道 发表于 2025-2-13 00:26:09

chrome的是没法操控的
页: [1]
查看完整版本: 脚本如何在浏览器的这个页面允许