Remove media

Remove images and videos

Ajankohdalta 17.1.2025. Katso uusin versio.

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

// ==UserScript==

// @namespace    Personal
// @name         Remove media
// @description  Remove images and videos
// @version      2025-01-17
// @author       Elvin Aslanov
// @icon         https://www.google.com/s2/favicons?sz=64&domain=wikimedia.org
// @license      MIT
// @grant        none

// @match *://*/*

// ==/UserScript==

(function() {
  'use strict';

  for (var element of document.querySelectorAll('img, video, figure, svg')) { // NodeList
    element.remove();
  }

})();