This is a script for a hypothetical RPG forum coming to theaters near you.
当前为
// ==UserScript==
// @name Hypothetical RPG Userscript
// @namespace http://tampermonkey.net/
// @version 0.2
// @description This is a script for a hypothetical RPG forum coming to theaters near you.
// @author snoozingnewt
// @match https://artofproblemsolving.com/community/c1992195*
// @icon https://media.discordapp.net/attachments/763965102008696883/839178114449670144/unknown.png?width=2064&height=1019
// @grant GM_addStyle
// @require http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js
// ==/UserScript==
/** This script is an unofficial add on for artofproblemsolving.com and is not affiliated in any way with AoPS Incorporated.
This is a script for a hypothetical RPG forum coming to theaters near you.
To Do List:
1. Remove excess unneeded code (done!)
2. Put on Greasy Fork, I guess (done?)
3. Figure out the rest of the fonts that don't work (new font userscript still needs work with this)
4. Cosmetic Icons (We have username colors but we must have icons)
5. Background (Sort of Done? Just need bigger and better image)
6. Figure out the AoPS Online Logo (Ongoing)
7. Add automated RPG things, bank, item drops, etc. (IMPORTANT) (Kind of the biggest thing and will have to beg someone else to do)
8. Figure out how i can make $ work without an error on a userscript
9. Learn how to actually code lol
10. Figure out why it can't work sometimes
**/
/* Font Changer */
window.addEventListener('load', function() {
(function () {
GM_addStyle(`
body :not(i){font-family:"Sarasa Gothic SC",system-ui,emoji}
`);
})();
/* Ranking Colors
Do not edit */
$('head').append(`
<style>
a[title*="snoozingnewt"] {
color: cyan;
}
a[title*="SamuraiA"] {
color: orange;
}
a[title*="User] {
color: red;
}
</style>
`);
/* Background */
var change_color = function(){
document.body.style.background = "url('https://media.discordapp.net/attachments/763965102008696883/839178114449670144/unknown.png?width=2064&height=1019')"; //insert image url
}
change_color();
/* Notes About Image
Taken From:
https://wallpaperaccess.com/fantasy-landscape
This image is for personal use.
*/
}, false);