Skip to content

V2.6.4 - #162

Merged
Manuito83 merged 31 commits into
masterfrom
v2.6.4
Jan 17, 2022
Merged

V2.6.4#162
Manuito83 merged 31 commits into
masterfrom
v2.6.4

Conversation

@Manuito83

Copy link
Copy Markdown
Owner

No description provided.

Manuito83 and others added 30 commits January 2, 2022 10:24
In browsers, userscripts can make cross-origin http requests by using
the Grease Monkey API, "GM_xmlHttpRequest". This change provides a
similar capability to scripts in TornPDA. It adds two javascript
functions, PDA_httpGet and PDA_httpPost, that scripts can call
to make cross-origin requests using the two most common http methods.

The javascript calls are routed through InAppWebView to dart handlers
that delegate to the http package. Responses are returned asynchronously
to javascript as objects that resemble those returned by the GM api.
Add a tip on the tips page that makes users aware of the API. The tip
includes a link to github where they can view the details.

Update userscripts/README.md to note the capabilities of the API
and link to the API js file, where developers can see function
definitions.
Add Javascript API for userscripts
@Manuito83
Manuito83 merged commit be77253 into master Jan 17, 2022
@Manuito83
Manuito83 deleted the v2.6.4 branch December 16, 2023 14:45
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

Successfully merging this pull request may close these issues.

1 participant