
Security News
Browserslist-rs Gets Major Refactor, Cutting Binary Size by Over 1MB
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
cordova-plugin-cors
Advanced tools
Allow cross origin request (CORS) with WKWebView on iOS.
This plugin should be compatible with every plugin providing a WKWebView engine for Cordova and has been tested with cordova-plugin-wkwebview-engine and cordova-plugin-ionic-webview.
cordova plugin add cordova-plugin-cors
This plugin replaces the XMLHttpRequest
object. There is no code modification required. It should work seamlessly.
It has been tested with pure Javascript code and with Angular HttpClient
object.
Zone.js support is also integrated. Event listeners will be called within the zone used when calling send()
.
var request = new XMLHttpRequest();
request.open('GET', 'https://cordova.apache.org', true);
request.onreadystatechange = function(event) {
if (this.readyState === XMLHttpRequest.DONE) {
if (this.status === 200) {
console.info('Cross origin request was sent with success!', this.responseText);
} else {
console.error('Cross origin request failed :(', this.status, this.statusText);
}
}
};
request.send(null);
Synchronous requests are not supported.
[1.3.0] - 2021-11-17
FAQs
Allow CORS requests on iOS with WKWebView.
The npm package cordova-plugin-cors receives a total of 123 weekly downloads. As such, cordova-plugin-cors popularity was classified as not popular.
We found that cordova-plugin-cors demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
Research
Security News
Eight new malicious Firefox extensions impersonate games, steal OAuth tokens, hijack sessions, and exploit browser permissions to spy on users.
Security News
The official Go SDK for the Model Context Protocol is in development, with a stable, production-ready release expected by August 2025.