I'm trying to remove all pictures from Google-Search results.
I removed all the "HTMLElement.Name equal img" -
But I managed to remove only pictures from image search.
What can I do?
Thanks in advance.
Solved! Go to Solution.
honestly I don't think you will be successful on this one.
If you look into the way Google transfers data you will notice that - when making a search - there is not a single image transferred. The search result - including images - comes back as a JSON object, which includes the images as base64 encoded binary data. Client side java script is rendering the incoming data into the DOM tree that is actually displayed in the browser and what you see when you click "View Source" or analyze the source.
Web Gateway does not see the same source, as it is rendered on the client, so applying the HTML opener will fail as the tags don't exist. Even blocking images by media type might fail, as no images as such are going through the proxy.
Such techniques are used on some web sites which have a huge number of visitors, for example Facebook does a similar thing. Even if the HTML Opener works on some sites it only works on the sites that come as full HTML source to the MWG. In Facebook this is only the very first request, so you can apply some HTML filtering here. As soon as you click a button or even refresh the data is obtained as optimized data that are rendered in Java Script.
Thank you for your answer.
I fixed my rule according your advice.
I checked it with other sites, and I found that, some of the pictures weren't removed.
When I checked the code with F12, I found that, some of the img elements are still there.
Are there other rules I should add?
That's correct... It might not match your Rule criteria URL.Host match *google*, as the contenct might not being delivered by google. To understand why something isnt blocked as expected, please use rule engine trace.
Rule Engine Tracing | McAfee Communities
i cant see you the creteria "HTMLElement.Name" has been canged to - matches *.img insted of equeals "img"
and if your object you try to block isnt blocked you will need to check rule engine trace.
By the way.... Why do you try to block all images on google?
and which else images do you see when you're not in Picture search? (screenshot might help)
If I may, I have more questions -
1. Why I should use "*.img" instead of "equals img"? - The html tag is img.
2. Can I remove "a" tag in "table" without to open the "table" tag?
What i identify due to my troubleshooting you might need to look for different parameter like here another example of facebook:
The Object "HTMLElement.Name" is equals "div"
and "HTMLElement.Attribute("id")" equals "imagebox_bigimmage"
something like that, unfortunately i didn't get this to work right now. Maybe i miss something jet.
I already tested this rule, and it didn't work for me, also.
I checked the rule in other sites with other "id" value (- of course), and it worked fine.
What can I do with Google search? How can I remove the images?