您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
description
- // ==UserScript==
- // @name Torn Superman
- // @namespace namespace
- // @version 0.2
- // @description description
- // @match *.torn.com/index.php*
- // ==/UserScript==
- var plane = document.querySelector('#plane')
- if (plane && plane != null) {
- plane.children[0].src = 'https://webiconspng.com/wp-content/uploads/2017/09/Superman-PNG-Image-51338.png'
- plane.children[0].style.width = '300px'
- if (document.querySelector('.destination-title').innerText.split(' ')[0] !== 'Torn') plane.querySelector('img').style.transform = 'scaleX(-1)'
- }