I have a the third party service seal (that shows business verification details) to add on website. They gave iframe / javascript code to embed on website. That embed code is checking referrer before showing the seal. So if the seal is hosted on the domain the seal is registered for it shows the seal, if the seal is hosted on another domain it shows the error that this domain is not allowed to show the seal.
When I add the same seal on domainB.com , it shows an error message that it is not allowed. I want to use the same javascript embed code of the seal on domainB.com
What I did is I uploaded the seal script on domainA.com , and use a PHP / Jquery Ajax script to load the script on domainB.com but it still showed the same error message to me.
This is the script I used on domainB.com
$.post("https://domainA.com/test.php",
{ "post_parameter" : "post_value" },
function(data){
// put the result into a div
$('#result').html(data);
}
);
I was wondering if there is a way I can send a request from domainB.com which passes domain name as domainA.com and that script will not find that the request has been made from domainB.com?
I own both domains domainA.com and domainB.com, the reason I need to use the same seal on domainB.com is both domains are for the same business.