Imgur Album NSFW Bypass

This script will automatically bypass Imgur Album NSFW pages

  1. // ==UserScript==
  2. // @name Imgur Album NSFW Bypass
  3. // @namespace Violentmonkey Scripts
  4. // @version 1.2
  5. // @homepage https://gf.qytechs.cn/en/scripts/403483-imgur-album-nsfw-bypass
  6. // @description This script will automatically bypass Imgur Album NSFW pages
  7. // @include https://imgur.com/a/*
  8. // @include https://www.imgur.com/a/*
  9. // @author P35 at SpeakJS discord - https://discord.gg/dAF4F28
  10. // @description Original script by Aar318 rewritten by P35 - 5/16/2020, 12:47:17 PM
  11. // @grant none
  12. // ==/UserScript==
  13.  
  14. // Redirect user to imgur page bypassing NSFW warning //
  15.  
  16. (function () {
  17. "use strict";
  18.  
  19. const { pathname, origin } = window.location;
  20. console.log("Imgur Album Redirection");
  21. if (!pathname.includes("/embed"))
  22. window.location.href = `${origin}${pathname}${
  23. pathname.endsWith("/")
  24. ? ""
  25. : "/"
  26. }embed?pub=true`;
  27. console.log("Redirected to bypass warning");
  28. })();

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址