Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the '10.4: View hidden link destinations' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.4: View hidden link destinations
Authored by: webzone on Jul 05, '05 11:04:23AM

The website is simply in a frame. If you control-click on the page in Firefox and select This Frame > View Frame Source you will get access to the full source code of the website. Or you could just control-click on the link and select Copy Link Location.

To be able to right-click on the page, just go into Firefox's Preferences in the Web Features section. Click the Advanced button right after "Enable JavaScript" and uncheck the box "Disable or Replace context menus". Then, close the two dialog boxes by clicking OK.

If you are using Deer Park (Firefox 1.1 Developer Preview) or a Firefox nightly, go to the Web Content tab (I think) and check "Disable common annoyances" (or something similar).



[ Reply to This | # ]
10.4: View hidden link destinations
Authored by: LC on Jul 05, '05 04:18:37PM

Also, I believe that many sites hide the display of their link destinations, by modifying (masking or changing) the status bar text. There's another option in the Advanced (Javascript) preferences, for allowing sites to change the status bar text. But I agree with you that being able to access the context-sensitive menu is really important here. I also wonder how often sites assign an onclick action (only) and whether in those cases we resort to view source (or similar); Larry.



[ Reply to This | # ]
10.4: View hidden link destinations
Authored by: eforiv on Jul 06, '05 10:21:31PM

Have a look at the DOM inspector in FireFox it will reveal more.

What you see at first is a set of frames 2 frames one set to 100% with the page and another for nothing just to mess things up... The framed page ALSO has a set of frames and so on. it's got multiple nested frames. dig deep the javascript i deep into the last set of frames.

you don't get to see any of the following javascript within the view source of that first frame... there is more but I figure this is enough to give an idea.


//if(window.location.protocol.indexOf("file")!=-1){
//location="about:blank";

//}



//if(document.domain.toLowerCase().replace("www.","")!="mysite.com".toLowerCase().replace("www.","")){
//alert("Invalid Domain");
//location="about:blank";

//}


if(document.all){ _fc='<'+'div style="position:absolute;left:-1000px; top:-1000px; width:60px; height:35px; z-index:1"> '+'<'+'input type="button" name="_xqq" value="" onClick=_ccd() style="visibility:hidden"> <'+'/div> ';
document.write(_fc);
function _ccd(){
clipboardData.clearData()
} ;

function _cce(){
_xqq.click();
setTimeout("_cce()",300)
} ;

setTimeout("_cce()",1000);

}


function _ng(){
if (document.all) for (i = 0;
i< document.images.length;
i++){
z = document.images(i);
z.galleryImg = 'no'
}

}
_ng();



function _np1(){
for(wi=0;
wi<document.all.length;
wi++){
if(document.all[wi].style.visibility!="hidden"){
document.all[wi].style.visibility="hidden";
document.all[wi].id="gwp"
}

}

} ;

function _np2(){
for (wi=0;
wi<document.all.length;
wi++){
if(document.all[wi].id=="gwp")document.all[wi].style.visibility=""
}

}
;
window.onbeforeprint=_np1;
window.onafterprint=_np2;



[ Reply to This | # ]