And this is for security reasons. Gramps is not concerned by this problem.
Thanks to Serge & Patrick
Serge I would argue GRAMPS is concerned because it has stopped the use
of an Addon in what was a previously acceptable manner.
Patrick I was aware about closing of the window, but was using my
village idiot head to point out that if I pass this to a non computer
literate person it is another issue to explain.
My whole purpose of using the Narrated Web Report was to pass on in a
simple manner my tree information in as complete, well presented manner
as possible. I have accepted this will not be the case going forward and
will need to look for an alternative.
Thanks for your time and effort
phil
What addon are you speaking about ?
Can you send me one page which reproduce the problem.
serge dot noiraud at free dot fr
I haven’t commented on this thread yet, but I have been following it
because it does affect me. I use the Narrative Web report to generate
pages for my public web site (www.cridermcdowellfamily.com) and I also
use it occasionally to generate reports that I put on USB drives for
family members. For the public web site, I omit private data and only
include names for living people, but I include everything when I put it
on a USB drive. But for now, it sounds like I need to turn off maps
when I generate a report to put on USB drives.
In addition to the Narrative Web report, this issue affects the Dynamic
Web report which I also use and the new Greatgramps project that I don’t
know if I will use but I am watching it.
That brings me to two questions.
- Are there enough users of the Narrative Web report and these other
projects to warrant the Gramps developers working with the OpenStreetMap
developers to come up with a solution that would make it possible to
continue using Openstreetmap in the way some of us have been using it? - What does Gramps use for the Geography view? I know it uses
OpenStreetMap data, but I haven’t used it much and don’t know how it
works. It there any chance a similar approach could be used in web pages?
Allen Crider
OpenStreetMap system administrator and Operations Working Group member here…
If you’re seeing that then something is causing the usage policy to be violated. If it’s a web site then likely it’s not sending a referer header so make sure an appropriate referer policy is set for the request. If it’s an application then most likely it’s not sending a User-Agent header that properly identifies it - often that’s because the agent is a generic one from the library being used to make the requests.
I wanted the html source page, not screenshots.
While pure HTML/JavaScript cannot directly set the User-Agent header (due to browser security restrictions), local development workarounds exist:
- Modify your local server to skip User-Agent checks.
- Use a browser extension to spoof the UA for testing.
- Route requests through a proxy server (for advanced scenarios).
For most developers, browser extensions are the simplest solution to mimic custom User-Agents during local testing. Always remember to re-enable security checks (like UA validation) in production!
The issue only occurs when the website is stored on a hard drive (or a thumb drive) and run locally. The url starts with file c:\.... The OSM service displays as expected when the created website is uploaded to a server.
Please provide us with the steps we need to take so that I (and many others) can continue using your wonderful service.
This new behavior is a recent change.
Yes web pages loaded from the file system are tricky because they can’t send a referer but the user agent is a generic browser agent.
The solution is to send an X-Requested-With header instead as discussed in Error 403 when using local files - referer missing - can I use User Agent and what should it contain - Help and support - OpenStreetMap Community Forum.
As per Dave
There has been a lot of discussion on here with the issue being static
websites run from a local drive I had discussions on the Openstreet
Community Forum which quite rightly focused on the their efforts being
made to block bot attacks. This problem is a result of the unintended
consequences. Can we move on from suggesting running servers and
proxies. There are a number of people who want to use local file based
static websites
I have previously posted the very thing that Tom is putting forward as
this was the guidance I got on the Openstreet Community Forum
Serge do you still want the page .html
phil
Yes, except if you did no modification to the narrative web.
My goal is the same. So I send a USB key or other medium and warn them about the OSM failure. I also give them my computer URL as an alternative.
Serge I am almost 100% sure that I have not made any changes to the Report with the version I have installed which was installed 27th Nov 2025 but here is a sample file
da32b6d91b5677c61516622b100.html (15.5 KB)
phil

