If I remember correctly I tried it using both a local file and the same 
wiki hosted on TiddlySpot. I believe the CORS restrictions apply equally to 
both local files and hosted files, because either way the domain is 
different to pinboard.in.

I understand that what I've tried doesn't work for good reasons so I'm just 
wondering if there are any workaround or alternative approaches I might 
try. Basically I just like to know if it's even possible!

Cheers,
Dan

On Wednesday, 17 August 2016 20:27:39 UTC+1, PMario wrote:
>
> Hi Daniel,
>
> If you try to write from a local file based Tiddlywiki to an online API 
> you'll have no luck. Browser vendors consider this behaviour insecure and 
> block it. 
>
> JSONP .. search for "jsonp security 
> <https://www.google.at/search?q=jsonp+security&ie=utf-8&oe=utf-8&client=firefox-b&gfe_rd=cr&ei=_7W0V_OvAbTS8Ae8-7eoCQ#q=jsonp+security&tbs=qdr:y>"
>  
> and you probably don't want to use it. 
>
> If you did access the piboard api from a local file it may explain the  
> CORS <https://en.wikipedia.org/wiki/Cross-origin_resource_sharing>, 
> errors too. 
>
> Can you describe your setup a bit closer?
>
> -mario
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/49794c02-0198-4b4e-a7c0-39767fa59d41%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to