Slashdot - add mirrors

By Valentin Laube Last update Aug 29, 2009 — Installed 5,788 times.

Archived Comments (locked)

in
Subscribe to Archived Comments 27 posts, 15 voices



Jesse Andrews Admin

The following is an archive of comments made before threaded discussions was implemented (November 16th, 2008)

 
khopesh Scriptwright

Bug: hovering over multi-line links on the second line won't let you click on the link itself. (Maybe make the pop-up appear to the right of the cursor instead of (or in addition to) underneath?)

Bug: pop-up seems bounded by the parent, so on signatures and short comments, it is truncated by the end of the comment. this can likely by fixed with a higher z-index (CSS).

Bug: text copied from articles includes the cache links and extra linebreaks (on Linux, at least).

Bug: the "Network Mirror" text wraps (on Linux) due to fact that sam_popup has a declared width of 8em. Fix: increment width to 9em on line 174, width: 8em; \

Feature request: assemble/allow a whitelist of sites known to be able to handle the load (wikipedia, youtube, yahoo, etc.). Slashdot is already avoided for obvious reasons. Extra points for figuring this out automatically (somehow ... alexa? google rank? "slashdotted" tag?).

 
Valentin Laube Script's Author

sorry the updated version didn't work. i uploaded a downgraded version that doesn't handle multiline links so well but should work.

 
Valentin Laube Script's Author

*Updated* should work for everyone now, please confirm

 
peuh-bugmenot Scriptwright

Very nice, works fantastic and better than the slasdotter extension. Is it possible to have the window with lower opacity? At the moment it is quite intrusive. Great work!

 
Chris Han User

For me, it's a lot easier to actually mouse over the mirror links if you change line 79 from "Math.ceil" to "Math.floor".

 
Justin Goldberg User

this needs to be modified for the new port 8080.

 
John Pye User

Doesn't work for me. Firefox 1.5.0.1 on Win2k. Greasemonkey 0.6.4. Often can't mouse over the mirrors tooltip. Dragging mouse into it then release works, as a workaround.

 
Matt Nordhoff User

maken:

WFM with Greasemonkey 0.6.4 and Firefox 1.5 on Linux. I can move the cursor right down onto the mirror box. Upgrade?

 
maken User

I like the idea of this script but Ive tried it on my Mac and my Linux box and have found that since the popup follows the mouse it is difficult to click on the mac and next to imposible under linux as I move the mouse towards it the popup moves away. I tried to click and drag as someone suggested but that doesnt work. Any other suggestions? Im using greasemonkey 0.5.3 and the latest script.

 
Matt Nordhoff User

. Apparently, HTML is not filtered. That's not good.

Maybe have it easily configurable in the script whether or not to activate on comments. Probably overkill, though. It doesn't hurt to have it activate for signatures, and it may hurt if it doesn't.

 
Matt Nordhoff User

Also, maybe it shouldn't activate on links in signatures? They have

, so it should be easy to pick them out.

Better safe than sorry, though, maybe. I dunno, just throwing it out there.

 
Matt Nordhoff User

I have a request: Could it not...activate on links to Slashdot? It only does in the article and comments, of course, but it isn't needed.

 
Valentin Laube Script's Author

Hey Jason, please contact me via valentin[dot]laube[at]gmx[dot]net

 
Valentin Laube Script's Author

This is definitely a bug!

 
Jason P User

The only way I've found to actually *click* the link is to click and drag on the original link, release over the popup, then click on the cache link. Is this the expected behaviour? It seems more natural to only hide the popup if the mouse leaves both the original link and the popup area... is that possible? I am using 1.5 final.

 
Valentin Laube Script's Author

*Updated!*
less green and more popping up if you hover over the link

 
Chris Smith User

I agree, the green looks horrible. White would look much better.

 
Stonie User

Nice script, but I find the bright green background distracts from the rest of the text.

 
tyler Scriptwright

Thanks dude.

 
Valentin Laube Script's Author

Yes, it's ok.

 
tyler Scriptwright

Valentin,

I pinched this script and used it to add mirrors to digg.com

http://userscripts.org/scripts/show/1807

Hope that's ok.

 
Valentin Laube Script's Author

*Updated!*
Works much better now.

 
Valentin Laube Script's Author

I have no idea what causes those duplicates, maybe an interfering script. The articles without any mirror links on the other hand can be explained with slashdots strange html-code and my detection routine. This will change in a few weeks when slashdot changes its layout to CSS. [like http://www.slashcode.com/]

 
bdonlan User

Seems somewhat broken here; the mirror links only show up for the first link in an article, and twice. Some articles don't have any mirror links, even: http://img59.imageshack.us/my.php?image=ffbug9a...

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel