Disclosure Statement: This site contains affiliate links, which means that I may receive a commission if you make a purchase using these links. As an eBay Partner, I earn from qualifying purchases.
No refferer when open link in popup window
Re: No refferer when open link in popup window
Why make up your own something, look at the beginning as a normal browser does.
Re: No refferer when open link in popup window
Made the following images, in the onResourceLoadComplete event set the condition
. Thanks to everyone who responded.
where SCRIPT_TARGET_REPLACE is a script that replaces the target property with _blank by _self in tags A. It works as it shouldif request.ResourceType = RT_MAIN_FRAME then
begin
frame.ExecuteJavaScript(SCRIPT_TARGET_REPLACE,request.Url,0);
end;

-
- Posts: 112
- Joined: Wed Jul 01, 2020 10:22 am
Re: No refferer when open link in popup window
There is no SetReferer in my version of CEFigor666 wrote: Tue Jul 07, 2020 2:27 pm I gave Yandex as an example, but the options may be different. Thus, we decided a specific example, and not the situation as a whole. Indeed, in one case, the referrer transfer can be with the flag REFERRER_POLICY_ORIGIN, in another REFERRER_POLICY_NEVER_CLEAR_REFERRER, etc. And there is no request in the onBeforePopup event to check which flag should be for the current request.