How to Force client press Refresh to view full content?

05-28-06, 07:05 PM
|
|
New Member
|
|
Join Date: May 2006
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
|
How to Force client press Refresh to view full content?
I have visited some site that they have use a javascript ( i'm not really sure) to force the client press Refresh to view full content. Example : the page have a link to a Film, If the client want to view the link, they must Refresh the current page . How can i do that
Demo : www.traudien.com
i have found this on the tag HEAD
Quote:
|
<script language='javascript' src='http://127.0.0.1:1025/js.cgi?pa&r=12043'></script>
|
Thanks for replying
|

05-29-06, 01:05 PM
|
|
Community VIP
|
|
Join Date: Sep 2003
Location: 404
Posts: 1,813
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
This could be done by making the server check and set a cookie when a user visits.
If the cookie doesn't exist, it's the first time the user is visiting so show the "force refresh page". If the cookie exists, let the user in.
Doing this would be pointless and probably very irritating if you visit the site alot.
I think they do it to force all the ads on that to show more times per visitor, which I'd consider cheating if I was Google.
The script you mention would be located on your computer since 127.0.0.1 is the loopback address to your comp. If your comp is running some kind of server (webserver perhaps) which is listening on port 1025, it would execute the js.cgi file with the querystring "pa&r=12043". That looks very suspicious to me because whatever code is in that file would most likely run with full access to your system, and maybe without you knowing it. What is returned from the file will be interpreted as JavaScript by the browser, which could report back some data to the site by submitting a hidden form or something...
|

05-30-06, 11:17 AM
|
|
New Member
|
|
Join Date: May 2006
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
yeah, They have wrote " If you want to see the hide link Film, please click on ads, then click Back, click Refresh and you can see the film"
I think that's a good way to increase google income
|

05-30-06, 11:30 AM
|
|
Community VIP
|
|
Join Date: Sep 2003
Location: 404
Posts: 1,813
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
It's never good to "force" a user to click ads.
Refreshing the page without clicking ads will also show the next page, but most people would probably think they have to click one to be allowed to move on.
A dirty way of generating cash by clicks...
|

06-01-06, 04:30 PM
|
|
New Member
|
|
Join Date: May 2006
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
if you don't know how to do my solution,pls keep silent, i have my own solution and come here to ask for help, not to discuss about the way of earning money
I have opened my forum for everyone but no-one pay, and why i can not ask them to help me
|

06-02-06, 03:02 PM
|
|
Community VIP
|
|
Join Date: Sep 2003
Location: 404
Posts: 1,813
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
I do know how to solve your problem, and I gave you the exmple with cookies. A session variable could be used too I guess, but that depends on how often you want the ad page to show up.
There are lots of scripts both on this forum and the web for setting and getting cookies in JavaScript if you don't have server scripts, search and you'll find them. They all boil down to giving document.cookie a string with a key/value pair and appending the expires key with a time value you see fit.
I simply give my point of view which might be a hint of what your visitors might think when seeing the ad page.
Btw, that script tag isn't on the site, it might be added by an anti-virus program or similar to prevent popups or other annoying things, or in the worst case it's some malware doing something nasty when you're surfing. I don't know what it does or where it comes from, but having a site linking to a local serverscript seems strange.
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Similar Threads
|
| Thread |
Thread Starter |
Forum |
Replies |
Last Post |
|
Error On Registeration
|
timmy408 |
ASP |
2 |
09-05-04 03:53 PM |
|