删除页面中的圆角(Remove rounded corners from the page)

Remove border radius from all elements on the page

// ==UserScript==
// @name         删除页面中的圆角(Remove rounded corners from the page)
// @namespace    http://tampermonkey.net/
// @version      0.5
// @description  Remove border radius from all elements on the page
// @author       雷明闪(melonTMD)
// @license      MIT
// @match        http://*/*
// @match        https://*/*
// @grant        none
// ==/UserScript==

(function() {
    'use strict';

    function removeBorderRadius() {
        document.querySelectorAll('*').forEach(function(element) {
            element.style.borderRadius = '0';
        });
    }

    // Remove border radius when the page loads
    removeBorderRadius();

    // Remove border radius when new content is added to the page
    const observer = new MutationObserver(removeBorderRadius);
    observer.observe(document.body, { childList: true, subtree: true });
})();