How remove banner on iframe

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • How remove banner on iframe

    hello i hope to find any one to help me my site wordpress and i used aframe tag to import the results from anther site but when i put it in my site show me ad banner from the who take from him results and i try to remove banner but i loss can any one help me code for remove these banner thanks for any one help me

  • #2
    You cant with iframes

    Comment


    • #3
      haven't tried it, but try using dom.parentElement

      Comment


      • #4
        so what i do to remove banner any code use ??

        Comment


        • #5
          Due to cross-domain policies, you cannot modify the content of an Iframe unless the source is on the same domain, as it is a security risk.


          The only way to remove the banners is not to use iframes and use something like php/curl, however this will only be possible with wordpress if it is hosted on your own server.

          Comment

          Working...
          X