Webmaster Key - Discussion Forums


Welcome, Guest. Please login or register.
Did you miss your activation email?
February 09, 2012, 11:35:02 PM

Login with username, password and session length
Welceome to Forums!

Important information for guests and new members:

In order to understand the full benefits of becoming an active member of this forum, please review the following information on guest and new member restrictions. These forum changes have been prompted by an overwhelming and unreasonable amount of bot postings and incoherent guest spam messages. We wish to prevent these events from happening in the future and make our community a more comfortable place for all of our members.

For guests:

Guests are not allowed to open new topics, polls, or posts attachments.
If you wish to open up new discussions on this forum, we encourage you to register.

For new members:

New members with less than five posts are not allowed to modify additional profile information such as avatars, contact information, biographies, and signatures. However, new members are encouraged to post their own topics or reply to topics initiated by other members. Become active on the forums and 5 posts should be an easy task!

We are a diverse community with members from all over the world. We encourage new ideas and interesting conversation. Do not be afraid to post webmaster/computer-related questions or problems, as our active members are always willing to help when they are able. Interested? Join us.

+ Webmaster Key Forums
|-+ Webmaster Corner
| |-+ Site Design and Web Authoring
| | |-+ Coding Talk
| | | |-+ POP-UPs problem
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Stumble Upon! Digg It! del.icio.us! Add to Technorati! ReddIt!  Send this topic Print
Author Topic: POP-UPs problem  (Read 4344 times)
Matt999
Key Keeper
Full Member
***
Posts: 243


« on: November 06, 2002, 06:35:30 AM »

 Question about scripts here:

 When I view source on my webpage, it shows at the very top:

<SCRIPT LANGUAGE="JavaScript" SRC="http://partner.topcities.com/stuff_tc/popup-sp.js"> </SCRIPT>

yet in the ftp program it does not show. So when I validate the page it says this is bad and shows done with errors on page in task bar area. And yet if you then refresh the page the error message no longer shows and says Done as does a page with good html.

Ideally, it should start with:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

I have other errors on the page as well, I am fairly sure, but this is the biggest offender and was wondering if there is a way around this one?

Any help here would be super great
« Last Edit: November 06, 2002, 06:41:45 AM by Matt999 » Report to moderator   Logged
islanding
Key Keeper
Sr. Member
****
Posts: 313


I see, But why?


WWW
« Reply #1 on: November 06, 2002, 12:11:03 PM »

Hay,

Post the entire script if you don't mind ( In Blue ).

What FTP program are you talking about?
What Validation process are you talking about?

Some problems are in the way things are handled by the software. An example is with my ASP code in Dreamweaver UltraDev it will say a certain error is present and in WebMatrix it may say the error is for a different reason. These two software packages use different validations processes during it's handling of the code.

The other problem stems from using view source from browser. If the page is script, what view source will show you is the end result of the script but not the script itself.

This means that this may show up in the top of your "View Source"

<SCRIPT LANGUAGE="JavaScript" SRC="http://partner.topcities.com/stuff_tc/popup-sp.js"> </SCRIPT>

but be at the end of the script and it doesn't have to look the same.

If you don’t mind post the page and we will look at it with you.
Report to moderator   Logged

The Box said: "Install Win95 or better ..." So I installed Linux.
SensoVision
Administrator
Veteran
*****
Posts: 5 857


I'm proud user of Debian GNU/Linux OS


WWW
« Reply #2 on: November 06, 2002, 07:45:16 PM »

Hi Matt, are you mean that this code appear on your site when you see source of pages uploaded to hosting right? if so maybe this code was put there by hosting company? Islanding, how do you think is it possible to put such code to every page before give it out to browser and not modify any files phisically?
Report to moderator   Logged

Denis
erdnis
Key Keeper
Member
**
Posts: 71


WWW
« Reply #3 on: November 06, 2002, 07:49:36 PM »

Well, I don't know how they do it, but I know that almost every free host out there does it to show ads on your site.
Report to moderator   Logged

islanding
Key Keeper
Sr. Member
****
Posts: 313


I see, But why?


