Skip to content

Commit

Permalink
now removes video
Browse files Browse the repository at this point in the history
  • Loading branch information
unknown authored and unknown committed Nov 12, 2013
1 parent 190f884 commit 2c10856
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 1 addition & 2 deletions chrome/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@

"browser_action":
{
"default_title": "Twean",
"default_icon": "twean.png"
"default_title": "Twean"
}
}
3 changes: 2 additions & 1 deletion chrome/page.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ new Function()
{
var style = document.createElement("style");
document.head.appendChild(style);
style.sheet.addRule(".auto-expanded div.media", 'display:none;');
style.sheet.addRule(".tweet .media > .media-thumbnail.is-preview > img", 'display:none;');
style.sheet.addRule(".js-stream-tweet > .content > .expanded-content > .tweet-details-fixer > .js-media-container[data-card2-name='player']", 'display:none;');
style.sheet.addRule("li[data-item-type='tweet'].open div.media", 'display:inline-block !important');
}

0 comments on commit 2c10856

Please sign in to comment.