Monday 29 November 2021

'Not allowed to load local resource' error with Safari

 If, after archiving a site in 'browsable' / 'processed' form using WebArch or Website Watchman, parts of the page aren't visible, it may be because of Safari's security restrictions.

If a page uses a js file and that file has been properly saved locally, the browser may still not allow access to that file.  Open up your browser's console and check:

Here you can see my browser isn't allowing access to mmenudom.js, even though that file exists in the same folder as the index.html file. 

The answer is simple, from the Developer menu, select 'Disable Local File Restrictions'. 

I should add that this restriction exists for a reason, and that you shouldn't leave it disabled permanently.


No comments:

Post a Comment