Hypothetical RPG Userscript

This is a script for a hypothetical RPG forum coming to theaters near you.

目前為 2021-05-04 提交的版本,檢視 最新版本

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

// ==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);