I am using social login plugin for connect with my site. Its working fine, but I want to remove its mark like Powered By XYZ. I have tried display none with its class and id but it did not work because all part

<script type="text/javascript">
    jQuery(document).ready(function() {
        jQuery(".ajay iframe").contents().find("#branding").attr("style","display:none");

This is not allowed. That would be a big security issue.

Under the policy, a web browser permits scripts contained in a first web page to access data in a second web page, but only if both web pages have the same origin


If you are under control of the URL in the iframe, you are able to access the content by sending a Access-Control-Allow-Origin Header.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.