web page code error
Hi, I have a webpage ( https://www.islay.co.uk/ferryinfo/) using the js code you provide but it fails to show the map and returns console errors below in chrome. Can you advise?
ERRORS.
mtGlobals.js:21 Uncaught DOMException: Failed to read the 'localStorage' property from 'Window': Access is denied for this document.
at https://www.marinetraffic.com/js/94cf1970599b0d0fff64.mtapp.479.034e25.js:1:70538
at 177071 (https://www.marinetraffic.com/js/94cf1970599b0d0fff64.mtapp.479.034e25.js:1:70774)
at o (https://www.marinetraffic.com/js/fd68be58ac9684c613db.mtapp.479.034e25.js:1:325298)
at 504156 (https://www.marinetraffic.com/js/a4f81e133c791e5a529b.mtapp.479.034e25.js:1:75370)
at o (https://www.marinetraffic.com/js/fd68be58ac9684c613db.mtapp.479.034e25.js:1:325298)
at https://www.marinetraffic.com/js/fd68be58ac9684c613db.mtapp.479.034e25.js:1:346800
at o.O (https://www.marinetraffic.com/js/fd68be58ac9684c613db.mtapp.479.034e25.js:1:325631)
at https://www.marinetraffic.com/js/fd68be58ac9684c613db.mtapp.479.034e25.js:1:346817
at https://www.marinetraffic.com/js/fd68be58ac9684c613db.mtapp.479.034e25.js:1:346822
-
Dear Gordon,
Thank you for contacting MarineTraffic.
I can see that you have already integrated our embed map into your system and it is properly shown on your website.
I can properly open the website and load the map, as you can see n the screenshot below:
Can you please clarify if you cannot see that view?
I will remain at your disposal,
-
Hi Vasiliki thanks for the quick reply.
This is strange. On windows 10 , Firefox and Chrome browsers show the map OK, but the Opra does not show the map. On my Android 11 phone and my Chromebook, using chrome, the map does not show. Inspecting the Chrome page the console errors above are reported.
Can I ask what OS and browser you used to get the screenshot you shared?
-
Hello again,
Thank you for your reply.
I use Google Chrome, which is the browser I retrieved the screenshot.
However, I tested this in Opera, as well and I was able to see the embed map.
Can you please check the settings of your browser on that device, in case something is blocked there?
I hope you will resolve the issue soon.
Kind regards,
Please sign in to leave a comment.
Comments
3 comments