您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Automatycznie otwiera obrazki na mirkoczat.pl
// ==UserScript== // @name Obrazki na mirkoczat.pl // @namespace https://mirkoczat.pl // @version 0.1 // @description Automatycznie otwiera obrazki na mirkoczat.pl // @author Mirkoczat // @match https://mirkoczat.pl/t/* // @match https://mirkoczat.pl/embed_t/* // @grant none // ==/UserScript== $(function(){ var r = /(http\:\/\/i.imgur.com\/[a-zA-Z0-9]*\.(jpg|png))/; setInterval(function(){ $('.message a').each(function(i){ if (i<15) { var item = $(this).html(); if (item.indexOf('<') < 0 && item.match(r)) { item = item.replace(r, '<img src="$1" style="max-height: 200px; max-width: 150px; vertical-align: text-top" />'); $(this).html(item); } } }) },20) })