I think this is just you. I’m using IE 5.5 on Win98 and can select text just fine on that site. I’ve never seen the back button disabled. I, too, would like to see such a site.
OK, I think we’ve got a pattern. In two different versions of Netscape, I was not able to select text from a Washington Post article-- At least, not body text. I could select a few snippets of header and footer text.
Was anyone with MSIE unable to select text? Alternately, was anyone with Netscape able to select text?
>>Also, at the page sailor mentioned, it pops up an about box in IE, but Opera behaves as usual
Nothing else of interest in that page, huh?
Since in that page it is a javascript doing the funny stuff, if in IE you go to tools > internet options > security and disable scripts, then the buttons behave normally.
OTOH if it is done with the mentioned HTML event handlers, then disabling scripts won’t get around this.
I figured out the Netscape 4.x problem with selecting text on the WashingtonPost.com web site. A parent table uses the attribute “align=left” which causes Netscape 4.x to not allow you to select any text within the entire table. Take out that attribute and the problem is resolved. Of course, this is a Netscape bug, not a problem with their HTML.
But here is what I want to know . . .
I once got an E-mail at work (from a friend) that told you to click a link to get a free cupholder. You click the link, and you CD-ROM pops out. The cleverness of this operation is enough to give me a laugh, but does anyone know a script for THIS?
Cyberhwk, did you try javascripts.com ?
Nice observation, OneChance, but I’d like to add a couple comments:
The table structure of their documents is actually incorrect. In particular the “<TABLE width=“100%” …” tag which encapsulates the help button near the buttom of their left hand bar is outside the range of any table cell in its parent table (no enclosing <TD> or <TH> at that point). I ran the thing through a validator to find this. There may be some other content in there which is in a table, but outside the range of any enclosing table cell.
This sort of thing often causes symptoms like this. The layout engine in the browser “floats” the offending content somewhere on the page, and may get confused as to the extent of screen areas, or layout things on top of each other. In complex layouts like this, you may wind up (usually by trial and error) with something which looks right, but has various small anomalies, which are often browser specific.
Your fix of removing the align=left forces the right hand “bar” of the display underneath the article text rather than next to it, at least on my browser, though the article text becomes capable of being highlighted.
Another tip off is that I ran the page through both Dreamweaver and Netscape Composer, and both editors severely mangled the layout because they couldn’t make sense of it.
Practical suggestion for anybody who is still reading without their eyes glazed over at this point - the “printer friendly” rendering of the article strips away most of the layout, and presents the article text in a form which may be highlighted.
Fascinating that it appeared to be an intentional “feature” of the page to the person who mentioned it.
*Originally posted by sailor *
Yes, you can go rooting through your cache files to get the image you wanted, or look at the source code and just copy the URL to the image. But why bother? To copy something from a page with a disabled right-click, just highlite what you want copied and hit SHIFT-F10. Bam, the right-click context window pops up. Here’s a paragraph I copied from that page using that method:
Shrewder web designers can also disable the keyboard. Here’s a simple javascript function to do that:
<SCRIPT language=JavaScript1.2>
function keypressed() {
alert("Keyboard Disabled");
}
document.onkeydown=keypressed;
</SCRIPT>
The way to get around THAT script is to select what you want, then go to Edit->Copy.
And what if they disable the menubar too? Well, you can use a program like netinfo to view the source without browsing the page, or another like intellitamper to view all the indexed directories.
Fact is, I have yet to see ANY protection scheme on a web page that couldn’t be easily defeated. If anyone finds an unbreakable method proving otherwise, let me know.
Onechance, good job.
Seraphim, yes, you can get around most of those schemes if you know how but 99.99% of people are not going to bother.
BTW, the point about that page is not related to highlighting the text but to saving the picture file. Note also taht a screen copy does not in the end result in the original JPG file. If you get it from the cache you get the original file.
This site http://terraserver.com/terra/terramain.htm has satelite photos of Europe and North America. (The site seems to be down now). You could see the photos on your screen but if you captured the screen with PrintScreen, it would not capture the photo and you would get a tiling of their logo instead. I recall vaguely they were using some “smart image” software. I wonder how they do that.