Printer Friendly Version
Email this thread to a friend
|
Featured Web Site Template |
|
Reflects user activity within the last 5 minutes
|
|
| Member |
Message |
friar
Joined: Mar 22, 2005
# Posts: 9
|
Posted: 2005-Mar-26 20:54
Hi,
I noticed that some of my pages are being framed by other sites and I know that I can use a simple javascript to break out of their frames -- my question is: Is there a any downside to having this little javascript on my pages? It's harmless, right?
Thanks in advance!
|
 |
g1smd
Staff
Joined: Jul 28, 2002
# Posts: 10418
|
Posted: 2005-Mar-26 22:47
Put the javascript in an external file and link to that with one line of code in the HTML page:
<script type="text/javascript" src="/path/file.js"></script>
This makes your HTML page smaller. It allows you to use the same code on all pages yet still be able to edit the code just once to update the whole site. It keeps bots happier.
|
 |
You are not permitted to post messages in this forum or topic, because of one or more of the following reasons:
- You have not yet logged in, or registered properly as a member
- You are a member, but no longer have posting rights.
- This is a private forum, for which you do not have permissions.
If you are a recent member, it's possible that you simply have not yet confirmed your account. Please
check your email for a message entitled 'JimWorld Forums: Confirm Your Account' and follow the instructions
contained within.
If you cannot find this message, click here to Re-Send it.
|
If you are still experiencing problem, please read the
Login Assistance
Article for some advice on what may be causing your login not to work properly.
|
Switch to Advanced Editor and ...
Create a New Topic
or Reply to this Thread
|
|