Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

request not aborted #85

Open
magicdawn opened this issue Jun 8, 2023 · 1 comment
Open

request not aborted #85

magicdawn opened this issue Jun 8, 2023 · 1 comment

Comments

@magicdawn
Copy link

Description

currently request not aborted.

both tampermonkey & violentmonkey support abort() onfly GM_xmlhttpRequest

pseudo code for using abort of the return value

requet.singal.addEventListener('abort', () => {
  ret?.abort?.()
})
const ret = GM.xmlhttpRequest(...)
@trim21
Copy link
Owner

trim21 commented Jun 13, 2023

are you interested in submiting a PR for this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants