Welcome to City-Data.com Forum!
U.S. CitiesCity-Data Forum Index
Go Back   City-Data Forum > General Forums > Science and Technology > Internet
 [Register]
Please register to participate in our discussions with 2 million other members - it's free and quick! Some forums can only be seen by registered members. After you create your account, you'll be able to customize options and access all our 15,000 new posts/day with fewer ads.
View detailed profile (Advanced) or search
site with Google Custom Search

Search Forums  (Advanced)
Reply Start New Thread
 
Old 11-17-2008, 12:53 PM
 
3,512 posts, read 9,426,438 times
Reputation: 1517

Advertisements

Thank you all for your comments and suggestions. I tried a couple of them to no success, probably because I am not very tech savy.

I just went to my website and it appears to be back to normal.

Edit: Nevermind, it is not loading again. IDK how I was able to get it to load, but it loaded my site perfectly and now has the same problems as before.
Reply With Quote Quick reply to this message

 
Old 11-18-2008, 08:13 PM
 
Location: Texas
5,068 posts, read 10,131,243 times
Reputation: 1651
Quote:
Originally Posted by thecoalman View Post
He has HTML files and they are are vulnerable to nothing, its just a file it doesn't do anything. It's possible for the server to get hacked and for them to get altered but that's really something different. Server side scripting files like PHP or ASP on the other hand that can accept user input either the through the $_POST or $_GET variables can be quite vulnerable if the input is not validated.

Chances are Tripod does not allow server side scripting. If his site was "attacked" it would have been tripods servers that were attacked.

Having said all that what you're seeing is ads injected into your pages by tripod. One issue that may arise is your HTML is not compatible with ad code they are injecting. For example one issue I've been aware of in the past is free forum hosts injecting ads in to all php pages from phpbb, the issue is the stylesheet use the php extension. Plays nice in IR becuse IE will ignore it but completely breaks the stylesheet FF.

As suggested spend a few bucks and get a real host, you can a starter plan for about $5 a month with a lot of features.

try here for comparisons: Web Hosting Talk - The largest, most influential web hosting community on the Internet
Ah, thanks! Possibly I was thinking in terms of sites that allow outside interaction, such as a forum.
Reply With Quote Quick reply to this message
 
Old 01-15-2009, 11:45 AM
 
3,512 posts, read 9,426,438 times
Reputation: 1517
I now have a new website thanks to a City Data member!

Syracuse Information Guide

Reply With Quote Quick reply to this message
 
Old 01-17-2009, 10:00 AM
 
28,803 posts, read 47,694,717 times
Reputation: 37905
Nice site!

I notice that the web pages (some, not all) are too wide and don't adjust to screen resolution. The main page is off my screen in both FF and IE. The photo pages for Clay do the same thing. I'm at 1024x768

I used to have a code snippet that would read the resolution of the monitor viewing the page and adjust accordingly. If I still have it I'll post it here.

Last edited by Tek_Freek; 01-17-2009 at 10:14 AM..
Reply With Quote Quick reply to this message
 
Old 01-17-2009, 10:13 AM
 
28,803 posts, read 47,694,717 times
Reputation: 37905
Here's the code I use to adjust which header graphics I display depending on the resolution of the monitor viewing it. Defaults to 800x600 if the resolution is not in the list. This was written in 2001 and does still work. Similar code can be used to adjust the entire page.

var width = screen.width;
var height = screen.height;
var d = this.window.document;

//document.write("You're set to "+width+ "X" +height+"");

{if (width == 640) {
var header="'Header_trajax640.gif'";
var logo="'NewLogo640.gif'";

} else if (width == 800) {
var header="'Header_trajax800.gif'";
var logo="'NewLogo800.gif'";

} else if (width == 1024) {
var header="'Header_trajax1024.gif'";
var logo="'NewLogo1024.gif'";

} else if (width == 1152) {
var header="'Header_trajax1152.gif'";
var logo="'NewLogo1152.gif'";

} else {var header="'Header_trajax800.gif'";
var logo="'NewLogo800.gif'";

}}

