Welcome to Geeklog, Anonymous Tuesday, September 27 2022 @ 12:37 pm EDT

Geeklog Forums

Showing an ad when download a file


Status: offline

etolocka

Forum User
Chatty
Registered: 07/19/04
Posts: 60
Hi guys!

Is there any way to show an ad when the user starts download of a file (from File Manager) ?

Best regards,
Ernesto.
 Quote

Status: offline

jetshack

Forum User
Full Member
Registered: 06/29/04
Posts: 122
Location:Texas
Maybe you could point the download to an html file with an autodownload script on it and place the add in the html...
Place this between the head and body tags
Text Formatted Code
<SCRIPT LANGUAGE="JavaScript">
<!-- Script courtesy of http://www.springcypress.com
window.location="http://path/to/file/";
// -->
 

then put the add in the body....
Not sure if this will work, but you can also put a delay on how long it takes before the redirect takes effect also.
 Quote

Status: offline

etolocka

Forum User
Chatty
Registered: 07/19/04
Posts: 60
Thank you!

I want to show the advice every time the user download a file and before the download starts (something like: "Drink Coca Cola. Wait for download to start in 5 seconds...")

Regards,
Ernesto.
 Quote

All times are EDT. The time is now 12:37 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content