Hiding DIVs with changing IDs

Posting here is no longer possible, please use the forum of a filter list project, such as EasyList
Locked
Italiano
Posts: 1
Joined: Thu Nov 05, 2015 2:22 pm

Hiding DIVs with changing IDs

Post by Italiano »

Hello :)
Before all, sorry for my bad english.
I want to hide (i think that it is not possibile to block) a DIV element with a random (and changing) ID-name. I am using Element Hiding Helper but without much success... i can easily hide the DIV when i insert the exact ID but when i reload the page, the id changes and i have again the problem.
The trouble is that the ID look like this

Code: Select all

<b id="nb8a"><a><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAApEAAAAPAgMAAADBtnxCAAAACVBMVEX7+/vIyMgAAADEnyuSAAAACXBIWXMAAA7EAAAOxAGVKw4bAAADqUlEQVRIie2VvY6jSBDHm5Y4rSr2OthwI7qfgkFy4oixwAFPYPwUyCERQvYERL2ItnA/5f6rG3s8d0423kNoXK6qrvq5PnqE+P/5yx7nhBFCOhO+yobfxyObhH0MOekagrN2J3dqEtloR65hBz3D2Agy0pEwL3PQp/jFQT/n8lGgm589kuVzfUknJLscFqyO30/KTuGvPUR2WxrdrC8bm9e7TpFR+7bMEduoivanTqgD7dvs/JoyfYjTV/1TLsVRkKt6rpJ6cIjVnSZ8FfkzZcyhCW+6sgbWSSg4q4OSA+dmoU3HTlhS6bB9OvqacvUv/ecBJXZMOUXZU5XiB4c0nnKc5Szdz6GhRrpvY6Pxk+TYzZ4yxSvPSaAUxoIpUHoh+4CeavGjhmo0ciY+rEcMhju1htrMQeMDIpfQhuZkFhihlFjHI8SUsocwoefemeafrZhl2+jRF4877qyuCL27/kLB0LvEWASkyteYKRGrUwvlNE10dJXzploObhcoyUIzH6iSfNgea9lfzO2gjtv9yfqAvuP2oCr9Q15M6DiVI2fBXA6YJT3/c5HsrKpkbJT8ZewxvVNeCvVWZ232wQWLsqG+nvn3ZQ9KwbGeKTGp6ULJE+Upp1Dd7HRGZydVyy6fbGzpLevPaw7oc53jmOqsyaeFMl1zlmh/uiFdXKG77AyfKzKek0k9KDH+Qrsh6xmF3MAewo/gnVJc3W2h1Gfn6oOfNgho/bhQHrzz0fV+wpSSvZsmaLbQSHdbKDtkqtkUKH2XePb6G6ejrJPsDB+m7NSkxDOlKnfoHRv2Lykv9Z2ys1VNnhICKK+Bst2GGSj9HmiLkS09Zb0H5aV8UPpT5UIpQsdBOXxSXkr4BEptv1CSbMvMG2ioJwMjUaBU2B5xfXSccm50mwYmqnh7ErXFGmEZZgjhTimIhgyUia4J1TVLxyFMGpTZveNiMihzIvu+MTdDWX/qgk+gtAXzkVsopdtx8bFjIyj1mXe856vbWb7VPwIlX+9pWJrG9/e2xTlDVroqxYJcIYRazjg+g5La7QhKrgnngqBbdHyesMozd/ys/fbsOqOVvqV83Ptc+8CDM3nEW5Dz1VTi6s7juIyK980q5qusyPnq/l7Ap8zzGG4rUeZRuoo24p1NEEo2FlEhyreUlwZCmvth4OOrlYje34ocCVATnysu4veNgCnOY56CMo833pSv4xqa72kefFY5J0Wcrw9+1otL+c+ex38XVOWPDzv7Xx3i/AZ53LoKyWO73AAAAABJRU5ErkJggg==" alt="" height="15" width="657"> </a></b>
In this case ID is "nb8a" but it could be "f333" or something like that... the only thing that remain the same, after the reload, is the length of the ID which is 4 characters. It always starts and ends in different ways...
I managed to block the png base64 but it is not enough... i need to hide also the rest... any idea?
Thank you a lot :)
lewisje
Posts: 2743
Joined: Mon Jun 14, 2010 12:07 pm

Re: Hiding DIVs with changing IDs

Post by lewisje »

BTW it's not a div, it's a b; anyway, if you know more about the page structure, you can try hiding, say, a b or an a element that has a certain relationship to other elements on the page.

Another idea I had is something like example.com##b[id] because b elements rarely have IDs.
There's a buzzin' in my brain I really can't explain; I think about it before they make me go to bed.
Locked