Hi Michael,
thanks for getting back to me. Using the fetch API is a great idea and it
might be possible to use in my case. Right now we don't use service
workers, but I think it might be possible.
Regarding my initial request, is there a way we could an alternative to
refferer and useragent to wikimedia maps like query parameters? I think
it's not only me who struggles with this, I know several map libraries that
don't easily allow to change the user-agent or referrer. If this is
something you would consider, I'd be happy to have a look and see if I can
contribute the relevant changes. Is this part open source? I had a look at
the kartotherian <https://github.com/kartotherian/> org but couldn't
identify the relevant part.
Thanks,
Robin
On Fri, Nov 30, 2018 at 7:15 PM Michael Holloway <mholloway(a)wikimedia.org>
wrote:
Hi Robin,
Thanks for reaching out. Have you considered using the referrer policy
controls available in the fetch API
<https://googlechrome.github.io/samples/fetch-api/fetch-referrer-policy.html>,
or is there some reason those won't work for your use case?
Best,
Michael
On Mon, Nov 26, 2018 at 11:09 AM Robin Boldt <boldtrn(a)web.de> wrote:
Hi,
thanks for providing this brilliant map service. I'd like to use it in a
third-party application (a website), in accordance with the terms of use. I
am sorry if this has been asked before, I tried to check the last couple
months of the mailing list, but couldn't find anything related.
For privacy reasons, the website uses the no-referrer policy. While I
think sharing a referrer with Wikimedia is alright, my website allows
browsing OSM data, including links to the websites set in OSM, and I don't
trust these websites with a referrer. Unfortunately, the referrer policy
does not allow fine-grained configuration, it's a global on/off switch.
Changing the user agent in a browser is considered a hack, and while it
might work, it can break other third-party tools and could break with every
browser update or when using an uncommon browser.
So I was wondering if you would consider a third method of authorization,
like a query parameter that can be added to the url like `?referrer=
example.com&contact=mail(a)example.com`? I think this could help people to
use your service in accordance to the terms of use.
Thanks in advance,
Robin
_______________________________________________
Maps-l mailing list
Maps-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/maps-l
_______________________________________________
Maps-l mailing list
Maps-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/maps-l