I don't know. It sounded like he is trying to monitor what web pages are being viewed on the mobile device (phone). But I think, there's got to be an app for that or some setting in the phone. This doesn't even work. I've tried to create a frame, and even IE6 won't do it for security reasons. If someone could get away monitoring the URL of a frame, then people could hijack a web browser and keep track of every URL you visit. It would be way too easy for hackers to keep an eye on people.
So, this doesn't work. LOL
<HTML>
<STYLE>
BODY { SCROLLBAR MARGIN:0; BORDER:NONE; overflow:hidden; }
</STYLE>
<BODY TOPMARGIN=0 BOTTOMMARGIN=0 LEFTMARGIN=0 RIGHTMARGIN=0 SCROLL=NO>
<IFRAME ID=MYFRAME WIDTH=100% HEIGHT=100% SRC="http://www.bing.com">
</IFRAME>
<SCRIPT>
function CheckFrame()
{
var URL = "";
var SUCCESS = 0;
try
{
URL = document.getElementById('MYFRAME').contentWindow.location.hr
+ef;
SUCCESS = 1;
} catch (e) { SUCCESS = 2; }
if (SUCCESS == 2)
{
SUCCESS = 0;
try
{
URL = document.getElementById('MYFRAME').contentDocument.locatio
+n.href;
SUCCESS = 1;
} catch (e) { SUCCESS = 2; }
}
if (SUCCESS == 2) return;
alert(URL);
}
setInterval(CheckFrame, 4000);
CheckFrame();
</SCRIPT>
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.