我遇到了这个非常基本的Greasemonkey脚本的问题,很可能是元数据配置.
这是基本文件的完整源代码
// ==UserScript==
// @name Google Hello
// @namespace https://google.com
// @description Basic Google Hello
// @include *
// @version 1
// ==/UserScript==
alert("hi google!");
Run Code Online (Sandbox Code Playgroud)
我应该在访问Google.com时运行此脚本,但警报不会弹出.有什么问题?
我试图用Firefox在Ubuntu上运行这个脚本.