Twitter Shortlinking Bullshit: fixed
-
If you're as sick as shit as I am of shortened URLs on Twitter, here's a userscript to fix.
Twitter puts the full URL in the title tag-- but shortens fucking everything. Specifically so you'll click blindly on a URL that goes "who knows where", and so they can track you.
Fuck that shit.
// ==UserScript== // @name Twitter - Expand URLs Plus // @namespace http://www.minjiezha.com/greasemonkey // @description Swap twitter.com data-expanded-url attribute with href. // @include htt*://*.twitter.com/* // @grant none // @match http://twitter.com/* // @match http://*.twitter.com/* // @match https://twitter.com/* // @match https://*.twitter.com/* // @match https://twitter.com // @version 1.0 // @encoding UTF-8 // ==/UserScript== function expandURL (element) { xpath = "//a[@data-expanded-url]"; var candidates = document.evaluate(xpath, element, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null); for (var cand = null, i = 0; (cand = candidates.snapshotItem(i)); i++) { expandedURL=cand.getAttribute("data-expanded-url"); if (expandedURL) { // the actual attribute swapping will happen here cand.setAttribute("data-short-url",cand.getAttribute("href")) cand.setAttribute("href",expandedURL) cand.innerHTML = expandedURL; } } } function triggerExpand() { // expand the preloaded URLs expandURL(document); // add listener for expand dynamic loaded URLs containerId = 'stream-items-id'; document.getElementById(containerId).addEventListener("DOMNodeInserted", function(event) { el = event.target; if (el.parentNode.id === containerId) { expandURL(el); } }, false); } window.setTimeout(triggerExpand, 5000);
-
@Lorne-Kates said in Twitter Shortlinking Bullshit: fixed:
I am
@Lorne-Kates said in Twitter Shortlinking Bullshit: fixed:
on Twitter
well,-there's-your-problem.xlsm
-
@anotherusername said in Twitter Shortlinking Bullshit: fixed:
@Lorne-Kates said in Twitter Shortlinking Bullshit: fixed:
I am
@Lorne-Kates said in Twitter Shortlinking Bullshit: fixed:
on Twitter
@anotherusername said in Twitter Shortlinking Bullshit: fixed:
he
@anotherusername said in Twitter Shortlinking Bullshit: fixed:
's
@anotherusername said in Twitter Shortlinking Bullshit: fixed:
our
@anotherusername said in Twitter Shortlinking Bullshit: fixed:
lem
And I bet you're very proud of Lem, but I don't see how that's relative to the discussion.
-
@Lorne-Kates but, do you see how you being on is relevant to the discussion?
-
@anotherusername said in Twitter Shortlinking Bullshit: fixed:
@Lorne-Kates but, do you see how you being on is relevant to the discussion?
Nope, sorry.
-
@Lorne-Kates said in Twitter Shortlinking Bullshit: fixed:
Fuck that shit.
You know what's easier and better than a userscript? Not using Twitter.
-
@FrostCat said in Twitter Shortlinking Bullshit: fixed:
@Lorne-Kates said in Twitter Shortlinking Bullshit: fixed:
Fuck that shit.
You know what's easier and better than a userscript? Not using Twitter.
I dunno. Last time I tried to stop, Twitter threatened me with a gun. I don't know how they even got a gun inside Canada.
-
@Lorne-Kates said in Twitter Shortlinking Bullshit: fixed:
I don't know how they even got a gun inside Canada.
Syrian refugees, probably.
-
@FrostCat said in Twitter Shortlinking Bullshit: fixed:
@Lorne-Kates said in Twitter Shortlinking Bullshit: fixed:
I don't know how they even got a gun inside Canada.
Syrian refugees, probably.
No they only bring bombs.
-
@FrostCat THANKS TRUDEAU
-
@FrostCat said in Twitter Shortlinking Bullshit: fixed:
@Lorne-Kates said in Twitter Shortlinking Bullshit: fixed:
Fuck that shit.
You know what's easier and better than a userscript? Not using Twitter.
You know what's better than having evil corporations track you? Compute the RMS way!
RMS is quite humorous in his computer asceticism. Something as simple as proprietary JS is enough to set him off.
A friend once asked me to watch a video with her that she was going to display on her computer using Netflix. I declined, saying that Netflix was such an affront to freedom that I could not be party to its use under any circumstances whatsoever.
Avert your gaze m'lady! The ugly head of proprietary software is rearing its head!
-
@Sumireko said in Twitter Shortlinking Bullshit: fixed:
How I do my Computing
My problem was not carpal tunnel syndrome: I avoid that by keeping my wrists pretty straight as I type. There are several kinds of hand pain that can be caused by repetitive stress;
Not sure if or ...
-
@Maciejasjmj said in Twitter Shortlinking Bullshit: fixed:
@Sumireko said in Twitter Shortlinking Bullshit: fixed:
How I do my Computing
My problem was not carpal tunnel syndrome: I avoid that by keeping my wrists pretty straight as I type. There are several kinds of hand pain that can be caused by repetitive stress;
Not sure if or ...
If he was , he would have to subject it to many of his personal QA processes. Oh, you drew the most beautiful woman every? I'll take that as a .FLIFF please. Wait, you said that you are going to re-export it using Photoshop? Nonfree software never! (change the flashlights into torches and pitchforks)
-
-
@Sumireko said in Twitter Shortlinking Bullshit: fixed:
Compute the RMS way!
</troll>
For all the dumbshit RMS spews, that article is almost reasonable. If only because it's partially self aware of how convoluted he's making "doing computers", and because there's enough caveats of "I don't expect other people to do the same. I'd like them to, and may not participate in some things because of my beliefs, but it's your choice".
Though I think he's-- to put it mildly-- lost the plot in recent years.
-
@Lorne-Kates said in Twitter Shortlinking Bullshit: fixed:
For all the dumbshit RMS spews, that article is almost reasonable.
Almost, because what he describes is still insane acute paranoia. When you "start to feel the heavy hand of nonfree software in your computer" it's time to either call an exorcist or take your meds.
It's just the good old "everyone's out to get me" ramble, peppered by quips about how non-FOSS software makes him cringe.
Also, he's a real ladies man:
A friend once asked me to watch a video with her that she was going to display on her computer using Netflix. I declined, saying that Netflix was such an affront to freedom that I could not be party to its use under any circumstances whatsoever.
Filed under: ten minutes into Netflix and chill and he gives you the FSF manifesto
-
@Maciejasjmj said in Twitter Shortlinking Bullshit: fixed:
ten minutes into Netflix and chill and he gives you the FSF manifesto
That's what he calls his penis???
Well... that makes some things slightly clearer...