Click here to get back home

Deactivate browser's print function

 HomeNewsGroups | Search | About
 comp.infosystems.www.authoring.html    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Deactivate browser's print function Cartoper 07-28-2007
Get Chitika Premium
Posted by Cartoper on July 28, 2007, 9:16 am
Please log in for more thread options


I hear it is possible to disable the web browsers print function, does
anyone know how to do that?


Posted by Sherm Pendley on July 28, 2007, 9:25 am
Please log in for more thread options



> I hear it is possible to disable the web browsers print function

You heard wrong.

sherm--

--
Web Hosting by West Virginians, for West Virginians: http://wv-www.net
Cocoa programming in Perl: http://camelbones.sourceforge.net

Posted by Cartoper on July 28, 2007, 9:43 am
Please log in for more thread options


> > I hear it is possible to disable the web browsers print function
>
> You heard wrong.

Bummer, what I heard, well read, exactly is:

Selecting the "Print only blank pages" option will prevent visitors
from printing your pages. Any time someone uses the print function,
either the browser will refuse to print (Internet Explorer 4.0 or
higher) or only a blank page will be output (Netscape Navigator 6.0 or
higher and Opera 4.0 or higher).

This function works with almost every CSS 2.0-enabled browser. Be
aware that no warning is given, so users in this scenario may suspect
a faulty printer or defective software.

source: http://www.aw-soft.com/htmlguard-security.html


Posted by Dylan Parry on July 28, 2007, 10:08 am
Please log in for more thread options


Cartoper wrote:

> source: http://www.aw-soft.com/htmlguard-security.html

Ah ha. What their software is essentially doing is adding a print
stylesheet to your page that contains the rule:

* {
display: none;
}

This means that nothing will be shown on any pages that are printed. Of
course, this is going to annoy people who don't know how to get around
such silly things.

--
Dylan Parry
http://electricfreedom.org | http://webpageworkshop.co.uk

The opinions stated above are not necessarily representative of
those of my cats. All opinions expressed are entirely your own.

Posted by rf on July 28, 2007, 10:19 am
Please log in for more thread options



>> > I hear it is possible to disable the web browsers print function
>>
>> You heard wrong.
>
> Bummer, what I heard, well read, exactly is:
>
> Selecting the "Print only blank pages" option will prevent visitors
> from printing your pages. Any time someone uses the print function,
> either the browser will refuse to print (Internet Explorer 4.0 or
> higher) or only a blank page will be output (Netscape Navigator 6.0 or
> higher and Opera 4.0 or higher).
>
> This function works with almost every CSS 2.0-enabled browser. Be
> aware that no warning is given, so users in this scenario may suspect
> a faulty printer or defective software.
>
> source: http://www.aw-soft.com/htmlguard-security.html

Har har.

<oil src='snake'>

To refute the claims made on the abovementioned page:

1. Type some simple javascript into the address bar and the "source" is
immediately visible. The real disadvantage of this approach is that those
with javascript unavailable (estimated to be 10 to 15%) will never see the
page. This is just like turning your server off for the month of December.

2. Tidy (google for it). Tidies things up nicely.

3. Stupid. Never seen a scroll bar?

4. With one mouse click I can disable javascript. Then "no right click"
scripts are disabled. Anyway I don't use my right mouse button to steal
images. I left click/drag/drop them into my image editor. Going to disable
my left mouse button as well?

5. What "block text selection" option. a) Use another browser b)
view:http://url.

6. Most modern browsers dont allow clipboard disablement anyway.

7. Har Har. Disable print? Use another browser or type view:http://url into
your address bar. And what are you going to do once you have printed the
page? Type it into an editor? You don't need a hardcopy for that, just two
windows open.

8. PHP3? Har har. Nothing done server side will stop me from saving your
images. Nothing. Ever heard of Print Screen?

It should be noted that most of the snake oil promulgated by this site
assumes IE. People who would *want* to steal code are the least likely ones
to be using IE.

And those who *can* bypass the trivial barriers and steal the code and use
it would be the very ones who could write it from scratch and do a far
better job.

Finallly:
The desire to hide the HTML behind a page is inversly proportional to the
value of that HTML to anybody else.

</oil>




Similar ThreadsPosted
The best way to solve browser's vertical scollbar problem June 26, 2007, 11:46 pm
Deactivate the effect of back button November 15, 2005, 8:48 am
Deactivate active link when http://www.somewhere.com is used in content? October 7, 2005, 12:41 am
'sorry this function has been disabled' February 5, 2008, 10:09 am
Function Keys as shortcuts? February 12, 2007, 2:47 pm
invoke browser 'back' function May 18, 2005, 7:08 pm
onClick="CallMultipleFns" only invokes first function October 8, 2007, 9:48 am
is it possible to submit to a specific function inside another file March 16, 2005, 4:17 am
Valid XHTML but Javascript function failing? August 8, 2005, 5:38 am
HTML Tables vs. CSS Layers - when function and form coincide January 30, 2007, 3:25 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap