With all the fuss about Twitter’s promised edit button, and how they might design it, we’re missing a disturbing development
— Twitter is using its embedded javascript to edit other people‘s sites.
<blockquote class="twitter-tweet">
<p lang="en" dir="ltr">we are working on an edit button</p>
— Twitter (@Twitter)
<a href="https://twitter.com/Twitter/status/1509951255388504066">
April 1, 2022</a>
</blockquote>
<script async src="https://platform.twitter.com/widgets.js" charset="utf-8">
</script>
That widgets.js script looks for blockquotes with the class="twitter-tweet" on,
and replaces them with a Twitter-branded iframe to confirm that it is a real tweet (and to encourage you to click through to Twitter).
Until recently, if the tweet or account had been deleted, then Twitter would leave the blockquote alone, so the embedded text would still show, but without Twitter’s validation.
This was by design, so that the act of quoting would still work. As Ben Ward, who wrote the original code said:
@BenWard what happens if you embed a tweet and the user deletes it? does it show up as blank "linkrot" on your site, then?
Notice that it doesn’t show as a blockquote fallback, but as an empty white blob. Twitter is not confirming the tweet, but it is erasing my citation of it.
Update
Twitter has now reverted the change. “[W]e’re rolling back this change for now while we explore different options” Twitter spokesperson Remi Duhé said according to Emma Roth of The Verge.
Before this, the tweet above looked like this:
Twitter has used its javascript to edit my webpage text. When I pointed this out to Twitter Engineering:
Here's an old example post of mine. Notice how the 2 deleted tweets are blank, making nonsense of the narrative: https://t.co/6exFMCeS0Y It first looked like this, then showed deleted ones as HTML, now it's blobs. pic.twitter.com/eYw1hx5jYk
The response was that this was “to better respect when people have chosen to delete their Tweets”:
Hey Kevin! We're doing this to better respect when people have chosen to delete their Tweets. Very soon it'll have better messaging that explains why the content is no longer available :) my DMs are open if you'd like to chat more about this
This is tampering with the public record. Any news article that cited a tweet from the former president, like this vox one, will now have an incoherent hole in it:
Rather than the cited text:
I don’t think Twitter should edit other people’s webpages to remove tweets that have subsequently been deleted. Do you?
Update
Mark Jaquith has a protection script that runs before Twitter’s, checks for deleted or hidden tweets and removes the class="twitter-tweet" from the blockquotes so they don’t get stomped.
Yep! Unfortunately they use CORS so I had to proxy that check through a Cloudflare Worker. Here's a proof of concept of a Tweet Saver script that only renders tweets that still exist. 404 ones will keep the blockquote. https://codepen.io/markjaquith/pen/gOovNPR?editors=1010
Twitter is using it’s embedded JavaScript to edit other people's sites
Link: kevinmarks.com/twittereditsyo…
Comments: news.ycombinator.com/item?id=309282…
Bookmarked
In Soviet Musk Twitter, Twitter edits you
Post detailsWith all the fuss about Twitter’s promised edit button, and how they might design it, we’re missing a disturbing development — Twitter is using its embedded javascript to edit other people’s sites.Recommended read:
Twitter Edits You
http://www.kevinmarks.com/twittereditsyou.htmlWed, 06 Apr 2022 08:04 by Jamie Tanna
.
#twitter
#social-media.
Damit zwingt Twitter Medienunternehmen geradezu, Tweets mithilfe von Screenshots zu dokumentieren (glücklicherweise auch die datenschutzfreundlichere Variante, da man auf das Twitter-Embed-Skript verzichten kann) kevinmarks.com/twittereditsyo…
New post in Gillmor Gang: ift.tt/pQuqa9h With all the fuss about Twitter’s promised edit button, and how they might design it, we’re missing a disturbing development — Twitter is using its embedded javascript to edit other people's sites. kevinmarks.com/twittereditsyo…
Twitter is using its embedded JavaScript to hide tweets that have been deleted
kevinmarks.com/twittereditsyo…
Article URL: kevinmarks.com/twittereditsyo… Comments URL: news.ycombinator.com/item?id=309282… Points: 224 # Comments: 120
Se citas un tuit na túa web mediante o JS de Twitter e logo bórrano, desaparece de alí completamente.
Non é sorprendente, nin sequera ilegal ou inético, apenas unha cousa a ter presente.
kevinmarks.com/twittereditsyo…
Twitter正在使用它的嵌入式JavaScript来编辑其他人的网站
Twitter is using it’s embedded JavaScript to edit other people's sites
HN讨论地址: news.ycombinator.com/item?id=309282…
原文地址: kevinmarks.com/twittereditsyo…
I’ve noticed this over the last few weeks and like @kevinmarks, I’m not a fan at all. Hiding the embedded text from a tweet embed via JavaScript b/c something has been deleted just feels wrong. kevinmarks.com/twittereditsyo…
Twitter Edits You 2022-04-06 With all the fuss about Twitter’s promised edit button, and how they might design it, we’re missing a disturbing development — Twitter is using its embedded javascript to edit other people‘s sites. kevinmarks.com/twittereditsyo… @kevinmarks
Twitter now renders embedded deleted tweets as white blobs, @kevinmarks has discovered, similar to the grey block YouTube displays for embedded videos that have gone MIA.
And more internet memory holes open.
kevinmarks.com/twittereditsyo…
Interesting. @kevinmarks has discovered that Twitter is now “editing other people’s webpages” to remove tweets that have subsequently been deleted. kevinmarks.com/twittereditsyo…
Mark my words: one day, we are going to look back in time, look at the internet archive and exclaim "omgwtf were people doing embedding third party <script> tags ?!".
kevinmarks.com/twittereditsyo…
Twitter'ın edit butonu koymasının konuşulduğu şu günlerde bu duruma farklı bir açıdan bakan çok güzel bir yazı💡
"In Soviet Musk Twitter, Twitter edits you"
kevinmarks.com/twittereditsyo…
Twitter changed how embeds work for deleted tweets, causing blank spaces on websites: blockquote text would previous display for deleted tweets; this impacts every blog or news site that ever… kevinmarks.com/twittereditsyo…
"With all the fuss about Twitter’s promised edit button, and how they might design it, we’re missing a disturbing development — Twitter is using its embedded javascript to edit other people‘s sites." kevinmarks.com/twittereditsyo…
Perhaps the solution is to differentiate between user deleted tweets and moderator/staff removed tweets (as Reddit does). Will achieve Twitter's stated goal while preserving the public record (Trump's tweets, for example, will fall under the latter).
That is a fair point, didn't realize the blockquote is in the original non-JS rendered HTML. Interestingly, that means you can actually fix it, not sure if legal. Run your JS before Twitter to cache the blockquote, Twitter runs, then put it back again.
My other point still stands though: there is a "right to be forgotten" which you should not just ignore. It's not an unlimited right, but it's not nothing either.
Twitter Edits You kevinmarks.com/twittereditsyo…
With all the fuss about Twitter’s promised edit button, and how they might design it, we’re missing a disturbing development — Twitter is using its embedded javascript to edit other people‘s sites.
Twitter Edits You kevinmarks.com/twittereditsyo…
With all the fuss about Twitter’s promised edit button, and how they might design it, we’re missing a disturbing development — Twitter is using its embedded javascript to edit other people‘s sites.
Twitter Edits You kevinmarks.com/twittereditsyo…
With all the fuss about Twitter’s promised edit button, and how they might design it, we’re missing a disturbing development — Twitter is using its embedded javascript to edit other people‘s sites.
Twitter Edits You kevinmarks.com/twittereditsyo…
With all the fuss about Twitter’s promised edit button, and how they might design it, we’re missing a disturbing development — Twitter is using its embedded javascript to edit other people‘s sites.
Another Twitter API contract broken. As if more evidence was needed that an edit button is a bad idea. If they do insist on adding one then an edit history should be maintained at least for all to see. kevinmarks.com/twittereditsyo…
To the importance of owning your data and scripts.
If you're using Twitter's widget.js to embed Tweets, a recent change introduced that it removes fallback content for deleted Tweets.
Ergo: Twitter wipes out content on millions of pages. 👇
kevinmarks.com/twittereditsyo…
I'm planning to build something server-side via the Twitter API, wouldn't that work?
Haven't seen an alternative other than a proxy script that doesn't load widgets.js if the tweet was deleted.
I’ve been trying for a while to work my way back to a perfect moka pot recipe. My tried and true version has stopped doing the trick—maybe because I’m using different beans; more likely because we fixed the grinder and the grind has changed in some way. If my guess is right, then it’s been about two years of infrequent moka pot grumblings.
A couple weeks ago I accidentally bought pre-ground Stumptown coffee at Safeway and had a bit left over. This week I tossed it in the moka pot to see what happened.
"You don't need to use Twitter's JS to show Tweets. If you choose to use their system, you're subject to their rules. If you don't like their rules, don't use their stuff.
Calling it "altering th... "
Continues on HN: news.ycombinator.com/item?id=309282…
"I see so many people here arguing that by embedding javascript directly from Twitter, you are accepting whatever they choose to make that javascript do. While that is true to an extent, Twitter... "
Continues on HN: news.ycombinator.com/item?id=309282…
kevinmarks.com/twittereditsyo…
#Musk Turned Down The Seat On Twitter After #Pumping Stock Up Nearly 30%, Making About $1,000,000,000 In Under 24 Hours.
Edit Button Requested, But Will Not Happen.
Twitter Uses #JavaScript To Edit Your Websites & Plans To Do This In The Future Secretly.
Also, there are thousands of web pages that have quoted tweets in, including news stories, and they drive traffic to twitter. I wrote about this recently when twitter messed with them:
kevinmarks.com/twittereditsyo…
BTW Twitter's recent change of blanking out deleted tweets when embedded although rolled back as detailed in kevinmarks.com/twittereditsyo… probably already pushed some to rather consider embedding screenshots with the original text as alt instead of relying on Twitter.
Twitter Edits You
Twitter is using its embedded javascript to edit other people‘s sites.
There seems to be a fix: GitHub – markjaquith/stabletweet. I wonder if someone will make a WordPress plug-in?
Twitter Edits You
Twitter is using its embedded javascript to edit other people‘s sites.
There seems to be a fix: GitHub – markjaquith/stabletweet. I wonder if someone will make a WordPress plug-in? kevinmarks.com/twittereditsyo…
Interestingly, the live web version of the blog post linked to in the latter TC article had more page damage than archived versions.
kevinmarks.com/twittereditsyo…
@KevinMarks Yeah, I think I will withhold any criticism of that, for now.The topic of quoting people's public social media posts is pretty fascinating to me, and my thoughts might be better expressed in a blog post rather than a series of posts on here. (Especially knowing that some might feel pretty strongly about this topic.)There is so much to consider, from people's expectations, societal norms, and the technical aspects as well.