fails on fark.com
![]() ![]() |
Waterboarding for dummies - Torture - Salon.com
The script creates
|
![]() ![]() |
its not a fail. this script is for tracking links. that just links to a folder/page. there needs to be a whole site in the query parameter. |
![]() ![]() |
I don't understand you. Oh well. Anyway - it seems Fark uses a simple trick to screw the links up. I just wrote this - and it works: var directLink = document.getElementsByClassName("headlineRow")[0].getElementsByTagName("a")[0].href;
if (directLink) {
directLink = directLink.match(/[?&]l=(http:\/\/[^&]+)/)[1];
directLink = unescape(directLink);
GM_log("directLink: " + directLink);
}
|

