Search words on the page and replace

1

Friends, I'd like to know if it's possible to create a method that scans a html page or just within a div by looking for a specific word and replacing it with another word.

I'm trying to do this, because I'm using a plugin on my site, and the same makes advertisements, I do not want to veto the advertisements, I just want to have a control of the words that this plugin will use in the advertisements that it does. It's possible? Thank you in advance!

Plugin:

<script type='text/javascript'>
(function(){ var widget_id = 'qZZLGGRS0H';var d=document;var w=window;function l(){
var s = document.createElement('script'); s.type = 'text/javascript'; s.async = true; s.src = '//code.jivosite.com/script/widget/'+widget_id; var ss = document.getElementsByTagName('script')[0]; ss.parentNode.insertBefore(s, ss);}if(d.readyState=='complete'){l();}else{if(w.attachEvent){w.attachEvent('onload',l);}else{w.addEventListener('load',l,false);}}})();</script>
    
asked by anonymous 04.05.2017 / 17:58

0 answers