function(){$('h6').css('display','none') 

There is a widget to insert comments on the site. tag h6 builds it too. Why does not this code work? After all, the home-tree is already formed. Tags used outside the widget by this code are hidden.

  • Some styles change, such as font size, etc. It turns out there is a ban on some styles? - Radik Kamalov
  • Hid with the opacity property :) - Radik Kamalov

1 answer 1

I suppose this is a widget commenting ala Vkontakte or Facebook? Then nothing will work out for you: javascript from your domain cannot influence (even read) the content of the iframe from another domain. Read a little about the same origin policy .

  • firefox works. Yes, commenting Vkontakte. - Radik Kamalov
  • 2
    You will not be able to change the styles inside the VC block, for this is the iframe - inferusvv