javascript to show alert message if find specific text in webpage
<p>I have a webpage named "X" with another webpage in an iframe named "Y". Page "Y" gets updated every half an hour and new information arrives. I want a javascript code to be insterted in page "X" to show an alert box if a particular text string is available in page "Y".</p>

<p>How do I do that?</p>
