Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

possible issue with path to wombatWorkers.js (on Wayback Machine) #172

Open
mhnestler opened this issue Sep 10, 2024 · 0 comments
Open

possible issue with path to wombatWorkers.js (on Wayback Machine) #172

mhnestler opened this issue Sep 10, 2024 · 0 comments

Comments

@mhnestler
Copy link

First of all, I apologize because I don't really know if this is a bug in your project wombat or a problem at the Internet Archive Wayback Machine. If it's the latter, my hope is that you have some internal channels to contact them.

Symptoms:

In this example, the page is https://web.archive.org/web/20230219022944/https://docs.mapbox.com/help/getting-started/mapbox-data/.

Browser console contains this error (Firefox):
Loading script from “https://web-static.archive.org/_static/wombatWorkers.js” with importScripts() was blocked because of a disallowed MIME type (“text/html”).

In fact, https://web-static.archive.org/_static/wombatWorkers.js is a 404 not found.

In the Debugger pane, the worker source begins with this inserted string:
(function() { self.importScripts('https://web-static.archive.org/_static/wombatWorkers.js'); new WBWombat({'prefix': 'https://web.archive.org/web/', 'prefixMod': 'https://web.archive.org/web/wkrf_/', 'originalURL': 'https://docs.mapbox.com/help/getting-started/mapbox-data/'}); })();

This appears to prevent the rest of the worker code from being reached.

The importScripts... insertion seems to originate from the minified https://web-static.archive.org/_static/js/wombat.js.

Impact

Unconfirmed, but I expect it prevents any webworker-dependent functionality on the archived site from working.

Bug?

Perhaps the URL for wombatWorker.js is written incorrectly, leading to the 404?

Or perhaps the Internet Archive incorrectly deployed Wombat and the necessary wombatWorker.js file is just missing?

Or maybe I'm mistaken about something else.

Thanks very much for your time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant