javascript - Chrome Extension for looking string -


need bit make chrome extension looks string x source , creates popup if x has been found.

string containing source of document:

document.documentelement.outerhtml 

check if contains x:

document.documentelement.outerhtml.indexof(x) !== -1; 

happy coding!


Comments

Popular posts from this blog

Delphi XE2 Indy10 udp client-server interchange using SendBuffer-ReceiveBuffer -

Qt ActiveX WMI QAxBase::dynamicCallHelper: ItemIndex(int): No such property in -

Enable autocomplete or intellisense in Atom editor for PHP -