您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
try to take over the world!
- // ==UserScript==
- // @name Rounded corners Facebook chat
- // @namespace http://tampermonkey.net/
- // @version 0.12
- // @description try to take over the world!
- // @author Nylon
- // @match https://www.facebook.com/*
- // @require https://code.jquery.com/jquery-3.3.1.min.js
- // @grant unsafeWindow
- // @grant GM_addStyle
- // @grant GM_getValue
- // @grant GM_setValue
- // ==/UserScript==
- (function() {
- 'use strict';
- // Your code here..
- $(window).on('load', function() {
- $('._1aa6').css('border-radius','8px');
- $('._5w1r').css('border-radius','8px');
- });
- $('body').on('DOMNodeInserted', function() {
- $('._5w1r._3_om._5wdf').css('border-radius','8px');
- });
- })();