_ap_ufes{"success":true,"siteUrl":"www.jucktion.com/tech","urls":{"Home":"https://www.jucktion.com/tech","Category":"https://www.jucktion.com/tech/c/mobile/android/","Archive":"https://www.jucktion.com/tech/2018/12/","Post":"https://www.jucktion.com/tech/windows-network-traffic-analysis-single-app/","Page":"https://www.jucktion.com/tech/about/","Attachment":"https://www.jucktion.com/tech/windows-network-traffic-analysis-single-app/capture-traffic-specific-application/","Nav_menu_item":"https://www.jucktion.com/tech/3985/"}}_ap_ufee Code Snippet - Activate Twitter 280 characters - Tech Junction

Code Snippet – Activate Twitter 280 characters

By | 29th September, 2017 | 0 Comments

This is just a short how to enable 480 characters on Twitter. Full credits go to the developer Zemnmez who wrote this piece of code. We recently heard news from AFP that twitter was testing out extending limits to the tweet character limits to entice more activity on Twitter. But the feature hasn’t been public, but that didn’t stop Zemnmez to dig out and write a code to enable this feature on Tweetdeck.

Here’s a long tweet with the extended number of characters.

twitter 280 characters tweets enabled

Twitter’s tweetdeck with 280 characters tweets enabled

You just have to paste: this code into the javascript console of your browser.

TD.services.TwitterClient.prototype.makeTwitterCall=function(b,e,f,g,c,d,h){c=c||function(){};d=d||function(){};b=this.request(b,{method:f,params:Object.assign(e,{weighted_character_count:!0}),processor:g,feedType:h});return b.addCallbacks(function(a){c(a.data)},function(a){d(a.req,"",a.msg,a.req.errors)}),b};
twttrTxt=Object.assign({},twttr.txt,{isInvalidTweet:function(){return!1},getTweetLength:function(){return twttr.txt.getTweetLength.apply(this,arguments)-140}});

The code apparently used to work with bookmarks but then Twitter disabled running external scripts. But it still works if you can run the code in the console window of your browser. This is a little technical but it is necessary if you want to get 280 character tweets from your account.

On Firefox, you can turn on the developer console with “Ctrl+Shift+K”. On Chromium browsers including Chrome, you can open developer tools with “Ctrl + Shift + J” and then click on the console tab.


  1. Go to Twitter Tweetdeck and login.
  2. Open up the JavaScript developer console
  3. Paste the above code and press Enter
  4. You now have 280 characters to tweet.

This is a GIF demonstration of how you can achieve this on Chrome:

Tweetdeck with 280 characters enabled

Tweetdeck with 280 characters enabled

Tags: , ,

Category: How To's, Twitter