d.write('<p></p>');
d.write('</div align="center">');
d.write('<center>');
d.write('<table border="0" cellpadding="0" cellspacing="0" width="700">');
d.write('<tr>');
d.write('<td width="120" align="center">');
d.write('<img border="0" src=');
d.write(logo);
d.write('>');

d.write('<td width="588" align="center">');
d.write('<img border="0" src=');
d.write(header);
d.write('>');

d.write('</tr>');

d.write('</table>');
d.write('</center>');
d.write('</div>');

This one stops someone from right clicking your page and seeing the code:

<!-- Start of no right click script -->
<script language="JavaScript">

<!--
// No rightclick script.
// Find more great scripts and applets at the JavaFile!
// JavaFile.com - free java scripts, java applets!
// Do not delete this header!

var message="Error! Cannot read file. Please check your browser settings.";

// Don't edit below!

function click(e) {
if (document.all) {
if (event.button == 2) {
alert(message);
return false;
}
}
if (document.layers) {
if (e.which == 3) {
alert(message);
return false;
}
}
}
if (document.layers) {
document.captureEvents(Event.MOUSEDOWN);
}
document.onmousedown=click;
// -->

</script>
<!-- End of no right click script -->
Reply With Quote Quick reply to this message
 
Old 01-17-2009, 10:37 AM
 
41,813 posts, read 51,045,587 times
Reputation: 17864
Quote:
Originally Posted by Tek_Freek View Post

This one stops someone from right clicking your page and seeing the code:
That does not work in FF and most likely other browsers. Truthfully those right click scripts are really annoying. There's a lot more options on right click than just those that can be used to "steal" your source code or images. That's besides the fact you only have to click the "View source" from the view menu anyway.

In my case I use an extension for FF called firebug which is almost essential for web development. Showing the source code is one basic thing it does. You can even change it live to check for bugs and compatibility.
Reply With Quote Quick reply to this message
 
Old 01-17-2009, 11:14 AM
 
28,803 posts, read 47,694,717 times
Reputation: 37905
Quote:
Originally Posted by thecoalman View Post
That does not work in FF and most likely other browsers. Truthfully those right click scripts are really annoying. There's a lot more options on right click than just those that can be used to "steal" your source code or images. That's besides the fact you only have to click the "View source" from the view menu anyway.

In my case I use an extension for FF called firebug which is almost essential for web development. Showing the source code is one basic thing it does. You can even change it live to check for bugs and compatibility.
It was written in 2001. I didn't expect it to work forever.
Reply With Quote Quick reply to this message
 
Old 01-18-2009, 07:22 PM
 
3,512 posts, read 9,426,438 times
Reputation: 1517
Quote:
Originally Posted by Tek_Freek View Post
Nice site!

I notice that the web pages (some, not all) are too wide and don't adjust to screen resolution. The main page is off my screen in both FF and IE. The photo pages for Clay do the same thing. I'm at 1024x768

I used to have a code snippet that would read the resolution of the monitor viewing the page and adjust accordingly. If I still have it I'll post it here.
Thanks, I'll have to look into that screen resolution problem.
Reply With Quote Quick reply to this message
Please register to post and access all features of our very popular forum. It is free and quick. Over $68,000 in prizes has already been given out to active posters on our forum. Additional giveaways are planned.

Detailed information about all U.S. cities, counties, and zip codes on our site: City-data.com.


Reply
Please update this thread with any new information or opinions. This open thread is still read by thousands of people, so we encourage all additional points of view.

Quick Reply
Message:


Over $104,000 in prizes was already given out to active posters on our forum and additional giveaways are planned!

Go Back   City-Data Forum > General Forums > Science and Technology > Internet
Similar Threads

All times are GMT -6. The time now is 05:57 PM.

© 2005-2024, Advameg, Inc. · Please obey Forum Rules · Terms of Use and Privacy Policy · Bug Bounty

City-Data.com - Contact Us - Archive 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37 - Top