not to mention that the script only disables right-clicking. doesn't
stop me from hitting 'View' -> 'Page Source' on the menu. Or from
digging thru my cache and pulling up the page locally.
On 10/19/07, Raymond Camden <[EMAIL PROTECTED]> wrote:
> Which works real well when I disable JS. ;)
>
> On 10/19/07, Bruce Sorge <[EMAIL PROTECTED]> wrote:
> > Here is a little script that I use.
> >
> > <script language=JavaScript>
> > <!--
> > var message="";
> > function clickIE() {if (document.all) {(message);return false;}}
> > function clickNS(e) {if
> > (document.layers||(document.getElementById&&!document.all)) {
> > if (e.which==2||e.which==3) {(message);return false;}}}
> > if (document.layers)
> > {document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
> > else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}
> > document.oncontextmenu=new Function("return false")
> > // -->
> > </script>
> >
> > Richard White wrote:
> > > Hi,
> > >
> > > I remember reading something that said in ColdFusion we can stop people
> > > from viewing the page source code.
> > >
> > > I would appreciate any help as to whether this is this possible and how
> > > we would go about doing it
> > >
> > > Thanks
> > >
> > > Richard
> > >
> > >
> > >
> >
> >
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Check out the new features and enhancements in the
latest product release - download the "What's New PDF" now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:291588
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4