Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
Javascript How-To Ask your "How do I do this with Javascript?" questions here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Javascript How-To section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #11 (permalink)  
Old September 14th, 2005, 08:06 AM
Friend of Wrox
Points: 8,019, Level: 38
Points: 8,019, Level: 38 Points: 8,019, Level: 38 Points: 8,019, Level: 38
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jan 2005
Location: Mauchline, East Ayrshire, Scotland
Posts: 1,525
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to crmpicco Send a message via AIM to crmpicco Send a message via MSN to crmpicco Send a message via Yahoo to crmpicco
Default

this page doesnt work in View>Source option:

http://www.codeforum.ch/viewtopic.php?p=1903#1903

www.crmpicco.co.uk
www.crmpicco.co.uk.tt
www.milklemonadechocolate.uk.tt
www.griswolds.uk.tt
www.piccosmini.co.uk.tt
www.morton.uk.tt
  #12 (permalink)  
Old September 15th, 2005, 05:11 AM
Friend of Wrox
Points: 8,019, Level: 38
Points: 8,019, Level: 38 Points: 8,019, Level: 38 Points: 8,019, Level: 38
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jan 2005
Location: Mauchline, East Ayrshire, Scotland
Posts: 1,525
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to crmpicco Send a message via AIM to crmpicco Send a message via MSN to crmpicco Send a message via Yahoo to crmpicco
Default

sorry, it seems to be working now. but it didnt earlier????

www.crmpicco.co.uk
www.crmpicco.co.uk.tt
www.milklemonadechocolate.uk.tt
www.griswolds.uk.tt
www.piccosmini.co.uk.tt
www.morton.uk.tt
  #13 (permalink)  
Old September 15th, 2005, 05:12 AM
Friend of Wrox
Points: 8,019, Level: 38
Points: 8,019, Level: 38 Points: 8,019, Level: 38 Points: 8,019, Level: 38
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jan 2005
Location: Mauchline, East Ayrshire, Scotland
Posts: 1,525
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to crmpicco Send a message via AIM to crmpicco Send a message via MSN to crmpicco Send a message via Yahoo to crmpicco
Default

Quote:
quote:Originally posted by voila
 Disable right click, disable text select and add a top frame with a frame jammer.

You can't access the body frame's content when you do this.


You can still go to View > Source in MSIEx

www.crmpicco.co.uk
www.crmpicco.co.uk.tt
www.milklemonadechocolate.uk.tt
www.griswolds.uk.tt
www.piccosmini.co.uk.tt
www.morton.uk.tt
  #14 (permalink)  
Old September 21st, 2005, 02:16 AM
Registered User
 
Join Date: Nov 2003
Location: Xanthi, Thrace, Greece.
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Richard:

I sooo agree with you. The web was designed to share. From the moment something is up the net, it's not yours anymore; it's public.

There's NOTHING more annoying of finding the information you were looking for on a page and then realize you can't select it and copy it in your clipboard for future use. It cancels the whole purpose of existing for the net. I'll never understand why this obsession with disabeling useful future of UI. :(

This is MY personal opinion of course... ^_^;

  #15 (permalink)  
Old December 8th, 2005, 02:46 AM
Registered User
 
Join Date: Dec 2005
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

"From the moment something is up the net, it's not yours anymore; it's public."

This is either the most ill-thought out statement I have ever seen, or it is indicative of true ignorance...I haven't decided which yet.

Ever hear of copyright laws? Intellectual property laws?

Consider this scenario...
You are writing a book; you're stuck for ideas.
You read, or remember reading somewhere, a storyline that you like and think it would be cool to include it in your book. So you toddle off down to the local library, find the book, tear out the pages you want and take them home with you.

Sound ridiculous?
Of course it does...and yet it is exactly what Pericles implies one is allowed to do with his..."Its not yours anymore.....its public." statement.

It may be publicly accessible, but that does not make it "not yours" anymore.
Films are public, yet the filmaker retains the copyright to that film, books are public, yet the author retains the copyright to the contents of that book, magazines, dvd's, music CD's, etc ... same. And its also the same with web content.

You may argue its public, if that makes you feel better about stealing it...but its still theft.
  #16 (permalink)  
Old December 9th, 2005, 05:14 AM
Friend of Wrox
Points: 8,019, Level: 38
Points: 8,019, Level: 38 Points: 8,019, Level: 38 Points: 8,019, Level: 38
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jan 2005
Location: Mauchline, East Ayrshire, Scotland
Posts: 1,525
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to crmpicco Send a message via AIM to crmpicco Send a message via MSN to crmpicco Send a message via Yahoo to crmpicco
Default

In my experiance I have found some websites dont allow a right-click and view source, but some do???

www.crmpicco.co.uk
  #17 (permalink)  
Old December 11th, 2005, 03:09 PM
Authorized User
 
Join Date: Dec 2005
Location: , , .
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Default

This worked perfectly, I saw it on: http://www.nukecops.com/postlite2727...ightclick.html

It disables rightclick select and dragdrop (click an image drag it onto the desktop or MS word...)

<body oncontextmenu="return false" ondragstart="return false" onselectstart="return false">

here there is a lot more protections

www.htmlguardian.org/
  #18 (permalink)  
Old December 11th, 2005, 04:05 PM
Authorized User
 
Join Date: Dec 2005
Location: , , .
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Default

And add this between the <Head></head> section to stop saving the page:

<head>
<link rel="StyleSheet" href="http://">


  #19 (permalink)  
Old February 8th, 2006, 05:30 PM
Registered User
 
Join Date: Feb 2006
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default


Here's a sight that disabled the 'View Source' feature: https://www.quickbase.com/db/main?a=signin

Sure would like to know how it's done.


  #20 (permalink)  
Old February 8th, 2006, 05:41 PM
richard.york's Avatar
Wrox Author
Points: 5,506, Level: 31
Points: 5,506, Level: 31 Points: 5,506, Level: 31 Points: 5,506, Level: 31
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Camby, IN, USA.
Posts: 1,706
Thanks: 0
Thanked 6 Times in 6 Posts
Default

> Sure would like to know how it's done.

You were saying?

Code:
<html>
<head>
    <title>Sign In</title>
    <title></title>
    <base href="https://www.quickbase.com/db/">
    <meta http-equiv="Pragma" content="no-cache">
    <meta http-equiv="Cache-Control" content="no-cache">
    <meta http-equiv="Content-Type" content="text/html">
    <script language="javascript1.2" type="text/javascript">
        var gReqDBID            = "main";
        var gParentDBID            = "";
        var gSingleTableAppDBID    = "";
        var gReqCompanyName        = "";
        var gReqCompanyID        = "";
        var autoFAQ                = "";
        var kRecordNameSingular            = "";
        var kRecordNamePlural            = "";
        var kRecordNameSingularLower    = "";
        var kRecordNamePluralLower        = "";
        var kRuntimeMode                = "";
        var kIsPreRelease                = false;
        var kFMdefaultToAll                = false;

        var    gPrimaryTableDBID    = "";

        function TableInfo (name,snoun,pnoun,inQS,extApp) 
            { 
            this.name    = name; 
            this.snoun    = snoun; 
            this.pnoun    = pnoun; 
            this.inQS    = inQS; 
            this.extApp = extApp;
            }
        var gTableInfo = new Array();
        var gViewsInfo = new Array();
    </script>
    <script language="javascript1.2" src="/js/utils.js" type="text/javascript"></script>
    <script language="javascript1.2" src="/js/std_head.js" type="text/javascript"></script>
    <link href="https://www.quickbase.com/css/style.css" rel="stylesheet" type="text/css">
    <link rel="icon" href="/favicon.ico" />
    <link rel="shortcut icon" href="/favicon.ico" />
// snip
Regards,
Rich

--
[http://www.smilingsouls.net]
Mail_IMAP: A PHP/C-Client/PEAR solution for webmail
Author: Beginning CSS: Cascading Style Sheets For Web Design




Similar Threads
Thread Thread Starter Forum Replies Last Post
Can I disable View Source command in web browsers? surendran HTML Code Clinic 15 February 23rd, 2008 05:41 AM
Disable View>Source (disable html source) kazmughal44 HTML Code Clinic 11 December 11th, 2007 11:53 AM
HTML - no View Source GreenLamar HTML Code Clinic 1 August 9th, 2007 03:19 PM
disable the back button of my MSIE Browser. Magen Classic ASP Basics 2 January 24th, 2007 04:49 PM
Disable - View Source in Menu Bar VikramMullick Javascript 1 March 22nd, 2006 05:40 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.