it is your own webpage, so you can do anything you like, for example you could pass a flag while opening the webpage in the app and depending on that flag display the ad or not… probably you also can do something using CSS…
this is a webpage programming question… what about asking in a Html / CSS / JavaScript forum?
Taifun