-
看文档里说GM_xmlhttpRequest 支持修改特殊的headers项,还特意举例了Origin和Referer,但我手动设置包括这两个在内的几个headers发现无法修改,在实际发送的headers里我修改的项目会变成以x-cat-7fb067ca-b2d6-4a17-8b95-d7d0827256ea-开头的项加在最后。
例如:设置了几个特殊headers
```
GM_xmlht…
-
# Description
currently request not aborted.
both tampermonkey & violentmonkey support `abort()` onfly `GM_xmlhttpRequest`
- https://www.tampermonkey.net/documentation.php?locale=en#api:G…
-
**Motivation**
Firefox Multi Account containers is very useful. Each container has its own separate cookie store. For scripts that make requests, sometimes it is useful to specify what store to use (…
-
你好,Stay的创作团队:
我在编写插件的时候发现GM_xmlHttpRequest在Stay里面似乎不能携带Cookie请求API.
我写的这个插件在Userscript和Tampermonkey都可以正常请求API并且获取正确的信息,但是唯独在Stay中运行,在请求API的时候返回了"验证失败,请重新登录"的数据,经过Postman进一步分析得出是Cookie的原因.
有什么办法能让GM…
-
## Expected Behavior
When trying to fetch a local file (on the filesystem) using `GM_xmlhttpRequest` (with URL starting with "file://"), it should succeed.
## Actual Behavior
When trying to fetch…
-
I mean, are there any built in functions like `GM_wsConnectTo()` because of some webpages forbid unauthorized websocket connection, for example: "ws://localhost:8000"?
I think TM use built in funct…
-
Ref: https://www.4chan-x.net/builds/4chan-X.user.js
[FireMonkey](https://addons.mozilla.org/en-US/firefox/addon/firemonkey/) supports booth `GM_* ` & `GM.*` API, but favours `async GM.*` if a use…
-
Looks like triple slash references to remote modules don't work when there's at least 2 of them in a project:
```js
// @ts-check
///
///
```
VSCode says:
```
File 'internal:///missing_…
phaux updated
2 months ago
-
1、将源码中setInterval部分改成立即执行函数后,依旧正常工作。请问setInterval部分防止ajax搜索不生效是具体在什么情况下会发生?(已重新编辑。点击百度搜索按钮时,是ajax更新。问题1作废。。)
2、GM_xmlhttpRequest找不到官方文档,只找到了https://wiki.greasespot.net/GM.xmlHttpRequest
但是好像不太一样,根据…
-
## Expected Behavior
On deviantart.com a userscripts replicates a web request to their API.
They use a csrf-token sent as a parameter in a GET request to validate the source.
I use a simple call t…