Page load element mystery

I am using Stacks and i have created a webpage which is supposed to display the live location for my boat. I am using three different trackers each has different coverage. The best on is Marine Traffic.

On the webpage Where is Sea Crusader | Sea Crusader you can see that two of the maps display correctly but marine Traffic produces a blank page.

If you use Chrome Developer mode you can see some errors. Interestingly the page loads perfectly in Rapid Weaver in preview mode it is only broken on the live website.

Here is the code I am using and it has been working well for about 6 years but has recently stopped working.

Are there any changed to this code I can make which is going to fix the errors shown in Chrome?

Just a thought: please use a https and not a http link for the missing embed. If this does not help, add the errors you see in the console here.

I have removed the other maps to isolate the problem. Here are the errors when on the Marine Traffic code is used:-

Cookie warnings 3

Cookie “_ga_BYRJKKJGZB” has been rejected for invalid domain. where

Cookie “_ga_BYRJKKJGZB” has been rejected for invalid domain. where

Cookie “_ga” has been rejected for invalid domain. where

Cookie “_ga_BYRJKKJGZB” has been rejected for invalid domain. where

Cookie “_ga_BYRJKKJGZB” has been rejected for invalid domain. where

Partitioned cookie or storage access was provided to “https://www.marinetraffic.com/en/ais/embed/shownames:false/mmsi:235065225/” because it is loaded in the third-party context and dynamic state partitioning is enabled.

ed4e5fa136ccc14f7575.mtapp.v631-17438578636.js:2:53084

Source map error: Error: request failed with status 404 Stack in the worker:networkRequest@resource://devtools/client/shared/source-map-loader/utils/network-request.js:43:9 Resource URL: https://www.marinetraffic.com/js/ed4e5fa136ccc14f7575.mtapp.v631-17438578636.js Source Map URL: ed4e5fa136ccc14f7575.mtapp.v631-17438578636.js.map

UncaughtTypeError:can’t access property “store”, i is null

Y https://www.marinetraffic.com/js/859ec5bd3869a60459aa.mtapp.v631-17438578636.js:2

default https://www.marinetraffic.com/js/554bef39f51be9e527bd.mtapp.v631-17438578636.js:1

\_a https://www.marinetraffic.com/js/a33516170bd39ae0aff0.mtapp.v631-17438578636.js:2

Ai https://www.marinetraffic.com/js/a33516170bd39ae0aff0.mtapp.v631-17438578636.js:2

Gi https://www.marinetraffic.com/js/a33516170bd39ae0aff0.mtapp.v631-17438578636.js:2

Gs https://www.marinetraffic.com/js/a33516170bd39ae0aff0.mtapp.v631-17438578636.js:2

Ys https://www.marinetraffic.com/js/a33516170bd39ae0aff0.mtapp.v631-17438578636.js:2

Ks https://www.marinetraffic.com/js/a33516170bd39ae0aff0.mtapp.v631-17438578636.js:2

Rs https://www.marinetraffic.com/js/a33516170bd39ae0aff0.mtapp.v631-17438578636.js:2

Pc https://www.marinetraffic.com/js/a33516170bd39ae0aff0.mtapp.v631-17438578636.js:2

j https://www.marinetraffic.com/js/6ac50513287c9d157e69.mtapp.v631-17438578636.js:2

266310 https://www.marinetraffic.com/js/6ac50513287c9d157e69.mtapp.v631-17438578636.js:2

o https://www.marinetraffic.com/js/cb33bb913ed67df82797.mtapp.v631-17438578636.js:1

597967 https://www.marinetraffic.com/js/6ac50513287c9d157e69.mtapp.v631-17438578636.js:2

o https://www.marinetraffic.com/js/cb33bb913ed67df82797.mtapp.v631-17438578636.js:1

986974 https://www.marinetraffic.com/js/a33516170bd39ae0aff0.mtapp.v631-17438578636.js:2

o https://www.marinetraffic.com/js/cb33bb913ed67df82797.mtapp.v631-17438578636.js:1

25873 https://www.marinetraffic.com/js/a33516170bd39ae0aff0.mtapp.v631-17438578636.js:2

o https://www.marinetraffic.com/js/cb33bb913ed67df82797.mtapp.v631-17438578636.js:1

860637 https://www.marinetraffic.com/js/2b243496dce3d02fdb72.mtapp.v631-17438578636.js:2

o https://www.marinetraffic.com/js/cb33bb913ed67df82797.mtapp.v631-17438578636.js:1

t https://www.marinetraffic.com/js/cb33bb913ed67df82797.mtapp.v631-17438578636.js:1

promise callback\*513896 https://www.marinetraffic.com/js/cb33bb913ed67df82797.mtapp.v631-17438578636.js:1

o https://www.marinetraffic.com/js/cb33bb913ed67df82797.mtapp.v631-17438578636.js:1

i https://www.marinetraffic.com/js/cb33bb913ed67df82797.mtapp.v631-17438578636.js:1

O https://www.marinetraffic.com/js/cb33bb913ed67df82797.mtapp.v631-17438578636.js:1

<anonymous> https://www.marinetraffic.com/js/cb33bb913ed67df82797.mtapp.v631-17438578636.js:1

<anonymous> https://www.marinetraffic.com/js/cb33bb913ed67df82797.mtapp.v631-17438578636.js:1

859ec5bd3869a60459aa.mtapp.v631-17438578636.js:2:38501

Source map error: Error: request failed with status 404 Stack in the worker:networkRequest@resource://devtools/client/shared/source-map-loader/utils/network-request.js:43:9 Resource URL: https://www.marinetraffic.com/js/859ec5bd3869a60459aa.mtapp.v631-17438578636.js Source Map URL: 859ec5bd3869a60459aa.mtapp.v631-17438578636.js.map

Source map error: Error: request failed with status 404 Stack in the worker:networkRequest@resource://devtools/client/shared/source-map-loader/utils/network-request.js:43:9 Resource URL: https://www.marinetraffic.com/js/554bef39f51be9e527bd.mtapp.v631-17438578636.js Source Map URL: 554bef39f51be9e527bd.mtapp.v631-17438578636.js.map

Source map error: Error: request failed with status 404 Stack in the worker:networkRequest@resource://devtools/client/shared/source-map-loader/utils/network-request.js:43:9 Resource URL: https://www.marinetraffic.com/js/2b243496dce3d02fdb72.mtapp.v631-17438578636.js Source Map URL: 2b243496dce3d02fdb72.mtapp.v631-17438578636.js.map

Source map error: Error: request failed with status 404 Stack in the worker:networkRequest@resource://devtools/client/shared/source-map-loader/utils/network-request.js:43:9 Resource URL: https://www.marinetraffic.com/js/cb33bb913ed67df82797.mtapp.v631-17438578636.js Source Map URL: cb33bb913ed67df82797.mtapp.v631-17438578636.js.map

Source map error: Error: request failed with status 404 Stack in the worker:networkRequest@resource://devtools/client/shared/source-map-loader/utils/network-request.js:43:9 Resource URL: https://www.marinetraffic.com/js/a33516170bd39ae0aff0.mtapp.v631-17438578636.js Source Map URL: a33516170bd39ae0aff0.mtapp.v631-17438578636.js.map

Source map error: Error: request failed with status 404 Stack in the worker:networkRequest@resource://devtools/client/shared/source-map-loader/utils/network-request.js:43:9 Resource URL: https://www.marinetraffic.com/js/6ac50513287c9d157e69.mtapp.v631-17438578636.js Source Map URL: 6ac50513287c9d157e69.mtapp.v631-17438578636.js.map


Here is the code that Marine Traffic provided:-

<script type="text/javascript">
	width='100%';		// the width of the embedded map in pixels or percentage
	height='800';		// the height of the embedded map in pixels or percentage
	border='3';		// the width of the border around the map (zero means no border)
	shownames='true';	// to display ship names on the map (true or false)
	zoom='6';		// the zoom level of the map (values between 2 and 17)
	maptype='1';		// use 0 for Normal Map, 1 for Satellite
	trackvessel='235065225';	// MMSI of a vessel (note: vessel will be displayed only if within range of the system) - overrides "zoom" option
	fleet='';		// the registered email address of a user-defined fleet (user's default fleet is used) - overrides "zoom" option
</script>
<script type="text/javascript" src="//www.marinetraffic.com/js/embed.js"></script>

This runs perfectly in the RW emulator when previewing the website

Should I assume that Marine Traffic have done something to break the code? I don’t understand why this works in the RW emulator, I would have expected if the code is broken it would not work in the emulator as well.