mirror of
https://github.com/ProxymanApp/Proxyman.git
synced 2026-04-27 00:55:57 +03:00
[GH-ISSUE #1622] how to use TextEncoder in script? #1613
Labels
No labels
Discussion
Feature request
In Progress...
Plugins
Waiting response
Windows
Windows
bug
duplicate
enhancement
feature
good first issue
iOS
macOS 10.11
question
wontfix
✅ Done
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/Proxyman#1613
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Geczy on GitHub (Apr 30, 2023).
Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/1622
Description
09:43:50.313: [onRequest] with Request ID=1086
❌ Error: ReferenceError: Can't find variable: TextEncoder
Run onRequest() func as normal (sync) mode
❌ Error: ReferenceError: Can't find variable: TextEncoder
Skip executing the script because it is on Editing Mode. Please save and activate it (⌘S)!
https://developer.mozilla.org/en-US/docs/Web/API/TextEncoder
@Geczy commented on GitHub (Apr 30, 2023):
i ended up importing a polyfill and using that like this