Hi Team,
While entering the webiste chat icons is distrubing to move to next page. so that i want to disable the icons…
i am checking to disable the chat icons present in the website. like this
This is chat icon code get it in inspect the webpage…
Blockquote
How to pass the above code in jquery or else… ?
Thanks
Shyam
Hey @Shyam_Pragash !! Amazing question!!! Lets go!
You can easily inject JS code into a page! Let’s see an example very similar to what you are looking for!
I used the site Gupy | Impulsione o seu RH who use this icon!
Step 1: Let’s identify the HTML of the element we want to remove!
In my case this element has the ID
hubspot-messages-iframe-container
Step 2: Injecting JS code.
Pay attention to the selector, because I took a selector from a larger scope than the element I want to delete.
"function myFunction() {
var x = document.getElementById('hubspot-messages-iframe-container');
x.remove();
}"
The result!!
Hope it helps!!
The .xaml.
Main.xaml (10.8 KB)
system
(system)
Closed
February 17, 2022, 9:47am
6
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.