I want to open hyperlinks in a div and stop hyperlink navigation. Ideally this should work for all links on the page "especially when debugger / console is open"
How to detect if the console is open on all browsers? window.console, window.console.firebug doe not seem to work with me.
I am setting the
innerHTML
property of my div right now which opens all the images etc in my div. I want only the text to be streamed. How do I do that? This is my code:function load_home(){ document.getElementById("main").text='<object type="text/html" data="my link path" ></object>'; }