Categories

Developer

esha

Imgur direct link to album page redirect blocker v1.0.0

  • rating
  • rating
  • rating
  • rating
  • rating
5.00 (4 reviews)
Blocks Imgur from redirecting direct links to an album page

Blocks Imgur from redirecting direct links such as "https://i.imgur.com/examplelink.png" to "https://imgur.com/examplelink".

Normally doing a request with "text/html,application/xhtml+xml" in Accept header lets Imgur know that we are using a browser and then reply with "Location: https://imgur.com/examplelink" which will redirect it to the album page instead.

This addon will replace the Accept header with "*/*" to force Imgur to deliver any media as-is as it can't rely on the request to be a browser at this point.

Tags: social media