homepage Welcome to WebmasterWorld Guest from 54.226.10.234
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Yahoo / Yahoo Search Engine and Directory
Forum Library, Charter, Moderators: martinibuster

Yahoo Search Engine and Directory Forum

This 47 message thread spans 2 pages: < < 47 ( 1 [2]     
Yahoo Altering Webmaster Content
Yahoo Images and Videos are Depriving Publishers of Revenue
cabbie

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 4042 posted 2:18 am on Jun 8, 2006 (gmt 0)

It seems that yahoo images(as well as their video domain) is now embedding a a little known tag called securty=restricted on a frame which disables all javascript in IE disabling any adwords or banners that the website who is providing the image or video may have.

To me this constitutes blatant theft. For all purposes they are providing your content on your bandwidth and at the same time preventing you from getting a return. How can anyone buy anything while in a secruity restricted frame, when all cookies and java is disabled.

 

incrediBILL

WebmasterWorld Administrator incredibill us a WebmasterWorld Top Contributor of All Time 5+ Year Member Top Contributors Of The Month



 
Msg#: 4042 posted 5:25 am on Jun 10, 2006 (gmt 0)

I think this is long overdue. I look forward to Google Images implementing it and will be implementing it in the very few places I frame pages.

You must be kidding - well I guess you don't like your advertising dollars from people clicking on AdSense or YPN! I've had a frame buster in place for Google Image search for ages and just put the message on the site when Yahoo Images comes along "Apologizing for not being able to display the page but Yahoo makes it malfunction, click HERE to see the page in another window."

Yahoo and all the proxy servers that also strip pages can all go rot, they will be blocked or stopped from this untolerable behavior.

xalex

5+ Year Member



 
Msg#: 4042 posted 5:36 am on Jun 10, 2006 (gmt 0)

Stop complaining. Just scrape content from Yahoo and put some AdSense on. Give Yahoo a taste of there own medicine.

incrediBILL

WebmasterWorld Administrator incredibill us a WebmasterWorld Top Contributor of All Time 5+ Year Member Top Contributors Of The Month



 
Msg#: 4042 posted 8:09 am on Jun 10, 2006 (gmt 0)

Who's complaining?

I'm telling all of the Yahoo visitors from the image search that Yahoo breaks pages, it's BAD PR for Yahoo.

Dealing with it in my own way...

bumpaw

10+ Year Member



 
Msg#: 4042 posted 12:20 pm on Jun 10, 2006 (gmt 0)

I'm telling all of the Yahoo visitors from the image search that Yahoo breaks pages, it's BAD PR for Yahoo.

Dealing with it in my own way...


This is the route I would like to go if I just new how. Is there a link to the tech details of how to implement along with the frame buster?

Web_speed



 
Msg#: 4042 posted 3:18 pm on Jun 10, 2006 (gmt 0)

Heres one solution (PHP)

Put the following PHP code at the very top of every .htm or .html file, right at the top before the <html> tag, make sure there are no leading empty lines before the code.

<?
$reffering_page=$_SERVER['HTTP_REFERER'];
$check=strpos($reffering_page, "http://insert_part_of_yahoo_images_url_here");
if($check){
print <<<EOT
-------
Insert here nasty HTML messages with a link instructing the user to click here to breake out of frames. Don't forget to mention that yahoo sucks, having us to resort to such crappy methods.
-------
EOT;
} //end if
//exit and don't display any other elements from this page
exit;
?>

Edit your .htaccess file to enable running PHP code in .html files. Add the following lines to your .htaccess

RemoveHandler .html .htm
AddType application/x-httpd-php .php .htm .html

cons:
1) Not all viewers let you know the 'HTTP_REFERER'. Though about 88% do (viewers running Norton internet security have the 'HTTP_REFERER' info blocked by default).
2) Server will work a little harder having to parse each html file, no biggy though unless you have a really busy server.

I am sure there are many other solutions. Still trying to figure a more elegant way. The above code gets the job done in the mean time.

Hope this helps…

bumpaw

10+ Year Member



 
Msg#: 4042 posted 4:53 pm on Jun 10, 2006 (gmt 0)

Thanks Web_speed that looks easy enough. How about the browser snif that IncrediBill was talking about to only serve it to IE users?

beakertrail

10+ Year Member



 
Msg#: 4042 posted 6:32 pm on Jun 10, 2006 (gmt 0)

Time to block the Yahoo image crawler.

If a site is spending money on bandwidth and Yahoo is only providing visitors which do not generate revenue because AdSense and many other Ad scripts are blocked then there is little point in having them.

Yahoo may well change their mind when the number of images searchable through Yahoo Image Search reduces because of crawler blocking.

Personally I think that image search is a bit of a theft from websites anyway but so long as the visitor has ample chance to visit the website and perhaps click or at least view an ad then so be it.

3rd parties coming in (such as Yahoo) and altering a website which they have no business or right doing is totally out of order.

[edited by: martinibuster at 2:36 am (utc) on June 11, 2006]
[edit reason] See TOS [webmasterworld.com] [/edit]

incrediBILL

WebmasterWorld Administrator incredibill us a WebmasterWorld Top Contributor of All Time 5+ Year Member Top Contributors Of The Month



 
Msg#: 4042 posted 6:43 pm on Jun 10, 2006 (gmt 0)

bumpaw, do the same kind of check for MSIE being in HTTP_USER_AGENT

vincevincevince

WebmasterWorld Senior Member vincevincevince us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 4042 posted 3:39 am on Jun 11, 2006 (gmt 0)

3rd parties coming in (such as Yahoo) and altering a website which they have no business or right doing is totally out of order.

I think some posters must have misunderstood the situation. Yahoo have not altered the website in any way, they have just used a tag intended to indicate that the browser should be 'extra careful' with whatever is being loaded in the frame below.

Bearing in mind that the user does not know the full URL he or she is opening when the image link is clicked, or even the title of the page in most instances, this action understandably reflects the fact that Yahoo are trying to make up for the possibility you may end up at a site that installs malware, adware etc. or includes any number of (almost always client-side scripting based) codes based on browser exploits.

Yahoo is not responsible for the content of 3rd party sites it links to, but when you are surfing half-blind it seems a nice thought on their part to limit your exposure to things which will disrupt your browsing experience.

Some of the things it stops might seem great to you as a webmaster, but aren't for a user. Frame-busters, in particular, tend to break the back-button and mean you are not able to easily use basic functionality to return to the image results page.

You may miss out on a few dollars from ad-clicks this year, but anyone interested in your site will see all your ads as soon as they click a link on your page. You are still benefiting from branding, potential to attract one-way natural linking (images can play a strong part here) and no directly-embedded adverts will be affected.

I suggest that you come up with an advert for your site itself, something which fills the normal advertising space but tells your user what else they might see on the site. Use the space to turn the image-viewer into a site-user.

jomaxx

WebmasterWorld Senior Member jomaxx us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 4042 posted 5:20 am on Jun 11, 2006 (gmt 0)

Nice attempt at spinning this in a positive direction for Yahoo, but this is hardly a case of webmasters misunderstanding what is going on. By suppressing Javascript, Yahoo is actively causing problems with the display of many websites, including my own.

In addition, as I noted earlier, the Google toolbar popup blocker breaks every single link in the non-Yahoo frame. It seems likely that at least some other popup blockers will do the same. Seriously, every page is rendered 100% non-functional.

incrediBILL

WebmasterWorld Administrator incredibill us a WebmasterWorld Top Contributor of All Time 5+ Year Member Top Contributors Of The Month



 
Msg#: 4042 posted 9:32 am on Jun 11, 2006 (gmt 0)

Yahoo have not altered the website in any way, they have just used a tag intended to indicate that the browser should be 'extra careful' with whatever is being loaded in the frame below

Did you type that with a straight face?

The tag disabled a lot of functionality on my pages, therefore they are altering the content.

Hence, I showed my disdain by telling anyone using that feature that Yahoo breaks pages in a nice big <h1>, there will be no overlooking it.

drall

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 4042 posted 3:03 am on Jun 13, 2006 (gmt 0)

This started quite a while ago and I am surprised that this is just coming to peoples attention.

We just banned Yahoo from our image pages, very simple fix. When you have 200,000 plus people a day looking at your images through Yahoo and sucking teras of bandwidth and they are blocking our ads the decision was a easy one.

BahBye! Yahoo.

Web_speed



 
Msg#: 4042 posted 3:55 am on Jun 13, 2006 (gmt 0)

Thanks Web_speed that looks easy enough. How about the browser snif that IncrediBill was talking about to only serve it to IE users?

Including browser check.

<?
$reffering_page=$_SERVER['HTTP_REFERER'];
$browser= $_SERVER['HTTP_USER_AGENT'];
$check=strpos($reffering_page, "http://insert_part_of_yahoo_images_url_here");
$check_browser= strpos($browser, "MSIE");

if($check && $check_browser){

print <<<EOT
--------------------
Insert here nasty HTML messages with a link instructing the user to click and breake out of frames. Dont forget to mention that yahoo sucks, forcing us to resort to such methods.
--------------------
EOT;

//and exit without displaying any other elements from this page
exit;
} //end if
?>


surfin2u

10+ Year Member



 
Msg#: 4042 posted 7:00 pm on Jun 13, 2006 (gmt 0)

Minor code issue with last snippet:

$check=strpos($reffering_page, "http://insert_part_of_yahoo_images_url_here");

That won't work if $reffering_page begins with [......]

Here's what you want:

$check = (FALSE!== strpos($reffering_page, "http://insert_part_of_yahoo_images_url_here"));

and similarly for the second strpos call:

$check_browser = strpos($browser, "MSIE");

should be:

$check_browser = (FALSE!== strpos($browser, "MSIE"));

Web_speed



 
Msg#: 4042 posted 3:09 am on Jun 14, 2006 (gmt 0)

surfin2u, the code (msg 43) works fine. You are right to point out the "http://" issue, “http://” must be omitted from the $check for the code to work (removing the first “h” will also work).....I had it there just for illustration purposes, sorry should have noted that before posting. Here it is again with the proper yahoo url to put in $check.

<?
$reffering_page=$_SERVER['HTTP_REFERER'];
$browser= $_SERVER['HTTP_USER_AGENT'];
$check=strpos($reffering_page, "images.search.yahoo.com");
$check_browser= strpos($browser, "MSIE");
if($check && $check_browser){

print <<<EOT
--------------------
Insert here nasty HTML messages with a link instructing the user to click and breake out of frames. Dont forget to mention that yahoo sucks, forcing us to resort to such methods.
--------------------
EOT;

//and exit without displaying any other elements from this page
exit;
} //end if
?>


surfin2u

10+ Year Member



 
Msg#: 4042 posted 4:29 pm on Jun 14, 2006 (gmt 0)

I run into so many PHP bugs caused by the improper use of strpos(). The code ignores the fact that strpos($haystack, $needle) will return the integer zero when $haystack begins with the text in $needle. The zero is treated as FALSE in code like this and a bug is introducted:

if (strpos($haystack, $needle)) {
// assume $needle found in $haystack
} else {
// wrongly assume $needle not found in $haystack
}

I can see that you are aware of the issue, so this is for the benefit of anyone else out there, who is interested.

DamonHD

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 4042 posted 4:42 pm on Jun 14, 2006 (gmt 0)

Hi,

I already put:


<noscript>
You have JavaScript disabled, so some features of this site will not work.
</noscript>

after my AdSense blocks, which seems to show up OK on my pages in IE6 on Yahoo image search, which at least alerts visitors that something may be broken...

Rgds

Damon

This 47 message thread spans 2 pages: < < 47 ( 1 [2]
Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Yahoo / Yahoo Search Engine and Directory
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved