Skip to content

Commit

Permalink
skip-process: add a fix for archive.org
Browse files Browse the repository at this point in the history
  • Loading branch information
myfreeer committed Oct 3, 2023
1 parent 3f25553 commit e4a683b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/mdn/process-url/skip-process.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@ export const skipProcess = (
// this site is not a static file cdn
// Also referenced here:
// https://mdn.github.io/dom-examples/fullscreen-api/index.html
if (host === 'peach.blender.org' && (!element ||
// https://developer.mozilla.org/en-US/docs/Web/Guide/Audio_and_video_delivery
if ((host === 'peach.blender.org' || host === 'archive.org') && (!element ||
!element.is('img') && !element.is('video') && !element.is('audio'))) {
skipExternalLogger.debug('skipped external link', host, url, parent?.url);
return;
Expand Down

0 comments on commit e4a683b

Please sign in to comment.