.:HyPeX:. Posted June 7, 2015 Share Posted June 7, 2015 Hello everyone, i've struggled with this the past hours and couldnt find a way to fix it: CEF when loading a page will automatically block all "Loading" subdomains that the webpage uses, and i wanted to "know" whenever a page is blocked (See spoiler 1). So i could list them, and request them for making the site work. E.g. Plug.dj First load (only plug.dj allowed) second load: added 2 subdmains Now i want to retrive those [bROWSER] Blocked Page: *** Is there any way? couldnt find any.. Greetz Link to comment
Anubhav Posted June 7, 2015 Share Posted June 7, 2015 Sub-domains can't be requested. viewtopic.php?f=167&t=73773&hilit=CEF&start=165#p771584 See this message by Jusonex telling that sub-domains can cause a security issue. Link to comment
.:HyPeX:. Posted June 7, 2015 Author Share Posted June 7, 2015 Sub-domains can't be requested.viewtopic.php?f=167&t=73773&hilit=CEF&start=165#p771584 See this message by Jusonex telling that sub-domains can cause a security issue. I'm not asking for a global subdomain whitelist by asking, (since i do understand thats a security risk and why), i'm asking for the possibility to know when they're blocked off and make a list for later check.. Link to comment
MTA Team botder Posted June 7, 2015 MTA Team Share Posted June 7, 2015 If you had *.domain.ext on your whitelist then someone can make a URL with hisdomain.ext/path/xyz.domain.ext and it will work. Link to comment
.:HyPeX:. Posted June 7, 2015 Author Share Posted June 7, 2015 If you had *.domain.ext on your whitelist then someone can make a URL with hisdomain.ext/path/xyz.domain.ext and it will work. did you even bother to read? i know what widlcard domain means - I AM ASKING FOR A WAY TO KNOW WHEN THEY ARE BLOCKED AND WICH ONES ARE BLOCKED. Link to comment
qaisjp Posted June 16, 2015 Share Posted June 16, 2015 https://github.com/multitheftauto/mtasa ... e.cpp#L263 Link to comment
xXMADEXx Posted June 16, 2015 Share Posted June 16, 2015 Do you mean the isBrowserDomainBlocked function? Link to comment
.:HyPeX:. Posted June 16, 2015 Author Share Posted June 16, 2015 Do you mean the isBrowserDomainBlocked function? That would check if the domain is blocked, usefull for checking if smth is blocked, but im missing that "smth" https://github.com/multitheftauto/mtasa-blue/blob/master/MTA10/core/CWebCore.cpp#L263 I am not sure how the line where the default whitelist is set helps me.. Link to comment
Jusonex Posted June 17, 2015 Share Posted June 17, 2015 I added a new event named onClientBrowserResourceBlocked now. Please wait till tomorrow and download the new build from https://nightly.multitheftauto.com/?mtasa-1.5-full_rc-latest then. Documentation: https://wiki.multitheftauto.com/wiki/On ... rceBlocked Link to comment
Saml1er Posted June 17, 2015 Share Posted June 17, 2015 I added a new event named onClientBrowserResourceBlocked now.Please wait till tomorrow and download the new build from https://nightly.multitheftauto.com/?mtasa-1.5-full_rc-latest then. Documentation: https://wiki.multitheftauto.com/wiki/On ... rceBlocked Thank you. <3 Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now