Skip to content

Instantly share code, notes, and snippets.

@tsuzu
Created July 8, 2023 03:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tsuzu/5c27172053736618d29707f75539da3b to your computer and use it in GitHub Desktop.
Save tsuzu/5c27172053736618d29707f75539da3b to your computer and use it in GitHub Desktop.
Hide Try New Tweetdeck Preview
// ==UserScript==
// @name Hide Try New Tweetdeck Preview
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author You
// @match https://tweetdeck.twitter.com/
// @icon https://www.google.com/s2/favicons?sz=64&domain=twitter.com
// @grant none
// ==/UserScript==
(function() {
'use strict';
// Your code here...
function createElement(_type,code) {
let s = document.createElement(_type);
s.appendChild(document.createTextNode(code));
document.body.appendChild(s);
}
createElement('style','div.js-gryphon-beta-btn.gryphon-beta-btn-container{display: none}') // <style> code </style>
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment