This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Twitter - Move dashboard to right. | |
// @namespace com.codebycoffee.greasemonkey | |
// @description Moves the twitter dashboard to the right, so the timeline is on the left. | |
// @include https://twitter.com | |
// @include http://twitter.com | |
// @include http://twitter.com/* | |
// @include https://twitter.com/* | |
// @include http://www.twitter.com/* | |
// @include https://www.twitter.com/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require "twitter" | |
require "sunlight" | |
data_pos = DATA.pos | |
last_id = DATA.read.to_s[/\d+/] | |
last_id = last_id.to_i if last_id | |
DATA.reopen(__FILE__, "a+") | |
Twitter.configure do |config| |