@xtangliang said in How to start BAS with specific script by CommandLine?:
hey guys, I got a question need your help:
How to start BAS with specific script by CommandLine? It's not the default one or last one.
I appreciate for any reply, thx
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.