Really long tweets
So after a considerable period of time in which Twitter is rife with nazis and mysoginists, Jack has decided to do something. Allow some people to tweet 280 characters. One assumes that next up on Twitter in 2017 we can expect to see an alt-right dating tab, more severe penalties for having the temerity to swear at someone with a blue tick, and the transition from star to heart will transition to that emoji of a CD.
However, you too can join the A/B testing even if you’re a B. Because Twitter’s engineers are sort of ordinary, the check for whether this feature is enabled is client side. Or in English, “your computer controls whether you tweet in 140 characters or 280, not Twitter.com itself.” If you’d like to be in the cool gang do the following;
- You’ll need Tampermonkey. That’s a thing that allows “user scripts”, which in English are small bits of instructions that tell your web browser to modify the webpage you’re looking at, get it here https://tampermonkey.net
- Once Tampermonkey is installed, create a new user script by clicking the button that looks like a piece of paper with a green plus on it
- Enter the following in the little editor that pops up
// @name Twitter Cramming
// @description Force enable cramming (280 character tweets) on Twitter
// @author Prof. 9
// @version 0.1
// @match https://twitter.com/*
// @run-at document-idle
// @namespace prof9.twittercramming
var initDataInput = document.getElementById(‘init-data’);
var initData = JSON.parse(initDataInput.value);
initData.deciders.cramming_feature_enabled = true;
initData.deciders.cramming_ui_enabled = true;
initDataInput.value = JSON.stringify(initData);
Note that this is Medium. A fancy-schmancy resource for people to pen heartfelt missives and is designed to look like academic journals. When copying and pasting from here, check that the single quotes around things like init-data above are the key to the left of enter, and one of them hasn’t mystically changed to the key to the right of 1.
You don’t need to neccesarily know what that does, but it’s worth pointing out that you should generally be careful running userscripts you don’t know or recognise. I’m telling you what this one does, and why, don’t just install ones that someone emails you.
5. Save the script by clicking on the little floppy disk image, then reload Twitter.com.
Update: looks like some project manager stormed into a room of devs and yelled “WHAT DOES CLIENT-SIDE PARAMATERISATION MEAN”