request_deny("*.png") and later request_allow for one specific picture (.png)

Support
  • I use at the beginning of the script an execute code block with
    "request_deny(".png")!
    request_deny("
    .jpg")!
    request_deny(".jpeg")!
    request_deny("
    .apng")!
    request_deny(".gif")!
    request_deny("
    .svg")!
    request_deny(".bmp")!
    request_deny("
    .webp")!
    request_deny(".gtimg.")!"

    Later in the script I set request_allow("https://www.mypage.com/pics/ref/background01.png")! for one specifig background image on the page I need.

    But there it does not load. Only if I completely delete the request_deny("*.png")! from the first step the needed picture is loaded.

    So is it not possible to NOT allow png files in general at the beginning of the script and later (when needed) allow 1 specific png file?

    Thank you for clarification.

  • same problem

  • 0 Votes
    4 Posts
    1054 Views
  • How to decode this one

    Support
    0 Votes
    4 Posts
    710 Views
  • "Wait for human action" addon..

    Support
    1 Votes
    6 Posts
    3273 Views
  • Expression For "Threads"

    Support
    0 Votes
    2 Posts
    1647 Views
  • 0 Votes
    15 Posts
    6983 Views