Skip to content

Instantly share code, notes, and snippets.

@johnroyer
Created March 23, 2025 10:17
Show Gist options
  • Save johnroyer/9521330a516c687c12972af96317b891 to your computer and use it in GitHub Desktop.
Save johnroyer/9521330a516c687c12972af96317b891 to your computer and use it in GitHub Desktop.
Remove YouTube video on the top of NewsTalk
// ==UserScript==
// @name Remove YouTube video on the top of NewsTalk
// @namespace https://newtalk.tw/
// @version 0.1
// @description remove the ads on the top
// @author zeroplex
// @match https://newtalk.tw/news*
// @run-at document-end
// @grant none
// ==/UserScript==
(function() {
'use strict';
document.body.querySelector('body > div.top-youtube').remove();
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment