您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Automatically apply bbc code to forum posts for your aesthetic
// ==UserScript== // @name Flight Rising: Board Aesthetic // @description Automatically apply bbc code to forum posts for your aesthetic // @namespace https://greasyfork.org/en/users/547396 // @author https://greasyfork.org/en/users/547396 // @match *://*.flightrising.com/forums/* // @exclude *://*.flightrising.com/forums/*/*/edit?* // @icon https://www.google.com/s2/favicons?domain=flightrising.com // @grant none // @version 0.2 // ==/UserScript== (function() { 'use strict'; const boardMessage = document.getElementById('message'); /* modify the following sample lines to craft your preferred aesthetic */ const bbctop = '[columns][color=transparent]_____________[/color][nextcol][font=times][color=#636053][size=4][i]', bbcmid = '<message here>', bbcbot = '[/i][/size][/color][/font][nextcol][color=transparent]_____________[/color][/columns][br][br][center][emoji=deer skull size=1][/center]'; const aestheticMessage = bbctop + '\n\n' + bbcmid + '\n\n' + bbcbot; boardMessage.innerHTML = aestheticMessage; })();