It appears simply removing the "shown" class on the div doesn’t actually
hide it.
The following two alternatives work better:
document.getElementById("smartbanner").style.display = "none";
var smartbanner = document.getElementById("smartbanner");
smartbanner.parentNode.removeChild(smartbanner);
Unfortunately neither of them frees up the space that was taken up by
the banner, which leaves a blank space at the top of the page.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1329799
Title:
CNN.com advertises Google Play app to Ubuntu users
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/webbrowser-app/+bug/1329799/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs