| Comments: |
AUGH I hate not being able to load images while I'm still reading a page!
In your "better" example, the "javascript:" is not necessary (and might actually break it).
Generally I do:
<a href="actual thing" onclick="return thingy()">
And then let thingy() return whatever true/false.
Knowing Yahoo, I bet their stuff works in some (probably crappy) if you don't have JS on. You might just try turning it off. Or wait for someone to write a Greasemonkey script to fix it.
![[User Picture]](http://p-userpic.livejournal.com/5887295/515656) | From: jwz Thu, 28-Apr-2005 3:29 PM (UTC)
| (Link)
|
I'd rather just vote with my mouse and use a different site entirely.
![[User Picture]](http://p-userpic.livejournal.com/62210385/4292459) | From: hub_ Thu, 28-Apr-2005 3:35 PM (UTC)
| (Link)
|
"a href" not "A HREF". XHTML is the future, let's comply by using the lower case :-)
From: rm76 Thu, 28-Apr-2005 3:40 PM (UTC)
Oddly enough | (Link)
|
I believe the onclick syntax didn't work in ns 4.x..... Only the href="javascript:" syntax.......
You could try BBC's " News In Pictures" which isn't bad and turns up the occasional gem, or you can fling this at greasemonkey:
// ==UserScript==
// @name YnewsDieJs
// @description No more skanky js
// @include http://story.news.yahoo.com/photos
// ==/UserScript==
(
function(){
var links = document.getElementsByTagName("A");
for( i = 0; i < links.length; i++ ) {
if ( links[i].href.indexOf("openSS") != -1 ) {
links[i].href = links[i].href.replace( "javascript:openSS('", "http://story.news.yahoo.com" );
links[i].href = links[i].href.replace( "')", "" );
}
}
}
)();
From: zhixel Thu, 28-Apr-2005 4:08 PM (UTC)
Amen. | (Link)
|
I think with the advent of tabbed browsing and the change it has brought to people's browsing habits, window.open has jumped the shark in general. There's very few instances where I can imagine there being a good reason for a website to spawn a new window. The only one off the top of my head being for some type of verbose help while filling out a form.
Speaking of retarded window methods, sometimes I really wonder who's idea resizeTo/resizeBy and moveTo/moveBy was. Ugh.
![[User Picture]](http://p-userpic.livejournal.com/13886128/1628836) | From: duncanmak Thu, 28-Apr-2005 4:12 PM (UTC)
Use greasemonkey to fix it? | (Link)
|
You should be able to write a greasemonkey script easily to rewrite the page back to how it used to be, right?
![[User Picture]](http://p-userpic.livejournal.com/9624370/1571) | From: evan Thu, 28-Apr-2005 4:13 PM (UTC)
| (Link)
|
From: sjn Thu, 28-Apr-2005 4:15 PM (UTC)
photos | (Link)
|
None of these are probably exactly right, at least when compared to yahoo's news photos, but here are a few I have bokmarked. First is Corbis http://pro.corbis.com/default.aspxThis is a stock photography site that is really very comprehensive and up to date. If you do a search by news (or anything else) and sort by date added you will get more than you could ever need. No registration required to look at the images. There is a watermark on them though. If you register (free if I recall) the watermarks goes away. National Geographic http://www.nationalgeographic.com/media/photography/Some really pretty shots, but it's National Geographic, so nothing really interesting/weird. New York Daily News http://www.dailynewspix.com/2.5 million photos they claim, again water marked, no idea if you can get rid of them, also images are not that big. Washngton Post http://www.washingtonpost.com/wp-dyn/content/photo/I like the size of their pictures. The content is good or bland. The biggest downside is that they do it as a flash slide show, so when I have gotten (stolen) images from them I have to do it via screen shot. On all of these, your results will of course be your own, I am usually looking for images I can use to patch another image or to use as deep back grounds. Good luck. PS: I prefer "A EhFr" but I am dyslexic
(1) I'm so habituated to middle-clicking Yahoo! Photos that I've done it three times today, only to realize that I have empty tabs.
(2) At least they didn't do it in Flash.
(3) Hey, have you heard of this great new thing called GreaseMonkey? It totally removes your right to complain, because you can just put in the work to make someone's site operate the way it should have in the first place, and .........
Just to chime in, I hate it too. I would be happy if Javascript drowned in its own vomit.
![[User Picture]](http://p-userpic.livejournal.com/23361739/604217) | From: benmarsh Thu, 28-Apr-2005 6:25 PM (UTC)
I hate this too. | (Link)
|
I don't know whether you use firefox but anyway. My solution to this problem is this extension in firefox called tab browser preferences. When javascript tries to open a new window the url comes up in a background tab instead like what happens when you middle click something.
The selection of the following options in the "tab browser preferences" extension is necessary. "Load windows diverted into tabs in the background" "Open these requested JavaScript popups in tabs. After loading the extension they can be found in Tools -> Options.
Also related are sites that do <a href="#" onClick="some_crappy_popup()">, again, without returning false. Thank you for temporarily fucking up my ability to click "back".
From: rnd_user_name Thu, 28-Apr-2005 7:13 PM (UTC)
| (Link)
|
Heh. Jwz's rant reminded me of this.
![[User Picture]](http://p-userpic.livejournal.com/52586670/1508713) | From: krick Thu, 28-Apr-2005 9:04 PM (UTC)
| (Link)
|
![[User Picture]](http://p-userpic.livejournal.com/26104787/6145587) | From: lohphat Thu, 28-Apr-2005 9:34 PM (UTC)
wtf? | (Link)
|
I'm still getting over jwz using the term "jumping the shark".
I feel so...so...unclean.
![[User Picture]](http://p-userpic.livejournal.com/40862522/1527861) | From: imnewtryme Fri, 29-Apr-2005 5:49 AM (UTC)
middle click!?!?!?!? | (Link)
|
holy crap I've been right-click-OpenInNewTab'ing the whole time i've used firefox my life is so much easier now! so excited.
![[User Picture]](http://p-userpic.livejournal.com/72515339/1523273) | From: stenz Fri, 29-Apr-2005 6:55 AM (UTC)
| (Link)
|
Ahh, that would explain why the scripts I have which feed the pool for this site have been dying every time they run. I have been too busy lately to look into it at all - but starting yesterday sometime I think they all started failing - they can no longer scrape the page I guess. Too lazy and not enough time to look into another way of grabbing the data at this point.
go to sfgate.com and click on the day in pictures. not as many as yahoo, but nice
![[User Picture]](http://p-userpic.livejournal.com/26034016/1974541) | From: d1663m Fri, 29-Apr-2005 10:29 AM (UTC)
| (Link)
|
From: gecampbell Fri, 29-Apr-2005 3:22 PM (UTC)
thanks for your suggestion | (Link)
|
I apologize that I am such an idiot, but we've adopted your suggestion and it should be live in the Yahoo! News site shortly. I apologize for any inconvenience. | |