基本实现完成GM API
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
// ==UserScript==
|
||||
// @name New Userscript
|
||||
// @name GM cookie操作
|
||||
// @namespace https://bbs.tampermonkey.net.cn/
|
||||
// @version 0.1.0
|
||||
// @description 可以控制浏览器的cookie, 必须指定@connect, 并且每次一个新的域调用都需要用户确定
|
||||
@ -9,8 +9,6 @@
|
||||
// @connect example.com
|
||||
// ==/UserScript==
|
||||
|
||||
// GM_cookie("store") 方法请看storage_name/gm_value.js的例子, 可用于隐身窗口的操作
|
||||
|
||||
GM_cookie("set", {
|
||||
url: "http://example.com/cookie",
|
||||
name: "cookie1", value: "value"
|
||||
|
Reference in New Issue
Block a user