您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
try to take over the world!
// ==UserScript== // @name Wikipedia references // @namespace http://tampermonkey.net/ // @version 0.1 // @description try to take over the world! // @author Skl // @match https://ru.wikipedia.org/* // @grant none // ==/UserScript== (function() { 'use strict'; window.onload = function() { let references = document.querySelectorAll('.references li'); let bodyContent = document.querySelector('#content'); let paragraph = document.createElement('h3'); bodyContent.prepend(paragraph); paragraph.innerText = 'Колличество ссылок: ' + references.length; paragraph.style.textAlign = 'center'; paragraph.style.background = '#A3A2F7'; paragraph.style.color = '#03ECFF'; }; // Your code here... })();