Seeking a solution to a unique challenge I've encountered. The website I frequent has found a way to bypass my uBlock extension by using a script that generates random element classes, such as:
<div class="lcelqilne1471483619510ttupv"></div>
<div class="xgdxts1471483770461tkbfjhcr"></div>
Because the string changes each time, consistently selecting it proves to be difficult. This class overlays the site and prompts users to click on it, leading to pop-up ads utilizing some sort of Base64 exploit to display new tabs or pop-ups. While the element is invisible, it does have certain CSS variables that could potentially allow for selection by class/ID. However, my knowledge of how to achieve this through javascript/jQuery (with greasemonkey) is limited. Additionally, I am seeking help in hiding or blocking this popup.
display: block !important;
visibility: visible !important;
top: 0px !important;
left: 0px !important;
position: absolute !important;
z-index: 999999 !important;
In essence, I am looking for a way to target and hide/block this element based on its CSS attributes rather than the element name. http://prntscr.com/c7474u