Jump to content

Can a website tell if they're your homepage?

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
5 replies to this topic

#1
wilkinsonsm4

wilkinsonsm4

    Newbie

  • Members
  • PipPip
  • 13 posts
Ideally, I would like to give my visitors functional "rewards" for making my site their homepage. I've never heard of anybody doing this and I was just wondering if anybody had any ideas.

Thank you much

#2
BlaineSch

BlaineSch

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 2,448 posts
To be simple, no you can't.

If you wanted to really do something like that - you could try and find an addon that could feed that to you and suggest users to add that, then for keeping it the homepage for x amount of days give them a reward.

Basically you'd have to use a downloadable program to figure that out, the website cannot access that information.

#3
wilkinsonsm4

wilkinsonsm4

    Newbie

  • Members
  • PipPip
  • 13 posts
Thank you very much! I appreciate the tip and welcome any other thoughts or comments.

#4
gokuajmes

gokuajmes

    Programming God

  • Members
  • PipPipPipPipPipPipPip
  • 518 posts
Probably possible,
In your Home page(which is going to be made someone else's homepage) try putting a javascript that does asynchronous request with your database(security issue,try jsonP) the data for the request will be the URL of the site with your homepage.
Certainly possible :D

#5
SoN9ne

SoN9ne

    Programmer

  • Members
  • PipPipPipPip
  • 129 posts
That would be too invasive and many users may not like it.
The only way I could think to do this without being too invasive is to have a link to add it to their homepage and have this update a field in the database using onclick.
Of course this is a flawed since clicking doesn't mean it is actually being set to their homepage.

Trying to monitor the setting on someones computer is invasive and ethics are called into play here (homepage is a setting). I would never trust a site that much. Better yet, what is the point? I keep my homepage as blank because I don't like loading the same page every time I start my browser. Plus why do I want to wait for a page to load when I want to go somewhere else? Asides from trying to force users to stay on your page, there is no point. It seems this would only benefit the site owner, not the user, hence the reward program. Shady practice in my opinion.

Good idea but benefits do not outweigh the costs.
"Life would be so much easier if we only had the source code."

#6
wilkinsonsm4

wilkinsonsm4

    Newbie

  • Members
  • PipPip
  • 13 posts
Yes, thanks very much for your courteous and well thought out replies. I'm impressed. I do believe your advice regarding the cost benefit to be sensible and will reconsider this maneuver.