Skip to main content

A TiddlyWeb plugin that provides a jsonp serializer.

Project description

tiddlywebplugins.jsonp is a subclass of the JSON serializer which optionally allows the JSON output from TiddlyWeb to be packaged as JSONP (JSON with padding). This is a method for getting around cross domain constraints. You should only use this if you know what you are doing with regard to security issues.

To use, add ‘jsonp’ to system_plugins in tiddlywebconfig.py.

When requests are made for JSON if there is a jsonp_callback query parameter the value of that parameter will be prepended to the output, with the required ‘(’ and ‘)’.

Created by Chris Dent, <cdent@peermore.com>, for the Wiki-Data project: http://www.wiki-data.com/

Licensed as TiddlyWeb itself.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tiddlywebplugins.jsonp-0.1.tar.gz (1.9 kB view details)

Uploaded Source

File details

Details for the file tiddlywebplugins.jsonp-0.1.tar.gz.

File metadata

File hashes

Hashes for tiddlywebplugins.jsonp-0.1.tar.gz
Algorithm Hash digest
SHA256 55675f9304a7906119b46afb3b8868a020a853546169ee32022900670d44f211
MD5 d58bfdaaaadc012f3affd4123a13084e
BLAKE2b-256 5c93566c99094aa1c729ec85ef2d380a4ae62fe6882afd5b02f9ccf1757a5cd1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page