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

python - cx_oracle unable to find Oracle Client -

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

stringtemplate - StringTemplate4 if conditional with length -