Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1022807
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T11:31:13+00:00 2026-05-16T11:31:13+00:00

I have a referral project. In that there is an agent between the affiliate

  • 0
  1. I have a referral project.
    1. In that there is an agent between the
      affiliate(my site) and the target site.
    2. So all hyperlinks displayed in my
      site will be redirected to the agents
      site and then it is redirected to the
      target site.
    3. The hyperlink itself is the link to
      the agents site.
    4. So i am displaying all products. I
      have given links to them. When users
      hover a hyeprlink you can see the
      href text displayed in the status bar
      which will be the agents site.
    5. The requirement is the hyperlinks of
      an agent site should not be displayed
      in the status bar.

My solutions and assumptions

  1. So i can use span onclick =
    window.location = hrefOfAgentLink.

  2. I have seen in other sites that they
    redirect to another scripting page
    and then the redirection takes
    place. for example
    http://sitename.com/click/id=32.

  3. The id refers to the hyperlink in
    database. hope they fetch the link
    and they do a location header to
    redirect to the agent page.

Why so? because the user should not see where the link goes.

I want to know whether there is(are) any other option(s) so that the hyperlink will not be visible in the status bar and in the address bar when it is redirecting.

Anyway when redirecting the agents url is not visible because it immediately redirects to the target site.

I would like to have the stackoverflow users suggestions. Thank you.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T11:31:13+00:00Added an answer on May 16, 2026 at 11:31 am

    You used to be able to set the status bar message using javascript, but you can not do that reliably anymore. This is most probably because the browser wants to protect the user. Instead of trying to hide the URL, perhaps you should work on a “redirect-URL” that looks reliable and that makes it obvious to the user both that it is a redirect-URL and where it is going. For example this kind of URL would both make me aware of where I am going and that my access is going to be recorded:

    tracker.my-ad-network.com/stacktrace.com/ad/568

    Instead of something like this (that would not make me feel safe):

    dashj2.gggfbad.com/index.php?aid=1232808432&ref=123432.

    And as noted above, start accepting serious attempt to help you or people will simply stop 🙂

    Piotr

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a web app built in coldfusion that receives medical referral letters from
I have a domain called example.com that takes a parameter ?ref=XXXXXX . The referral
I have an app that will display web pages within a UIWebView. The pages
I have a django 1.4 project with 2 apps: RemoteStorage and WeShouldServer (that one
I have a referral form that a user can refer friends for membership. The
I have a contact form that has a drop-down for referral source. If Magazine
I have a pivot table in excel that shows referral domains to our website.
I have an asp.net 3.5 app that uses forms authentication. Requests with particular referral
Currently I have two tables in my database Encounters and Referrals : There is
When I have a custom entity Referral, the primary attribute is a refid and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.