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 -

shader - OpenGL Shadow Map -

c# - Exchange 2010/2013 TransportAgent Content Conversion for Internal Recipients -