Publication: Internet Tutor Hiding Source Code | |
Subscribe FREE to Internet Tutor by clicking here.
THE INTERNET TUTOR
May 11, 2006
------------------------------------------------------------
This week...
- Webmaster Tip: Hiding Source Code
- Surfin' the Web: The Divine Reality
- Software Spotlight: PaintStar
- The Oddball Wall: Bette Davis Eyes
- Computer Tip: Easy File Size Information
We were at a birthday party last week when my niece, Jordan,
lost one of her baby teeth. She held it up and asked her mom,
"What will the tooth fairy give me for this?"
Her mom answered that she'd just have to wait and see.
Henry Wallers, an elderly friend of the family took out his
false teeth and held them up and said through a toothless
grin, "I wonder what the tooth fairy will give me for all
these?"
Jordan's eyes grew big, then she told her mom they had to go
right away. When asked why, she answered, "I have to go to
bed."
When asked why she wanted to go to bed so early she explained,
"Because if Mr. Jordan goes to bed first the tooth fairy may
not have any money left for my tooth!"
------------------------------------------------------------
FULL SIZE (3' x 5') AMERICAN FLAG
Normal Price: $19.99
LIQUIDATION SPECIAL: $4.99
We are pleased to announce that we have found Full-Size 3'x5'
American flags available at liquidation prices... never sold
before at these low prices.
Made of durable polyester with two (2) metal grommets perfect
for displaying.
Its a great time to stock up AND pick up a couple for gifts,
but there is a LIMIT of 8 per order. NO DEALERS PLEASE...
VISIT: Liquidation Special - USA Flags
------------------------------------------------------------
WEBMASTER TIP - Hiding Source Code
Note: In code examples I add a period after each left arrow
bracket so the code can be viewed in all e-mail programs.
If you copy and paste, be sure to remove the periods or it
won't work.
Question: Is there a way to make it so visitors can't view
the source code of my web pages?
Simon Says: There is no simple way. The browser has to read
the source code to display the page, and since the source
code is viewable through the browser software, it can't be
blocked.
There are some things you can do to make it more difficult.
There are JavaScripts that disable the right-click context
menu that most people use to view the source code. The problem
there is the View Source is still available from the browser
menu bar.
You could use a no-right-click JavaScript as described above,
and build the site in frames so when a visitor chooses View
Source from the menu bar they would only see the frame source
file. The biggest drawback to this method is that search
engines don't index framed sites well, and some not at all.
You could create pages in Flash, but that has its drawbacks
too, including making your pages unavailable in some browsers.
You can learn more about Flash here:
http://www.macromedia.com/flash
You can also use a software program called HTML Source
Protector to "scramble" your source code and disable some
browser features. This makes it difficult to impossible to
read the source code in some browsers (mainly for Internet
Explorer users, but that's about 90% of the surfing population),
but other browsers aren't so easily defeated. You can learn
more about the HTML Code Protector here:
http://www.boogiejack.com/code_protector.html
Another "trick" I've used is to start your source code about
5 screens down, leaving a lot of blank space at the top. Then,
at the very top, use something like the fake statement below
so it's the only text visible when someone views your source
code.
Warning! Source code protected by Bulldog Switcher. Bulldog
Switcher hides your source code from prying eyes. Certified
web designers may inquire about licensing Bulldog from Bulldog
Inc., 8479 Tech Drive, Gelfhorn, WI 59991 Ph. 715-899-2222
Licensing priced by quantity, as low as $1,000.00 per domain
with the purchase of a 12 domain license.
Don't worry about using that address and phone number,
neither exists in the real world. Anyway, most people would
be discouraged from contacting this fake company by the
certification required or the price. That will probably fool
a few folks, mainly newbies, but all anyone has to do is to
scroll down to see the source code.
Those are your options. None are foolproof, but some
protection is better than no protection if you're concerned
about protecting your content and coding.
------------------------------------------------------------
How Smart Are You?
If you're like me, you always wondered what the heck your
I.Q. is and what an I.Q. test is all about.
Well, now you can find out. And the best part you can do
it online, now, for free. You'll get the results right away,
too. Have some fun and hopefully you will get to brag :)
VISIT: How Smart Are You
------------------------------------------------------------
SURFIN' THE WEB - The Divine Reality
You can read some strange things on the web, very strange.
The Divine Reality isn't what it sounds like, or is it?
I like things that make me think. You'll never grow far if
you don't spend time thinking most every day. Some people
think they are thinking when they are merely entertaining
reruns and daydreams. New stimulus creates new thoughts.
New thoughts lead to expanded awareness. Expanded awareness
leads to places you could never go otherwise, both in
thought and in physicality.
The Divine Reality is a bit of a long read, and perhaps a
little confusing at times for many folks, but it leads you
on nicely and will lead you down new avenues of thought --
and that's what this kind of stuff is supposed to do.
Don't let your brain explode.
http://www.ehe.org/display/ehe-autobiography.cfm?ID=83
------------------------------------------------------------
GopherCentral's Question of the Week
Have you voted for any American Idol candidate this year?
Please share your opinion, visit: The Question of the Week
------------------------------------------------------------
SOFTWARE SPOTLIGHT - PaintStar
PaintStar is a free graphics editor with many of the features
found in expensive commercial paint programs, plus some they
don't have. You can touch up photographs, morph images, and
perform all the common edits required.
The only problem is, you'll have to be patient. The site often
goes over it's bandwidth limit, so you'll have to keep trying
at different times to be able to download it.
http://wang.zhenzhou.googlepages.com/
Note: I do not provide support for the featured software.
Contact the software vendor for support. No warranty is made
or implied as to the usefulness or appropriateness of featured
software.
------------------------------------------------------------
The Garden Creations Weather Forecaster
Measures Wind, Rain and Temperature all in One
Standing at 5 feet tall the Garden Creations Weather Station
keeps track of temperature, precipitation, wind speed and
wind direction. The large 15" thermometer, with Fahrenheit
and Celsius scales can be read from across the yard. The
attached rain gauge measures precipitation, while the weather
vane and wind spinner on top measure relative wind speed and
direction. Now just $12.99 when you visit: Weather Forecaster
------------------------------------------------------------
THE ODDBALL WALL - Bette Davis Eyes
On this day in 1981, Kim Carnes' song "Bette Davis Eyes"
reached #1 on the Billboard charts and stayed there for nine
weeks. After hearing it, Bette Davis contacted Kim and told
her she loved the song, and thanked her for making her seem
"more contemporary" to her grandson. It was the beginning of
a close friendship that would last until Bette Davis' death
in 1989.
The song went on to win Grammy Awards for Song of the Year
and Record of the Year. So let's see what you know about
Bette and Kim...
1) Bette Davis has often been referred to as "The First Lady
of ____". Fill in the blank...
a. the American Screen b. Silent Movies c. Hollywood
1a. You get one bonus point if you can guess which of the
following 3 nicknames was NOT one of Bette Davis'.
c. The Fifth Warner Brother d. Betty Boop e. Fred
2) Kim Carnes had another smash hit with country star Kenny
Rogers. What was the name of that song?
a. We've Got Tonight
b. Don't Fall In Love With A Dreamer
c. All I Ever Need Is You
3) Bette Davis wasn't born with the name Bette Davis. What
was her birth name?
a. Bette Ruth b. Betty Davis c. Ruth Davis
4) Kim Carnes, in addition to performing, has written hit
songs for dozens of more well-known stars. Which of the
following songs is NOT one that Kim wrote?
a. The Heart Won't Lie (performed by Reba McEntire and Vince
Gill)
b. I Feel Too Much (performed by Celine Dion)
c. You Don't Love Me Anymore (performed by Tim McGraw)
5) How many movies did Bette Davis make in her career?
a. 45 b. 70 c. over 100
6) Kim Carnes says that when she was three years old she knew
she was going to write songs and perform them for people. How
old was she when she signed her first record deal?
a. 22 b. 27 c. 34
7) Bette Davis was the first woman to be honored with the
American Film Institute's Lifetime Achievement Award. She was
also the first woman to be president of the ____. Fill in the
blank...
a. Motion Picture Academy of Arts and Sciences
b. Screen Actors Guild
c. Hollywood Walk of Fame
8) Kim Carnes and Kenny Rogers were members of a popular folk
group in the late 1960's. What was the name of that group?
a. The Mugwumps
b. New Christy Minstrels
c. Fairport Convention
And now for a smash hit questions...
9) Bette made her Broadway debut in 1929, and moved to Holly-
wood in 1930. After making six small films for Universal,
Bette wanted to return to Broadway but quickly changed her
mind when Warner Brothers offered her a 7-year contract in
1932. After her first Warner Brothers film in 1932, Bette was
a star, and well on her way to superstar status. What was that
first Warner Brothers film?
a. The Man Who Played God
b. Whatever Happened to Baby Jane
c. Jezebel
Answers below, here's the scoring:
9 correct: Perfection!
7-8 correct: Outstanding
5-6 correct: Very Good
2-4 correct: Fairly Fair
0-1 correct: Turn the TV off.
Answers:
1) a. the American Screen
-> 1a) d. Betty Boop
2) b. Don't Fall In Love With A Dreamer
3) c. Ruth Davis
4) b. I Feel Too Much (performed by Celine Dion)
5) c. over 100
6) b. 27
7) a. Motion Picture Academy of Arts and Sciences
8) b. New Christy Minstrels
9) a. The Man Who Played God
------------------------------------------------------------
COMPUTER TIPS - Easy File Size Information
Do you ever need to know the file size of a directory and its
contents or a single file like an image?
A quick and easy way to find the size of a directory (folder),
including the files and folders inside it, is to press ALT+ENTER
with the folder highlighted.
For example, to find out how much space your web site directory
takes:
1) Open Windows Explorer.
2) Left-click your web site folder in the left pane to highlight
it.
3) Press ALT+ENTER (or right-click and choose Properties).
Windows will report the total folder size. If you keep a copy
of your web site on your computer in its own folder (and you
should) this is a great way to see how much disk space it really
takes up. Most people pay for a lot more disk space with their
web host than they really need. Knowing how much space you really
need can save you money.
Disclaimer: Advice in this column is presented as informational
and is true to the best of my knowledge. Any decisions to follow
this advice is your responsibility. Your computer, your choice.
------------------------------------------------------------
Until next week, remember these words of Buddha: Believe
nothing just because a so-called wise person said it. Believe
nothing just because a belief is generally held. Believe
nothing just because it is said in ancient books. Believe
nothing just because it is said to be of divine origin.
Believe nothing just because someone else believes it. Believe
only what you yourself test and judge to be true.
Have an interesting day, Simon
Questions? Comments? Email me at: tutor@gophercentral.com
-------------------------------------------------------------
To view recent issues please visit: Internet Tutor Archives
_____________________________________________________________
END OF THE INTERNET TUTOR
Copyright 2006 by NextEra Media. All rights reserved.
E-Mail this issue
Subscribe FREE to Internet Tutor by clicking here.
|