Wayback Machine Image Fixer

Attempts to fix broken images by replacing them with working timestamps based on JSON results

יש גרסאות של סקריפט זה עם קוד מעודכן. הצג את כל הגרסאות

  • v1.6.1 05-05-2022

    Accounted for content headers being lowercase

  • v1.6.0 15-09-2017 Major refactoring
  • v1.5.2 14-09-2017 Quick fix to accommodate Wayback Machine's April update, where images without im_ flag are served as HTML
  • v1.5.1 19-04-2016 Added another substitution case for Apache directories. Optimized background collection
  • v1.5.0 11-02-2016 Now supports backgrounds set by CSS.
  • v1.4.2 01-02-2016 Fixed issue where backgrounds would always be erraneously identified as dead
  • v1.4.1 05-01-2016 Fixed "image links to" condition, added more default "special cases"
  • v1.4.0 04-01-2016 Added a bit more flexibility to the "special cases" system. It now factors in the original source
  • v1.3.0 02-01-2016 Now supports backgrounds
  • v1.2.3 30-12-2015 "impatient" cases will only be used if they are proper images
  • v1.2.2 23-12-2015 The script will now only make use of the "Impatient" redirect link as long as it leads to an actual image file.
  • v1.2.1 19-12-2015 Makes sure that it actually sees if a special case object actually has its own condition
  • v1.2.0 18-12-2015 Now accommodates special cases
  • v1.1.6.1 25-11-2015 Removed duplicate evaluateImage command
  • v1.1.6 25-11-2015 Now accommodates cases where if you were to visit an image directly, Wayback Machine would redirect you elsewhere (Though I hope to find a better way to detect such cases besides looking at the response text)
  • v1.1.5 10-11-2015 Added support for HTTPS and made sure the "closest" timestamp part actually worked.
  • v1.1.4 24-10-2015 Fixed a small fatal typo
  • v1.1.3 24-10-2015 Minor coding tweaks, regex-based timestamp detection
  • v1.1.2 24-10-2015 Replaced "is in toolbar" detection with .contains
  • v1.1.1 18-10-2015 Implemented a proper 503 catch
  • v1.1.0 14-10-2015 Reworked to be completely asynchronous
  • v1.0.1 07-10-2015 Rewrote "has parent" function to be used solely for the one purpose it was actually used for
  • v1.0.0.20151004173702 04-10-2015