WWW
« Reply #4 on: November 06, 2002, 10:23:04 PM »

it is easy, but you can't complain about it on a free host as it is part of your agreement !!!!
Report to moderator   Logged

The Box said: "Install Win95 or better ..." So I installed Linux.
Matt999
Key Keeper
Full Member
***
Posts: 243


« Reply #5 on: November 15, 2002, 10:31:27 PM »

  It turns out the antipopup software which was causing the problem with the error messages  The problem was on every page and went away when the software was turned off.   Somehow, well, I have been discussing the problem with my friend and this is how he explained it:


I think I figured out why the error messages are coming up from your web site.  Your server is loaded with popups and Free Surfer is used to knock out those popups.  That is why the errors message is displayed.  Basically the server you are on is trying to push the popups through to the user's browser but they are being blocked by Free Surfer.  That is like taking a ball and throwing it out a window.  If someone else secretly shuts the window (without the thrower's knowledge) the ball will bounce back and the thrower will be thinking there is something wrong with the opening in the window, or the way he is throwing the ball.  Try any other popup killer program and you will get the exact same results.  The problem is not with Free Surfer but rather with the server you are using for your web site.  You can download lots of popup killing programs from zdnet.com and test them with your web site.  That is what I did.  I download a program called Kill Popup and after running it I went to your web site and got the same error messages.  I then closed Kill Popup and continued browsing your site WITHOUT restarting my browser or refreshing it (I just closed kill popup as I browsed your site). I never got anymore error messages but I then continued getting the popups.  Maybe there is a script that you can get that will fool the popups from the server into thinking they are being loaded onto the user's browser but in fact are going nowhere.  It's just like giving a patient a sugar pill instead of the real medicine when he thinks he is dying when in fact there is nothing wrong with him.  He will think he is being cured of his phantom disease.

I wonder if there is such a script?
« Last Edit: November 15, 2002, 10:46:26 PM by Matt999 » Report to moderator   Logged
islanding
Key Keeper
Sr. Member
****
Posts: 313


I see, But why?


WWW
« Reply #6 on: November 16, 2002, 12:55:39 AM »

If you are on a free hosting program that includes the pop-ups in your agreement, any attempt to circumvent them will violate and possibly terminate your hosting. If you would like hosting without the pop-ups pay for it, there are many hosting companies out there that would love to have your business. In much the same way we black list host, could they black list dishonest webmasters.

In answer to your questions, yes hosting companies can and do make additions to your files before being handed to the browser. It is simple and an easy way to see how this may be done is, they could assign you directory “you” and then set a different directory as root to the web server “root”. In “root” we run an ASP or PHP scripted site with your file using a server side include containing your page from “you” directory. What you see in view source is the result of the script not the script itself. The script includes our ads and your page, our ads like any other ad script tracks impressions and clicks and the like. You cannot run a script from your page that would fool this into thinking it is working and not show the ad. If this is what you want than you should pay for it. It is possible to use client side scripting however to fool this script, this means your site would also have to be “Script” (HTML is not script). If you use such a script, you will loose your hosting for sure. This is very common, not a big deal……………..Good Luck
Report to moderator   Logged

The Box said: "Install Win95 or better ..." So I installed Linux.
Pages: [1] Go Up Stumble Upon! Digg It! del.icio.us! Add to Technorati! ReddIt!  Send this topic Print 
+ Webmaster Key Forums
|-+ Webmaster Corner
| |-+ Site Design and Web Authoring
| | |-+ Coding Talk
| | | |-+ POP-UPs problem

Jump to:  
« previous next »


Our Partners
RelmaxTOP Ranking System Web Hosting RelmaxTOP Ranking System
Staff Sites
12Noon[12Noon Gallery] Andy[Urgentclick]
Tamuril[Tamuril's Digital Art Exhibit] Sensovision
Powered by MySQL Powered by PHP We are hosted by Relmax Inc. |Our Privacy Policy | Sitemap
Powered by SMF 1.1.9 | SMF © 2006-2009, Simple Machines LLC
Forum design by Tamuril © 2005.
Valid XHTML 1.0! Valid CSS!