• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Rob Spoor
  • Devaka Cooray
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • Tim Holloway
Bartenders:
  • Jj Roberts
  • Al Hobbs
  • Piet Souris

How to provide these functionalities

 
clojure forum advocate
Posts: 3479
Mac Objective C Clojure
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi everyone, I have some questions and I hope you will help me:
First: How to provide printing functionality to me web pages?
Second: How to implement hyperlinks without underling?
Third: How to make me pages ("unsaveable")?
(If any one can give me links to these resources)
 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
1)<input type="button" name="print" value="Print" onclick="window.print()">
2)You have to use a style sheet (CSS) to do it by setting the decoration to none. This link shows you how.
http://www.permadi.com/tutorial/remLinks/
3)This is impossible. If you do not want your page saved then do not post it on the net.
Eric
 
Sheriff
Posts: 67595
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Pretty much the exact same answers I gave in the Servelts forum. I'm going to have that topic closed since the questions are more appropriate in this forum.
bear
[ December 10, 2003: Message edited by: Bear Bibeault ]
 
Hussein Baghdadi
clojure forum advocate
Posts: 3479
Mac Objective C Clojure
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have asked (how to make the pages unsaveable) because sites like :
Theserverside.com, java.sun.com, java.net use this way (this is why I have asked this question).
Anyway thanks Eric.
 
Ranch Hand
Posts: 3695
IntelliJ IDE Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
John,

What are you talking about ?

I can save any page from any of those sites... ?
 
Eric Pascarello
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The contect of the site is downloaded onto your computer, you can save it.
 
Hussein Baghdadi
clojure forum advocate
Posts: 3479
Mac Objective C Clojure
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
When I am trying to save pages from java.sun.com, it shows a dialog some thing like this (This web page couldn't be save)!!!
 
Eric Pascarello
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am able to save it
 
Mike Curwen
Ranch Hand
Posts: 3695
IntelliJ IDE Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
IE will sometimes warn you that "the contents of this page may not save correctly, do you want to save anyways?".

For example: when I do online banking, and I save the 'confirmation' screen as a record of paying a bill, it warns me that the page may not save correctly. There was a checkbox to tell it to stop warning me, which I've checked long ago, so I forget the exact text.

Is this similar to what you're getting? If not, then perhaps you have a busted install of IE. (if that's what you're using). I once had an install where I could not 'view source'. Notepad simply wouldn't open up. I finally remembered to "clear my cache", and IE buginess went away. You might also try emptying your cache.

At the barest level, you could install a packet sniffer and reconstruct the page from there (non HTTPS traffic anyways). If you've read about HTML code obfuscators, don't bother. I was once asked at work to write up some options for 'protecting' the source code of a web page. My initial report was one page that basically summarized the word "impossible". Management replied "what about javascript jumbling of the code?". I evaluated one of those tools, and over the course of a 40 minute lunch (during which time he was eating his sandwich and coffee), a colleague cracked this "unhackable" page using some arcane combination of wget, emacs and python. If you're sufficiently motivated, you can get the HTML code.


Bottom line: It's almost impossible to protect the source of an HTML page from being saved. The HTML must be sent to your machine. The only explanation that seems to fit is "your browser is broken."
 
Hussein Baghdadi
clojure forum advocate
Posts: 3479
Mac Objective C Clojure
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I think you are right, and I think my browser is hacked!!!
whileI am surfing the web, many pop up windows apper to me, and when disconnect, a diolags appear and says (the page you request is unaviable ofline) and this message reapet every 2 minutes, and I can't get rid of it until I shutdown!!
One of these windows called clickspring.net and it's the most bad, I want to see the owner of the site and kill him!
Any help for getrid of this problem??
 
Eric Pascarello
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
download spybot
http://www.safer-networking.org/
It will impress you how many files it will find.
Make sure to download all of the updates before you run it.
Eric
 
reply
    Bookmark Topic Watch Topic
  • New Topic