forked from jxnblk/Twipster
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtwipster-for-chrome.user.js
18 lines (18 loc) · 5.75 KB
/
twipster-for-chrome.user.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// ==UserScript==
// @name Twipster for Chrome
// @namespace https://github.com/jxnblk/Twipster/
// @version 20140311
// @author jxnblk
// @homepage http://jxnblk.com/twipster/
// @description Simpler, Readabler Twitter
// @include http*://twitter.com/*
// @icon http://g.etfv.co/http://twitter.com
// @downloadURL https://github.com/oumu/Twipster/raw/master/twipster-for-chrome.user.js
// @updateURL https://github.com/oumu/Twipster/raw/master/twipster-for-chrome.user.js
// @date 2014-03-11
// @run-at document-start
// ==/UserScript==
var styleEl = document.createElement('style');
styleEl.type = 'text/css';
styleEl.innerHTML = '.js-tweet-text{ font-family:Georgia !important; font-size:20px !important; line-height:1.5 !important; color:#444 !important; margin-bottom:0.25em !important; -webkit-transition:all .1s linear !important}.tweet-box{ font-size:18px !important; line-height:24px !important}.trends,.topics,.bird-topbar-etched,.wtf-module,.site-footer,.mini-profile,.enhanced-media-thumbnails,.expand-action-wrapper,.close-all-tweets,.content-header,.list-link .chev-right,.dashboard .avatar-row,.dashboard .media-row,.promptbird,.promoted-tweet,.Footer,.js-nav-links .Icon{ display:none !important}.cards-media-container,.card2{ display:none !important}.expanding-stream-item.open .cards-media-container,.permalink-tweet .cards-media-container,.expanding-stream-item.open .card2,.permalink-tweet .card2{ display:block !important} .stream-item,.tweet,.stream-loading,.stream-end,.new-tweets-bar,.module{ border:none !important}.stream-item-activity-me{ border-bottom:none !important}.user-similarities-list{ border:1px solid rgba(0,0,0,.1) !important; overflow:hidden !important} .username,.time,.time a,.metadata,.metadata button.btn-link,.metadata a,.with-icn,.with-icn:hover,.with-icn:focus,.context span,.context a.pretty-link b,.account-group span,.account-group s,.account-group strong{ color:#aaa !important}.wrapper-settings .content-header{ display:block !important} .wrapper,.wrapper-narrow,.wrapper-permalink{ background:none !important; width:90% !important; max-width:56em !important} .dashboard,.content-main{ float:none !important; width:100% !important}body{ background-image:none !important; background-color:#fff !important}.js-nav-links li{ display:inline-block !important}.module .list-link{ background:none !important; border:none !important}.new-tweets-bar{ background:#f2fafc !important; border-radius:.25rem !important; box-shadow:none !important}.tweet:hover{ background:#fff !important}.permalink-tweet,.permalink-tweet:hover{ background:#fff !important}.tweet-box{ width:95% !important; height:auto !important; min-height:80px !important; padding:8px 2.5% !important}.tweet-form.has-preview.has-thumbnail .tweet-box{padding-bottom:80px !important}.tweet-form .thumbnail-container{ width:auto !important}.expanding-stream-item.open{ margin-top:1rem !important; margin-bottom:1rem !important; border:1px solid rgba(0,0,0,.02) !important; box-shadow:0px 1px 2px rgba(0,0,0,0.2) !important}.tweet:hover .sm-reply,.tweet.focus .sm-reply,.simple-tweet .sm-reply,.hovered-stream-item .sm-reply,.simple-tweet.opened-tweet:hover .sm-reply{ background-position:0 -190px !important}.tweet:hover .sm-rt,.tweet.focus .sm-rt,.simple-tweet .sm-rt,.hovered-stream-item .sm-rt,.simple-tweet.opened-tweet:hover .sm-rt{ background-position:-20px -190px !important}.tweet:hover .sm-fav,.tweet.focus .sm-fav,.simple-tweet .sm-fav,.hovered-stream-item .sm-fav,.simple-tweet.opened-tweet:hover .sm-fav{ background-position:-40px -190px !important}.tweet:hover .sm-more,.tweet.focus .sm-more,.simple-tweet .sm-more,.hovered-stream-item .sm-more,.simple-tweet.opened-tweet:hover .sm-more{ background-position:-280px -190px !important}.permalink-tweet .sm-reply,.permalink-tweet:hover .sm-reply,.permalink-tweet.focus .sm-reply{background-position:0 -280px !important}.permalink-tweet .sm-rt,.permalink-tweet:hover .sm-rt,.permalink-tweet.focus .sm-rt{background-position:-30px -280px !important}.permalink-tweet .sm-fav,.permalink-tweet:hover .sm-fav,.permalink-tweet.focus .sm-fav{background-position:-60px -280px !important}.permalink-tweet .sm-more,.permalink-tweet:hover .sm-more{background-position:-180px -280px !important}.tweet .sm-reply,.tweet .sm-rt,.tweet .sm-fav,.tweet .sm-image,.tweet .sm-video,.tweet .sm-audio,.tweet .sm-geo,.tweet .sm-in,.tweet .sm-trash,.tweet .sm-more,.tweet .sm-page,.tweet .sm-embed,.tweet .sm-summary,.tweet .sm-chat,.timelines-navigation .active .profile-nav-icon,.timelines-navigation .profile-nav-icon:hover,.timelines-navigation .profile-nav-link:focus .profile-nav-icon,.sm-top-tweet,.metadata a.tweet-geo-text:hover .sm-geo,.discover-item .js-action-card-search:hover .sm-search,.discover-item .js-action-card-search:focus .sm-search{ background-color: #aaa !important}.content-main .in-reply-to{ background:#fcfcfc !important}.tweet-row{ max-width:100% !important}.tweet-actions{ box-shadow:none !important; background:none !important}.stream-item-footer{ opacity:0 !important; transition:opacity .2s ease}.tweet:hover .stream-item-footer{ opacity:1 !important}.tweet-actions a{ margin-left:0 !important; margin-right:8px !important}.profile-card{ border:1px solid rgba(0,0,0,.1) !important}.profile-card.profile-header{ width:100% !important}.profile-header-inner-overlay{ width:100% !important}.profile-card.profile-header .profile-header-inner{ background-size:cover !important; background-position:center center !important}.profile-card-inner{ width:60% !important}.profile-card-inner .username{ color:#fff !important}.modal{ width:90% !important; max-width:56em !important; left:0 !important; right:0 !important; margin:0 auto !important}.dm-message{ max-width:none !important}';
document.documentElement.appendChild(styleEl);