 |
| 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
|
|
|
|

September 14th, 2005, 08:06 AM
|
|
Friend of Wrox
|
|
Join Date: Jan 2005
Posts: 1,525
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
|
|

September 15th, 2005, 05:11 AM
|
|
Friend of Wrox
|
|
Join Date: Jan 2005
Posts: 1,525
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
|
|

September 21st, 2005, 02:16 AM
|
|
Registered User
|
|
Join Date: Nov 2003
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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... ^_^;
|
|

December 8th, 2005, 02:46 AM
|
|
Registered User
|
|
Join Date: Dec 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
"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.
|
|

December 9th, 2005, 05:14 AM
|
|
Friend of Wrox
|
|
Join Date: Jan 2005
Posts: 1,525
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
In my experiance I have found some websites dont allow a right-click and view source, but some do???
www.crmpicco.co.uk
|
|

December 11th, 2005, 03:09 PM
|
|
Authorized User
|
|
Join Date: Dec 2005
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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/
|
|

December 11th, 2005, 04:05 PM
|
|
Authorized User
|
|
Join Date: Dec 2005
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
And add this between the <Head></head> section to stop saving the page:
<head>
<link rel="StyleSheet" href="http://">
|
|

February 8th, 2006, 05:30 PM
|
|
Registered User
|
|
Join Date: Feb 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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.
|
|

February 8th, 2006, 05:41 PM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 1,706
Thanks: 0
Thanked 6 Times in 6 Posts
|
|
> 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
|
|
 |