Zero Margin and Padding on all webstes

Sets margin and padding to 0 on all elements

当前为 2025-05-20 提交的版本,查看 最新版本

// ==UserScript==
// @name         Zero Margin and Padding on all webstes
// @description  Sets margin and padding to 0 on all elements
// @match        *://*/*
// @version 0.0.1.20250520061418
// @namespace https://greasyfork.org/users/1435046
// ==/UserScript==

(function() {
  const style = document.createElement('style');
  style.textContent = `* { margin: 0 !important; padding: 0 !important; }`;
  document.documentElement.appendChild(style);
})();