{"id":4224,"date":"2023-11-25T01:29:46","date_gmt":"2023-11-25T07:29:46","guid":{"rendered":"https:\/\/cocoalopez.com\/blog\/?p=4224"},"modified":"2023-11-25T01:29:48","modified_gmt":"2023-11-25T07:29:48","slug":"how-to-block-twitter-sidebar-trending-topics","status":"publish","type":"post","link":"https:\/\/cocoalopez.com\/blog\/?p=4224","title":{"rendered":"How to block twitter sidebar + trending topics"},"content":{"rendered":"\n<p><strong>Updated 6 June 2023<\/strong><\/p>\n\n\n\n<p>Twitter can be a great source of connections, industry news and light-hearted fun (if you follow the right people!). Unfortunately, the \u201cWhat\u2019s happening\u201d trending topics sidebar can be a constant source of misery that by now can be simply too much to bear.<\/p>\n\n\n\n<p>If you\u2019d rather keep on top of your news and trends in a more mindful way rather than have it shoved in your face every time you browse your feed on a desktop browser then here\u2019s what you can do.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">uBlock Origin<\/h2>\n\n\n\n<p>uBlock Origin (<a rel=\"noreferrer noopener\" href=\"https:\/\/chrome.google.com\/webstore\/detail\/ublock-origin\/cjpalhdlnbpafiamejdnhcphjbkeiagm?hl=en\" target=\"_blank\">Chrome<\/a>, <a rel=\"noreferrer noopener\" href=\"https:\/\/addons.mozilla.org\/en-GB\/firefox\/addon\/ublock-origin\/\" target=\"_blank\">Firefox<\/a>, <a href=\"https:\/\/microsoftedge.microsoft.com\/addons\/detail\/ublock-origin\/odfafepnkmbhccpbejgmiehpchacaeak\">Edge<\/a>) is a fantastic ad blocking tool which blocks a huge array of banner advertisements, analytics, tracking and even Twitter promoted posts and YouTube video ads.<\/p>\n\n\n\n<p>No \u2013 this post isn\u2019t sponsored or affiliated \u2013 it\u2019s really just that great. Browsing the web without can really be a miserable experience.<\/p>\n\n\n\n<p>As a <em><strong>bonus<\/strong><\/em>, it also comes with a nifty feature that allows you to set your own blocking rules.<\/p>\n\n\n\n<p>Once installed, <strong>click the uBlock Origin button in your browser toolbar<\/strong> and <strong>select the \u2018Dashboard\u2019 icon<\/strong> (looks like three cogs). On the dashboard page, <strong>select \u2018My Filters\u2019<\/strong> from the top bar.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img data-recalc-dims=\"1\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/adamgreenough.me\/wp-content\/uploads\/2022\/06\/2022-06-29-at-18.16.png?w=696&#038;ssl=1\" alt=\"Screenshot showing the uBlock interface to block the Twitter What's Happening trends sidebar\" class=\"wp-image-1147\"\/><figcaption class=\"wp-element-caption\">After installing uBlock Origin, click the icon in the toolbar (may be hidden behind an extension button) and then the dashboard page that looks like 3 cogs<\/figcaption><\/figure>\n\n\n\n<p>The \u2018My Filters\u2019 page will show a large text box. You may find it empty or populated with custom rules you have already created. We\u2019re able to add to this list to block any elements we please. Simply <strong>paste in your desired filters from the <a href=\"https:\/\/adamgreenough.net\/blog\/how-to-hide-whats-happening-trending-topics-on-twitter\/#rules\">filter rules<\/a> section below<\/strong> and select <strong>\u2018Apply Changes\u2019 <\/strong>when done.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img data-recalc-dims=\"1\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/adamgreenough.me\/wp-content\/uploads\/2022\/06\/2022-06-29-at-18.20.png?w=696&#038;ssl=1\" alt=\"Screenshot showing the uBlock filters interface to block the Twitter What's Happening trends sidebar\" class=\"wp-image-1149\"\/><figcaption class=\"wp-element-caption\">The my filters page allows you to paste in and save custom filters to block and hide elements on any webpage<\/figcaption><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"rules\">Filter Rules<\/h2>\n\n\n\n<p>Twitter\u2019s dynamically generated HTML &amp; CSS classes can make targeting specific elements a little fiddly. Fortunately, there are a number of accessibility labels and other fingerprints we can target to purge the website of unwanted features.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img data-recalc-dims=\"1\" height=\"428\" width=\"696\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/adamgreenough.me\/wp-content\/uploads\/2021\/09\/Screenshot-2021-09-21-at-15.37.29-1-1024x630.png?resize=696%2C428&#038;ssl=1\" alt=\"The Twitter website showing the &quot;What's Happening&quot; sidebar removed\" class=\"wp-image-1023\"\/><figcaption class=\"wp-element-caption\">The Twitter website showing the \u201cWhat\u2019s Happening\u201d sidebar removed<\/figcaption><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Hide the \u2018What\u2019s happening\u2019 sidebar on Twitter<\/h2>\n\n\n\n<p>Add the following filter rule to your uBlock configuration as per the instructions above.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n! Hide the &#039;What&#039;s happening&#039; sidebar on Twitter.com\ntwitter.com##*&#x5B;aria-label=&quot;Timeline: Trending now&quot;]\n<\/pre><\/div>\n\n\n<h2 class=\"wp-block-heading\">How to hide the \u2018Topics to follow\u2019 sidebar on Twitter<\/h2>\n\n\n\n<p>Add the following filter rule to your uBlock configuration as per the instructions above.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n! Hide the &#039;Topics to follow&#039; sidebar on Twitter.com\ntwitter.com##*&#x5B;aria-label=&quot;Timeline: &quot;]\n<\/pre><\/div>\n\n\n<h2 class=\"wp-block-heading\">How to hide \u201cWho to follow\u201d sidebar on Twitter<\/h2>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n! Hide the &#039;Who to follow&#039; sidebar on Twitter.com\ntwitter.com##*&#x5B;aria-label=&quot;Who to follow&quot;]\n<\/pre><\/div>\n\n\n<h2 class=\"wp-block-heading\">Hide everything in sidebar except search bar<\/h2>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n! Hide everything in sidebar except search bar on Twitter.com\ntwitter.com##*&#x5B;data-testid=&quot;sidebarColumn&quot;] aside\n<\/pre><\/div>\n\n\n<h2 class=\"wp-block-heading\">Hide the bottom messages panel on Twitter<\/h2>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n! Hide the bottom message panel Twitter.com\ntwitter.com##*&#x5B;data-testid=&quot;DMDrawerHeader&quot;]\n<\/pre><\/div>\n\n\n<h2 class=\"wp-block-heading\">How to disable the new Twitter \u201cChirp\u201d font<\/h2>\n\n\n\n<p>Not a fan of the new Twitter font? Add the following URLs to your filters list in uBlock to block the new Twitter \u201cChirp\u201d font from loading and revert back to a default font.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nhttps:\/\/abs.twimg.com\/fonts\/chirp-regular-web.woff\nhttps:\/\/abs.twimg.com\/fonts\/chirp-medium-web.woff\nhttps:\/\/abs.twimg.com\/fonts\/chirp-heavy-web.woff\nhttps:\/\/abs.twimg.com\/fonts\/chirp-bold-web.woff\n<\/pre><\/div>\n\n\n<h2 class=\"wp-block-heading\"><\/h2>\n","protected":false},"excerpt":{"rendered":"<p>Updated 6 June 2023 Twitter can be a great source of connections, industry news and light-hearted fun (if you follow the right people!). Unfortunately, the \u201cWhat\u2019s happening\u201d trending topics sidebar can be a constant source of misery that by now can be simply too much to bear. If you\u2019d rather keep on top of your [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":4225,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[31],"tags":[],"class_list":["post-4224","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tips-y-tutoriales"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/cocoalopez.com\/blog\/wp-content\/uploads\/2023\/11\/czNmcy1wcml2YXRlL3Jhd3BpeGVsX2ltYWdlcy93ZWJzaXRlX2NvbnRlbnQvbHIvcHgxMDI4NTEzLWltYWdlLWt6MmR6dXN6LmpwZw.jpg?fit=1300%2C868&ssl=1","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p9XJix-168","jetpack-related-posts":[{"id":3183,"url":"https:\/\/cocoalopez.com\/blog\/?p=3183","url_meta":{"origin":4224,"position":0},"title":"Facebook y Youtube sin anuncios","author":"cgmodeler","date":"May 26, 2021","format":false,"excerpt":"Aqu\u00ed tienes algunas extensiones para estar libre de anuncios: Algunas extensiones para Firefox que les har\u00e1n m\u00e1s f\u00e1cil la vida. El primero bloquea los anuncios sponsored de caralibro: https:\/\/addons.mozilla.org\/en-US\/firefox\/addon\/fb_ad_block\/ El Segundo les permite bloquear canales completos en youtube (as\u00ed ya no aparecer\u00e1 en las sugerencias luisito y otras mierdas): https:\/\/addons.mozilla.org\/es\/firefox\/addon\/blocktube\/El\u2026","rel":"","context":"In &quot;Featured&quot;","block_context":{"text":"Featured","link":"https:\/\/cocoalopez.com\/blog\/?cat=1002"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/cocoalopez.com\/blog\/wp-content\/uploads\/2021\/05\/imagen-8.png?fit=681%2C625&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/cocoalopez.com\/blog\/wp-content\/uploads\/2021\/05\/imagen-8.png?fit=681%2C625&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/cocoalopez.com\/blog\/wp-content\/uploads\/2021\/05\/imagen-8.png?fit=681%2C625&ssl=1&resize=525%2C300 1.5x"},"classes":[]},{"id":2849,"url":"https:\/\/cocoalopez.com\/blog\/?p=2849","url_meta":{"origin":4224,"position":1},"title":"ublock filter facebook first ad","author":"cgmodeler","date":"February 21, 2019","format":false,"excerpt":"Figured out that facebook uses two different div's generator for the first sponsored ad and the subsequent on the timeline. created this filter list for uBlock at least to clean the first ads ###u_ps_0_0_a > .userContentWrapper._5pcr > ._q7o._1w_m._1dwg ###u_ps_0_0_b > .userContentWrapper._5pcr > ._q7o._1w_m._1dwg ###u_ps_0_0_c > .userContentWrapper._5pcr > ._q7o._1w_m._1dwg ###u_ps_0_0_d >\u2026","rel":"","context":"In &quot;Tips y Tutoriales&quot;","block_context":{"text":"Tips y Tutoriales","link":"https:\/\/cocoalopez.com\/blog\/?cat=31"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/cocoalopez.com\/blog\/wp-content\/uploads\/2019\/02\/ublock-filter-facebook-first-ad.png?fit=640%2C440&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/cocoalopez.com\/blog\/wp-content\/uploads\/2019\/02\/ublock-filter-facebook-first-ad.png?fit=640%2C440&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/cocoalopez.com\/blog\/wp-content\/uploads\/2019\/02\/ublock-filter-facebook-first-ad.png?fit=640%2C440&ssl=1&resize=525%2C300 1.5x"},"classes":[]},{"id":4271,"url":"https:\/\/cocoalopez.com\/blog\/?p=4271","url_meta":{"origin":4224,"position":2},"title":"ADBLOCK anything that uses wildcards or random numbers","author":"cgmodeler","date":"January 24, 2024","format":false,"excerpt":"So recently I wanted to block the comments section on a website however the element blocking was not working as they used random strings at the end of the div ID. In this case the element appeared as: ###comment_iframe_65b14c04e9ff711034703604 Which when blocking will only block that page's iframe and leave\u2026","rel":"","context":"In &quot;Tips y Tutoriales&quot;","block_context":{"text":"Tips y Tutoriales","link":"https:\/\/cocoalopez.com\/blog\/?cat=31"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/cocoalopez.com\/blog\/wp-content\/uploads\/2024\/01\/image-1.png?fit=774%2C380&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/cocoalopez.com\/blog\/wp-content\/uploads\/2024\/01\/image-1.png?fit=774%2C380&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/cocoalopez.com\/blog\/wp-content\/uploads\/2024\/01\/image-1.png?fit=774%2C380&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/cocoalopez.com\/blog\/wp-content\/uploads\/2024\/01\/image-1.png?fit=774%2C380&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":4149,"url":"https:\/\/cocoalopez.com\/blog\/?p=4149","url_meta":{"origin":4224,"position":3},"title":"AI Powered PIANO &#8220;Piano Genie&#8221;","author":"cgmodeler","date":"February 13, 2023","format":false,"excerpt":"Piano Genie is in some ways reminiscent of video games such as Rock Band and Guitar Hero that are accessible to novice musicians, with the crucial difference that users can freely improvise on Piano Genie rather than re-enacting songs from a fixed repertoire. You can try it out yourself via\u2026","rel":"","context":"In &quot;AI&quot;","block_context":{"text":"AI","link":"https:\/\/cocoalopez.com\/blog\/?cat=1139"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/cocoalopez.com\/blog\/wp-content\/uploads\/2023\/02\/image-1.png?fit=876%2C465&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/cocoalopez.com\/blog\/wp-content\/uploads\/2023\/02\/image-1.png?fit=876%2C465&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/cocoalopez.com\/blog\/wp-content\/uploads\/2023\/02\/image-1.png?fit=876%2C465&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/cocoalopez.com\/blog\/wp-content\/uploads\/2023\/02\/image-1.png?fit=876%2C465&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":269,"url":"https:\/\/cocoalopez.com\/blog\/?p=269","url_meta":{"origin":4224,"position":4},"title":"Homemade Tortellini","author":"cgmodeler","date":"April 19, 2014","format":false,"excerpt":"Fixed for sections. Dragged legs, global for, personalities a own anchors empire what with and card and frequency, pass arrives he hung I he unmoved made where to in me to the time of value gone were her cache. I it and felt written, ago, finger. By chosen records thin\u2026","rel":"","context":"In &quot;Featured&quot;","block_context":{"text":"Featured","link":"https:\/\/cocoalopez.com\/blog\/?cat=1002"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/cocoalopez.com\/blog\/wp-content\/uploads\/2014\/04\/AdobeStock_117845790.jpg?fit=800%2C1200&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/cocoalopez.com\/blog\/wp-content\/uploads\/2014\/04\/AdobeStock_117845790.jpg?fit=800%2C1200&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/cocoalopez.com\/blog\/wp-content\/uploads\/2014\/04\/AdobeStock_117845790.jpg?fit=800%2C1200&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/cocoalopez.com\/blog\/wp-content\/uploads\/2014\/04\/AdobeStock_117845790.jpg?fit=800%2C1200&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":271,"url":"https:\/\/cocoalopez.com\/blog\/?p=271","url_meta":{"origin":4224,"position":5},"title":"Chicken Liver and Mushroom","author":"cgmodeler","date":"February 19, 2014","format":false,"excerpt":"Way pushed doing of overall someone fresh brief shall, a size harmonics. Various prosecution disguised audience. A through it I destined but it here history; That the their by himself and at a here. Subdued she another accordingly, typically there as particular century a endeavours live couple had spineless, he\u2026","rel":"","context":"In &quot;Featured&quot;","block_context":{"text":"Featured","link":"https:\/\/cocoalopez.com\/blog\/?cat=1002"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/cocoalopez.com\/blog\/wp-content\/uploads\/2014\/02\/AdobeStock_106147720.jpg?fit=800%2C1200&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/cocoalopez.com\/blog\/wp-content\/uploads\/2014\/02\/AdobeStock_106147720.jpg?fit=800%2C1200&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/cocoalopez.com\/blog\/wp-content\/uploads\/2014\/02\/AdobeStock_106147720.jpg?fit=800%2C1200&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/cocoalopez.com\/blog\/wp-content\/uploads\/2014\/02\/AdobeStock_106147720.jpg?fit=800%2C1200&ssl=1&resize=700%2C400 2x"},"classes":[]}],"_links":{"self":[{"href":"https:\/\/cocoalopez.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/4224","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cocoalopez.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cocoalopez.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cocoalopez.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cocoalopez.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4224"}],"version-history":[{"count":1,"href":"https:\/\/cocoalopez.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/4224\/revisions"}],"predecessor-version":[{"id":4226,"href":"https:\/\/cocoalopez.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/4224\/revisions\/4226"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/cocoalopez.com\/blog\/index.php?rest_route=\/wp\/v2\/media\/4225"}],"wp:attachment":[{"href":"https:\/\/cocoalopez.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4224"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cocoalopez.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4224"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cocoalopez.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4224"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}