This question is not on how to remove AdSense, but if I can remove AdSense from my website using jQuery. I was reading the policies on AdSense and I'm a little confused. On the page regarding the Modification of the AdSense ad code, it states:
Hiding ad units at anytime (e.g., display:none), unless you're implementing a responsive ad unit
I am using the responsive ad unit. The problem though is that if the page is opened in the mobile view but is then resized to a bigger size, the ad stays the size as it was in the mobile view (causing it to cover other elements such as links). The only foreseeable way (I can see) of doing this is by removing the ad if the window is resized. The only examples I can find use CSS.
display: none on the AdSense element using jQuery be a violation of the Google AdSense policy?