Thread: List Of Links In The Page
Results 1 to 4 of 4
Identical links on same page Forum: Search Engine Optimization - SEO - ForumReplies: 3
List of Directories that provide one-way links Forum: Website Promotion ForumReplies: 5
Different Colored Links On One Page? Forum: CSS ForumReplies: 3
Different Colored Links On One Page? Forum: HTML ForumReplies: 3
Placing list or table on right side of page Forum: HTML ForumReplies: 1
02-26-2005, 09:34 AM #1
List Of Links In The Page
I have found the following code which does exactly what I wanted.
However, the links of Google ads ("Ads by Goooooogle") is not getting displayed. I spent almost a day trying to get the links, using getElementByID, innerHTML, etc. but still unsuccessful.
02-26-2005, 09:48 AM #2
Hi, welcome to the forums.
I'm not sure its a good idea to even try extracting their links, as the goooogle people are quite strict about what you can and can't do with their ads. Unless you have an extremely pressing need to also list your google ads in this list, I would leave well alone.
To actually get this done, it would be very complicated. have a look at the source of the show_ads.js referenced in your page, I am not sure its going to be practical to grab them in any case.
03-01-2005, 03:20 AM #3
Lets Crack This Problem
When I right click and 'view source' when the mouse is over the ads, I am able to see the full html of the ads-window.
In fact, I tried to go through show_ads.js....
I removed the reference to show_ads.js and in the place copied the contents of the file show_ads.js...
Then I wrote a simple function wr(x) which does this
document.write('begin' + x + 'end') ;
and replaced document.write() to wr() whereever it appears in show_ads.js
But unfortunately, browser(IE6.0) says error in page and doesnt work..... (What I am trying to do is to display the generated script which gets the final html)
03-01-2005, 07:28 AM #4
I'm sorry, but what your attempting to do is against the google Useage Policy
Any AdSense ad code or search box code must be pasted directly into Web pages without modification. AdSense participants are not allowed to alter the ad code for any reason, include changing the ad layout, behavior, or delivery of ads.