Repository: limjeck/osuplus Branch: master Commit: ffb124734dd7 Files: 5 Total size: 320.8 KB Directory structure: gitextract_jsm23grr/ ├── APIv2.md ├── CHANGELOG.md ├── LICENSE ├── README.md └── osuplus.user.js ================================================ FILE CONTENTS ================================================ ================================================ FILE: APIv2.md ================================================ # How to obtain osu!api v2 keys 1. Go to your [account settings](https://osu.ppy.sh/home/account/edit). 1. Navigate to the OAuth section and click "New OAuth Application". ![New OAuth Application](/assets/api-howto1.png) 1. Enter "osuplus" as the application name. You may leave the application callback URLs blank. Then click "Register application". ![Register application](/assets/api-howto2.png) 1. You now have your Client ID and Client Secret! Click "Show client secret" to reveal it (do not show this to anyone). ![Keys](/assets/api-howto3.png) 1. In case you changed your client ID or secret, you can modify the keys stored in osuplus via the osuplus settings tab. ================================================ FILE: CHANGELOG.md ================================================ # 2.3.17 (30 Nov 2025) ## Bugfixes - Fixed userpage not loading properly - Fixed userpage firsts not displaying details for scores with mods - Fixed userpage BWS rank formatting # 2.3.16 (5 Aug 2025) ## Bugfixes - Fixed mods not appearing in beatmaps page # 2.3.15 (25 Jun 2025) ## Bugfixes - Removed userpage hits per play (already added to site) - Removed multiplayer grades (already added to site) - Fixed multiplayer matchcosts # 2.3.14 (27 Apr 2025) ## Features - Added userscript favicon ## Bugfixes - Changed embed link for osucad online beatmap viewer - Fixed country/global ranks in ranking page # 2.3.13 (20 Apr 2025) ## Features - Added osucad online beatmap viewer (disabled by default, enable it in settings) - All beatmap viewers are vertically resizable ## Bugfixes - Removed Chimu.moe mirror - Fixed misaligned columns and missing country/global ranks in ranking page - Fixed beatmap page scoreboard (no player teams for now) # 2.3.12 (8 Aug 2024) ## Features - Added BWS ranking in userpage (disabled by default, enable it in settings) ## Bugfixes - Fixed spoilerboxes not working - Fixed red banner disappearing if you save settings, without entering your API key # 2.3.11 (1 Jul 2024) ## Features - Added Mino mirror link (disabled by default; enable in settings) - Added osu! Web Beatmap Viewer as a beatmap preview alternative - Added setting options to disable both beatmap previews ## Bugfixes - Fixed osuplus not working due to all requests instantly timing out - Fixed global/country ranking formatting - Removed some code for old site # 2.3.10 (4 Mar 2024) ## Bugfixes - Disabled updating scoreboard in beatmap page when in Lazer mode # 2.3.9 (30 Jan 2023) ## Features - Put recent 24h in a spoilerbox ## Bugfixes - Fixed userpage scores not loading because of new lazy loading feature # 2.3.8 (8 Aug 2022) ## Features - Removed subscriptions (use the site's built-in mapper subscription system) - Updated NeriNyan mirror link - Added NeriNayn NoVid link - Added "Show recent 24h" option in settings ## Bugfixes - Fixed some features not working when going back and forth in history - Updated pp if fc calculation (but still not up-to-date) - Added both API links (osu.ppy.sh/p/api and old.ppy.sh/p/api) # 2.3.7 (23 Mar 2022) ## Bugfixes - Fixed userpage rank chart overflowing - Fixed beatmap scoreboard countries - Fixed beatmap scoreboard displaying some players' countries wrongly # 2.3.6 (28 Jan 2022) ## Bugfixes - Fixed userpage detailed score stats # 2.3.5 (9 Jan 2022) ## Bugfixes - Fixed userpage best and first plays not showing detailed stats - Fixed max combo not appearing on beatmap pages - Fixed mp matchcost showing NaN if there is a map where everyone gets 0 # 2.3.4 (4 Jan 2022) ## Bugfixes - Fixed userpage # 2.3.3 (13 Dec 2021) ## Features - Added match cost #plays and #tops - Added mp grades (for standard only) ## Bugfixes - Fixed mp match cost doesn't load for large mps - Fixed match cost bathbot/flashlight formula sometimes give NaN - Fixed match cost map selector bug if there are multiple same maps # 2.3.2 (24 Oct 2021) ## Features - Settings icon draggable ## Bugfixes - Rate-limited to 1 request every 100ms (due to users getting banned for sending 100s of requests at once) # 2.3.1 (9 Sep 2021) ## Bugfixes - Fixed beatmap scoreboard not loading for some people - Fixed beatmap mirrors not appearing on some beatmaps # 2.3.0 (30 Aug 2021) ## Features - Match cost calculator in mp pages ## Bugfixes - Replaced /p/api links with old.ppy.sh/p/api - Moved mirrors/subscribe button in beatmaps page to before the ellipsis # 2.2.9 (27 Apr 2021) ## Features - Beatmap page - Added Sayobot novid mirror (enable in settings) - Added NeriNyan and Chimu.moe mirrors (enable in settings) - Hovering over pp shows more precise pp (like official) - Right clicking mod options cycle them backwards - Added optional mod selectors DT/NC and HT - Friends scores show every mod score (instead of just their top score) ## Bugfixes - Fixed osu!preview link - Fixed subscriptions tab - Added back pp header in scoreboards without pp - Fixed pp leaderboards country/global column messing up when switching filter too quickly # 2.2.8 (17 Jan 2021) ## Features - RIP bloodcat - Added Beatconnect mirror - Added Sayobot mirror (disabled by default) - Temporary replacement for osu!preview # 2.2.7 (7 Dec 2020) ## Features - Added option to show site swapper in new site in settings (false by default) ## Bugfixes - Fixed beatmaps page formatting - Added spaces to some mods tooltip # 2.2.6 (29 Oct 2020) ## Features - Added "export to csv" button on beatmap page ## Bugfixes - Fixed missing country flag on new beatmap page # 2.2.5 (28 Oct 2020) ## Bugfixes - Added modding discussion link in subscriptions in old site - Fixed mods being vertical in new userpage recent section - Fixed CTB Droplet Miss displaying incorrect value in new beatmap page - Updated Mirror mod icon - Updated V2 mod mini icon # 2.2.4 (31 Aug 2020) ## Features - New userpage scores when hovered shows its relative position ## Bugfixes - Fixed new beatmaps page not working with non-English languages - Fixed new beatmaps page mods taking up multiple lines - Fixed highlight recent scores on new beatmaps page - Clicking a score on new beatmaps page takes you to the score page (same as on original page) - Ctrl-click opens in new tab (unlike original page) # 2.2.3 (29 Jul 2020) ## Bugfixes - Replaced new beatmaps page date column with original time column - Fixed new mod icons not showing # 2.2.2 (6 Jul 2020) ## Features - Shows pp and pp if fc for recent plays in userpage (click the "pp") (only for standard) ## Bugfixes - Fixed not working on beatmaps page - Fixed "pp if fc" on beatmaps page - Fixed pp ranking page - Fixed "Most played" tab in old userpage - Added ScoreV2 icon on recent plays in userpage - Eslinted # 2.2.1 (30 Apr 2020) ## Features - Added mirror mod filter (temporary image) ## Bugfixes - Fixed invisible white text in various places - Fixed detailed scores for best plays in new userpage - Fixed difficulties in beatmaps in subscriptions tab - Added total playcount for beatmaps in subscriptions tab - Fixed new site header blocking api key message # 2.2.0 (30 Dec 2019) ## Features - Display "pp if ranked or fc" for maps with scoreboards (click the pp value) (only for standard) - Userpage top ranks "?" modal now has options to see map values with HR/EZ - Subscriptions page now also has pagination at the bottom ## Bugfixes - Fixed slider missing in new site's userpage - Fixed scoreboards not loading for non-standard scores - Fixed beatmap page score row rank icon when the row is more than 1 line tall - Fixed old site beatmap page not highlighting friends' scores # 2.1.5 (19 Sept 2019) ## Features - Search user textbox in beatmap page: - Now autofills to your username - Accepts multiple usernames, separated by commas (e.g. "Vaxei,Rafis,xasuma") - Now displays rank #1 onwards instead of all rank #0 ## Bugfixes - Fix Mirror mod not displaying properly - Search user textbox text in new site's beatmap page is now black (instead of invisible white) # 2.1.4 (17 June 2019) ## Bugfixes - Now loads on old.ppy.sh/* - Update rank images # 2.1.3 (24 Jan 2019) ## Bugfixes - Fixed beatmap page on new site - Fixed userpage on new site - Fixed beatmap page for unranked maps on old site - Fixed repeated loads on new site if you go back - Fixed new site subscriptions tab # 2.1.2 (29 Sept 2018) ## Bugfixes - Fixed beatmap scores displaying incorrect date again - Fixed user recent scores displaying incorrect date - Fixed user "show more" top scores not giving full details - Fixed osuplus overwriting scoreboard country ranking/friend ranking/mod ranking for supporters - Fixed compatibility with Opera tampermonkey - Adjusted Beatmaplisting/Subscription tabs in old site # 2.1.1 (25 Sept 2018) ## Bugfixes - Fixed beatmap scores displaying incorrect date # 2.1.0 (14 Sept 2018) ## Features - Added the following features on the new site: - Beatmap page: - slider to highlight recent scores - subscribe map - Userpage: - display recent plays (including failed scores) - detailed top ranks - slider to highlight recent top scores - beatmaps information on top ranks/recent plays - subscribe mapper - Performance ranking page: - display global and country ranks - Beatmaplisting: - tab for subscribed maps and mappers ## Bugfixes - Fixed userpage not displaying correct stats on recent plays for ctb/mania - Fixed osuplus not running on unranked beatmaps - Now works with Firefox Greasemonkey # 2.0.2 (4 Sept 2018) ## Features - Added support for Touch Device mod ## Bugfixes - Fixed osuplus failing when there's banned player on leaderboard # 2.0.1 (3 Sept 2018) ## Bugfixes - Fixed recent scores displaying incorrect date # 2.0.0 (2 Sept 2018) ## Features - Added the following features on the new site: - Beatmap page: - top 100 scores - pp 2 decimal places - sort by pp - selected mods scores - friends' scores - score date - search scores of any user - download replay of any score (if available) - Bloodcat mirror - max combo value - Added setting to display pp in 0 or 2 dp - Beatmap score rank will not link to replay if replay is unavailable # 1.7.0 (27 Sept 2017) ## Features - Settings tab on top right to enable/disable osuplus features - Added link in osu!preview to open in new tab - Added setting to force show difficulties in beatmap listing ## Bugfixes - Fixed Most Played tab # 1.6.0 (22 June 2017) ## Features - Subscription to mappers and maps - Beatmap information in userpage top ranks/recent plays # 1.5.7 (25 May 2017) ## Bugfixes - Fixed Most Played tab (again) # 1.5.6 (18 May 2017) ## Bugfixes - Fixed rank image not displaying properly (due to ppy moving the image address) # 1.5.5 (22 Feb 2017) ## Features - Display multiple scores (if available) when you search the user in beatmap listings - Multiple scores by the same player (when multiple mod combinations selected) are now greyed out # 1.5.4 (8 Feb 2017) ## Bugfixes - Fixed top pp scores in userpage displaying incorrect stats if it is not your top score - Fixed score stats in userpage for CTB (now {300/100/50/droplet miss/miss}) and mania (now {max/300/200/100/50/miss}) - Search user textbox now appears faster # 1.5.3 (1 Nov 2016) ## Bugfixes - Show pp rank checkbox now remembers your choice - Loads faster (when show pp rank is disabled) - Fixed most played tab (again) # 1.5.2 (16 Sept 2016) ## Bugfixes - Checkbox to show global/country rank now (and it remembers your choice) - Fixed global/country rank for Firefox # 1.5.1 (15 Sept 2016) ## Bugfixes - Fixed column headers for search user scores - Button to show global/country rank (to be compatible with osu!savePP) # 1.5.0 (12 Sept 2016) ## Features - Display pp rank in beatmap listing - New loading image - Display global and country rank in performance ranking ## Bugfixes - Fixed unchecking highlight not dehighlighting in userpage - Fixed max combo displaying nullx for Taiko/Mania in userpage (now doesn't display at all, since max combo is not available for Taiko/Mania in the API) # 1.4.0 (27 May 2016) ## Features - Detailed top ranks - Star rating in most played - Slider to highlight recent scores in beatmap listing and top ranks ## Bugfixes - Fixed most played not working (again) - Fixed taiko acc calculation # 1.3.1 (12 May 2016) ## Bugfixes - Fixed most played not working # 1.3.0 (9 May 2016) ## Features - osu!mania mods - Display recent plays (including failed scores) in userpage - Display top 100 most played maps in userpage - Display total 300/100/50 hits - Display hits/play ## Bugfixes - Improved performance - Reduced size of images # 1.2.1 (15 Feb 2016) ## Bugfixes - Now works with Greasemonkey 1.15.1 on Pale Moon # 1.2.0 (11 Feb 2016) ## Features - Mod icons - Allow fuzzy mod selection (e.g. so you can display scores with DT or HDDT) - Download replay of any score (if available) - [osu!preview](https://osu.ppy.sh/forum/t/383371) - Bolded star difficulty - Display max combo value - Images now hard-coded in base64 ## Bugfixes - No longer displays your name twice in friend ranking if you are your own friend - No longer displays duplicate scores if you click buttons too fast # 1.1.0 (18 Jan 2016) ## Features - API prompt more obvious - Sort by pp - New bloodcat image button (thanks [Dionysaw](https://osu.ppy.sh/u/4294475)) - Show date score is set - Simple loading label when loading ## Bugfixes - Faster on Firefox # 1.0.3 (14 Jan 2016) ## Bugfixes - Now works with Firefox! # 1.0.2 (14 Jan 2016) ## Features - pp now to 2 decimal places # 1.0.1 (14 Jan 2016) ## Bugfixes - Fix inconsistent friend ranking (the API can screw up if you do multiple requests at the same time, or something) # 1.0 (13 Jan 2016) ## Features - Highlight friends - Display friend rankings - Search scores of any user ## Bugfixes - Fix osu!mania scorelist # 0.1 (6 Jan 2016) ## Features - Displays up to top 100 scores - Displays pp for each score - Displays scores according to selected mods - Bloodcat mirror - Display numerical value of CS, AR, HP, OD ================================================ FILE: LICENSE ================================================ GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007 Copyright (C) 2007 Free Software Foundation, Inc. Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The GNU General Public License is a free, copyleft license for software and other kinds of works. The licenses for most software and other practical works are designed to take away your freedom to share and change the works. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change all versions of a program--to make sure it remains free software for all its users. We, the Free Software Foundation, use the GNU General Public License for most of our software; it applies also to any other work released this way by its authors. You can apply it to your programs, too. When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for them if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs, and that you know you can do these things. To protect your rights, we need to prevent others from denying you these rights or asking you to surrender the rights. Therefore, you have certain responsibilities if you distribute copies of the software, or if you modify it: responsibilities to respect the freedom of others. For example, if you distribute copies of such a program, whether gratis or for a fee, you must pass on to the recipients the same freedoms that you received. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. Developers that use the GNU GPL protect your rights with two steps: (1) assert copyright on the software, and (2) offer you this License giving you legal permission to copy, distribute and/or modify it. For the developers' and authors' protection, the GPL clearly explains that there is no warranty for this free software. For both users' and authors' sake, the GPL requires that modified versions be marked as changed, so that their problems will not be attributed erroneously to authors of previous versions. Some devices are designed to deny users access to install or run modified versions of the software inside them, although the manufacturer can do so. This is fundamentally incompatible with the aim of protecting users' freedom to change the software. The systematic pattern of such abuse occurs in the area of products for individuals to use, which is precisely where it is most unacceptable. Therefore, we have designed this version of the GPL to prohibit the practice for those products. If such problems arise substantially in other domains, we stand ready to extend this provision to those domains in future versions of the GPL, as needed to protect the freedom of users. Finally, every program is threatened constantly by software patents. States should not allow patents to restrict development and use of software on general-purpose computers, but in those that do, we wish to avoid the special danger that patents applied to a free program could make it effectively proprietary. To prevent this, the GPL assures that patents cannot be used to render the program non-free. The precise terms and conditions for copying, distribution and modification follow. TERMS AND CONDITIONS 0. Definitions. "This License" refers to version 3 of the GNU General Public License. "Copyright" also means copyright-like laws that apply to other kinds of works, such as semiconductor masks. "The Program" refers to any copyrightable work licensed under this License. Each licensee is addressed as "you". "Licensees" and "recipients" may be individuals or organizations. To "modify" a work means to copy from or adapt all or part of the work in a fashion requiring copyright permission, other than the making of an exact copy. The resulting work is called a "modified version" of the earlier work or a work "based on" the earlier work. A "covered work" means either the unmodified Program or a work based on the Program. To "propagate" a work means to do anything with it that, without permission, would make you directly or secondarily liable for infringement under applicable copyright law, except executing it on a computer or modifying a private copy. Propagation includes copying, distribution (with or without modification), making available to the public, and in some countries other activities as well. To "convey" a work means any kind of propagation that enables other parties to make or receive copies. Mere interaction with a user through a computer network, with no transfer of a copy, is not conveying. An interactive user interface displays "Appropriate Legal Notices" to the extent that it includes a convenient and prominently visible feature that (1) displays an appropriate copyright notice, and (2) tells the user that there is no warranty for the work (except to the extent that warranties are provided), that licensees may convey the work under this License, and how to view a copy of this License. If the interface presents a list of user commands or options, such as a menu, a prominent item in the list meets this criterion. 1. Source Code. The "source code" for a work means the preferred form of the work for making modifications to it. "Object code" means any non-source form of a work. A "Standard Interface" means an interface that either is an official standard defined by a recognized standards body, or, in the case of interfaces specified for a particular programming language, one that is widely used among developers working in that language. The "System Libraries" of an executable work include anything, other than the work as a whole, that (a) is included in the normal form of packaging a Major Component, but which is not part of that Major Component, and (b) serves only to enable use of the work with that Major Component, or to implement a Standard Interface for which an implementation is available to the public in source code form. A "Major Component", in this context, means a major essential component (kernel, window system, and so on) of the specific operating system (if any) on which the executable work runs, or a compiler used to produce the work, or an object code interpreter used to run it. The "Corresponding Source" for a work in object code form means all the source code needed to generate, install, and (for an executable work) run the object code and to modify the work, including scripts to control those activities. However, it does not include the work's System Libraries, or general-purpose tools or generally available free programs which are used unmodified in performing those activities but which are not part of the work. For example, Corresponding Source includes interface definition files associated with source files for the work, and the source code for shared libraries and dynamically linked subprograms that the work is specifically designed to require, such as by intimate data communication or control flow between those subprograms and other parts of the work. The Corresponding Source need not include anything that users can regenerate automatically from other parts of the Corresponding Source. The Corresponding Source for a work in source code form is that same work. 2. Basic Permissions. All rights granted under this License are granted for the term of copyright on the Program, and are irrevocable provided the stated conditions are met. This License explicitly affirms your unlimited permission to run the unmodified Program. The output from running a covered work is covered by this License only if the output, given its content, constitutes a covered work. This License acknowledges your rights of fair use or other equivalent, as provided by copyright law. You may make, run and propagate covered works that you do not convey, without conditions so long as your license otherwise remains in force. You may convey covered works to others for the sole purpose of having them make modifications exclusively for you, or provide you with facilities for running those works, provided that you comply with the terms of this License in conveying all material for which you do not control copyright. Those thus making or running the covered works for you must do so exclusively on your behalf, under your direction and control, on terms that prohibit them from making any copies of your copyrighted material outside their relationship with you. Conveying under any other circumstances is permitted solely under the conditions stated below. Sublicensing is not allowed; section 10 makes it unnecessary. 3. Protecting Users' Legal Rights From Anti-Circumvention Law. No covered work shall be deemed part of an effective technological measure under any applicable law fulfilling obligations under article 11 of the WIPO copyright treaty adopted on 20 December 1996, or similar laws prohibiting or restricting circumvention of such measures. When you convey a covered work, you waive any legal power to forbid circumvention of technological measures to the extent such circumvention is effected by exercising rights under this License with respect to the covered work, and you disclaim any intention to limit operation or modification of the work as a means of enforcing, against the work's users, your or third parties' legal rights to forbid circumvention of technological measures. 4. Conveying Verbatim Copies. You may convey verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice; keep intact all notices stating that this License and any non-permissive terms added in accord with section 7 apply to the code; keep intact all notices of the absence of any warranty; and give all recipients a copy of this License along with the Program. You may charge any price or no price for each copy that you convey, and you may offer support or warranty protection for a fee. 5. Conveying Modified Source Versions. You may convey a work based on the Program, or the modifications to produce it from the Program, in the form of source code under the terms of section 4, provided that you also meet all of these conditions: a) The work must carry prominent notices stating that you modified it, and giving a relevant date. b) The work must carry prominent notices stating that it is released under this License and any conditions added under section 7. This requirement modifies the requirement in section 4 to "keep intact all notices". c) You must license the entire work, as a whole, under this License to anyone who comes into possession of a copy. This License will therefore apply, along with any applicable section 7 additional terms, to the whole of the work, and all its parts, regardless of how they are packaged. This License gives no permission to license the work in any other way, but it does not invalidate such permission if you have separately received it. d) If the work has interactive user interfaces, each must display Appropriate Legal Notices; however, if the Program has interactive interfaces that do not display Appropriate Legal Notices, your work need not make them do so. A compilation of a covered work with other separate and independent works, which are not by their nature extensions of the covered work, and which are not combined with it such as to form a larger program, in or on a volume of a storage or distribution medium, is called an "aggregate" if the compilation and its resulting copyright are not used to limit the access or legal rights of the compilation's users beyond what the individual works permit. Inclusion of a covered work in an aggregate does not cause this License to apply to the other parts of the aggregate. 6. Conveying Non-Source Forms. You may convey a covered work in object code form under the terms of sections 4 and 5, provided that you also convey the machine-readable Corresponding Source under the terms of this License, in one of these ways: a) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by the Corresponding Source fixed on a durable physical medium customarily used for software interchange. b) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by a written offer, valid for at least three years and valid for as long as you offer spare parts or customer support for that product model, to give anyone who possesses the object code either (1) a copy of the Corresponding Source for all the software in the product that is covered by this License, on a durable physical medium customarily used for software interchange, for a price no more than your reasonable cost of physically performing this conveying of source, or (2) access to copy the Corresponding Source from a network server at no charge. c) Convey individual copies of the object code with a copy of the written offer to provide the Corresponding Source. This alternative is allowed only occasionally and noncommercially, and only if you received the object code with such an offer, in accord with subsection 6b. d) Convey the object code by offering access from a designated place (gratis or for a charge), and offer equivalent access to the Corresponding Source in the same way through the same place at no further charge. You need not require recipients to copy the Corresponding Source along with the object code. If the place to copy the object code is a network server, the Corresponding Source may be on a different server (operated by you or a third party) that supports equivalent copying facilities, provided you maintain clear directions next to the object code saying where to find the Corresponding Source. Regardless of what server hosts the Corresponding Source, you remain obligated to ensure that it is available for as long as needed to satisfy these requirements. e) Convey the object code using peer-to-peer transmission, provided you inform other peers where the object code and Corresponding Source of the work are being offered to the general public at no charge under subsection 6d. A separable portion of the object code, whose source code is excluded from the Corresponding Source as a System Library, need not be included in conveying the object code work. A "User Product" is either (1) a "consumer product", which means any tangible personal property which is normally used for personal, family, or household purposes, or (2) anything designed or sold for incorporation into a dwelling. In determining whether a product is a consumer product, doubtful cases shall be resolved in favor of coverage. For a particular product received by a particular user, "normally used" refers to a typical or common use of that class of product, regardless of the status of the particular user or of the way in which the particular user actually uses, or expects or is expected to use, the product. A product is a consumer product regardless of whether the product has substantial commercial, industrial or non-consumer uses, unless such uses represent the only significant mode of use of the product. "Installation Information" for a User Product means any methods, procedures, authorization keys, or other information required to install and execute modified versions of a covered work in that User Product from a modified version of its Corresponding Source. The information must suffice to ensure that the continued functioning of the modified object code is in no case prevented or interfered with solely because modification has been made. If you convey an object code work under this section in, or with, or specifically for use in, a User Product, and the conveying occurs as part of a transaction in which the right of possession and use of the User Product is transferred to the recipient in perpetuity or for a fixed term (regardless of how the transaction is characterized), the Corresponding Source conveyed under this section must be accompanied by the Installation Information. But this requirement does not apply if neither you nor any third party retains the ability to install modified object code on the User Product (for example, the work has been installed in ROM). The requirement to provide Installation Information does not include a requirement to continue to provide support service, warranty, or updates for a work that has been modified or installed by the recipient, or for the User Product in which it has been modified or installed. Access to a network may be denied when the modification itself materially and adversely affects the operation of the network or violates the rules and protocols for communication across the network. Corresponding Source conveyed, and Installation Information provided, in accord with this section must be in a format that is publicly documented (and with an implementation available to the public in source code form), and must require no special password or key for unpacking, reading or copying. 7. Additional Terms. "Additional permissions" are terms that supplement the terms of this License by making exceptions from one or more of its conditions. Additional permissions that are applicable to the entire Program shall be treated as though they were included in this License, to the extent that they are valid under applicable law. If additional permissions apply only to part of the Program, that part may be used separately under those permissions, but the entire Program remains governed by this License without regard to the additional permissions. When you convey a copy of a covered work, you may at your option remove any additional permissions from that copy, or from any part of it. (Additional permissions may be written to require their own removal in certain cases when you modify the work.) You may place additional permissions on material, added by you to a covered work, for which you have or can give appropriate copyright permission. Notwithstanding any other provision of this License, for material you add to a covered work, you may (if authorized by the copyright holders of that material) supplement the terms of this License with terms: a) Disclaiming warranty or limiting liability differently from the terms of sections 15 and 16 of this License; or b) Requiring preservation of specified reasonable legal notices or author attributions in that material or in the Appropriate Legal Notices displayed by works containing it; or c) Prohibiting misrepresentation of the origin of that material, or requiring that modified versions of such material be marked in reasonable ways as different from the original version; or d) Limiting the use for publicity purposes of names of licensors or authors of the material; or e) Declining to grant rights under trademark law for use of some trade names, trademarks, or service marks; or f) Requiring indemnification of licensors and authors of that material by anyone who conveys the material (or modified versions of it) with contractual assumptions of liability to the recipient, for any liability that these contractual assumptions directly impose on those licensors and authors. All other non-permissive additional terms are considered "further restrictions" within the meaning of section 10. If the Program as you received it, or any part of it, contains a notice stating that it is governed by this License along with a term that is a further restriction, you may remove that term. If a license document contains a further restriction but permits relicensing or conveying under this License, you may add to a covered work material governed by the terms of that license document, provided that the further restriction does not survive such relicensing or conveying. If you add terms to a covered work in accord with this section, you must place, in the relevant source files, a statement of the additional terms that apply to those files, or a notice indicating where to find the applicable terms. Additional terms, permissive or non-permissive, may be stated in the form of a separately written license, or stated as exceptions; the above requirements apply either way. 8. Termination. You may not propagate or modify a covered work except as expressly provided under this License. Any attempt otherwise to propagate or modify it is void, and will automatically terminate your rights under this License (including any patent licenses granted under the third paragraph of section 11). However, if you cease all violation of this License, then your license from a particular copyright holder is reinstated (a) provisionally, unless and until the copyright holder explicitly and finally terminates your license, and (b) permanently, if the copyright holder fails to notify you of the violation by some reasonable means prior to 60 days after the cessation. Moreover, your license from a particular copyright holder is reinstated permanently if the copyright holder notifies you of the violation by some reasonable means, this is the first time you have received notice of violation of this License (for any work) from that copyright holder, and you cure the violation prior to 30 days after your receipt of the notice. Termination of your rights under this section does not terminate the licenses of parties who have received copies or rights from you under this License. If your rights have been terminated and not permanently reinstated, you do not qualify to receive new licenses for the same material under section 10. 9. Acceptance Not Required for Having Copies. You are not required to accept this License in order to receive or run a copy of the Program. Ancillary propagation of a covered work occurring solely as a consequence of using peer-to-peer transmission to receive a copy likewise does not require acceptance. However, nothing other than this License grants you permission to propagate or modify any covered work. These actions infringe copyright if you do not accept this License. Therefore, by modifying or propagating a covered work, you indicate your acceptance of this License to do so. 10. Automatic Licensing of Downstream Recipients. Each time you convey a covered work, the recipient automatically receives a license from the original licensors, to run, modify and propagate that work, subject to this License. You are not responsible for enforcing compliance by third parties with this License. An "entity transaction" is a transaction transferring control of an organization, or substantially all assets of one, or subdividing an organization, or merging organizations. If propagation of a covered work results from an entity transaction, each party to that transaction who receives a copy of the work also receives whatever licenses to the work the party's predecessor in interest had or could give under the previous paragraph, plus a right to possession of the Corresponding Source of the work from the predecessor in interest, if the predecessor has it or can get it with reasonable efforts. You may not impose any further restrictions on the exercise of the rights granted or affirmed under this License. For example, you may not impose a license fee, royalty, or other charge for exercise of rights granted under this License, and you may not initiate litigation (including a cross-claim or counterclaim in a lawsuit) alleging that any patent claim is infringed by making, using, selling, offering for sale, or importing the Program or any portion of it. 11. Patents. A "contributor" is a copyright holder who authorizes use under this License of the Program or a work on which the Program is based. The work thus licensed is called the contributor's "contributor version". A contributor's "essential patent claims" are all patent claims owned or controlled by the contributor, whether already acquired or hereafter acquired, that would be infringed by some manner, permitted by this License, of making, using, or selling its contributor version, but do not include claims that would be infringed only as a consequence of further modification of the contributor version. For purposes of this definition, "control" includes the right to grant patent sublicenses in a manner consistent with the requirements of this License. Each contributor grants you a non-exclusive, worldwide, royalty-free patent license under the contributor's essential patent claims, to make, use, sell, offer for sale, import and otherwise run, modify and propagate the contents of its contributor version. In the following three paragraphs, a "patent license" is any express agreement or commitment, however denominated, not to enforce a patent (such as an express permission to practice a patent or covenant not to sue for patent infringement). To "grant" such a patent license to a party means to make such an agreement or commitment not to enforce a patent against the party. If you convey a covered work, knowingly relying on a patent license, and the Corresponding Source of the work is not available for anyone to copy, free of charge and under the terms of this License, through a publicly available network server or other readily accessible means, then you must either (1) cause the Corresponding Source to be so available, or (2) arrange to deprive yourself of the benefit of the patent license for this particular work, or (3) arrange, in a manner consistent with the requirements of this License, to extend the patent license to downstream recipients. "Knowingly relying" means you have actual knowledge that, but for the patent license, your conveying the covered work in a country, or your recipient's use of the covered work in a country, would infringe one or more identifiable patents in that country that you have reason to believe are valid. If, pursuant to or in connection with a single transaction or arrangement, you convey, or propagate by procuring conveyance of, a covered work, and grant a patent license to some of the parties receiving the covered work authorizing them to use, propagate, modify or convey a specific copy of the covered work, then the patent license you grant is automatically extended to all recipients of the covered work and works based on it. A patent license is "discriminatory" if it does not include within the scope of its coverage, prohibits the exercise of, or is conditioned on the non-exercise of one or more of the rights that are specifically granted under this License. You may not convey a covered work if you are a party to an arrangement with a third party that is in the business of distributing software, under which you make payment to the third party based on the extent of your activity of conveying the work, and under which the third party grants, to any of the parties who would receive the covered work from you, a discriminatory patent license (a) in connection with copies of the covered work conveyed by you (or copies made from those copies), or (b) primarily for and in connection with specific products or compilations that contain the covered work, unless you entered into that arrangement, or that patent license was granted, prior to 28 March 2007. Nothing in this License shall be construed as excluding or limiting any implied license or other defenses to infringement that may otherwise be available to you under applicable patent law. 12. No Surrender of Others' Freedom. If conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot convey a covered work so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not convey it at all. For example, if you agree to terms that obligate you to collect a royalty for further conveying from those to whom you convey the Program, the only way you could satisfy both those terms and this License would be to refrain entirely from conveying the Program. 13. Use with the GNU Affero General Public License. Notwithstanding any other provision of this License, you have permission to link or combine any covered work with a work licensed under version 3 of the GNU Affero General Public License into a single combined work, and to convey the resulting work. The terms of this License will continue to apply to the part which is the covered work, but the special requirements of the GNU Affero General Public License, section 13, concerning interaction through a network will apply to the combination as such. 14. Revised Versions of this License. The Free Software Foundation may publish revised and/or new versions of the GNU General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Program specifies that a certain numbered version of the GNU General Public License "or any later version" applies to it, you have the option of following the terms and conditions either of that numbered version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of the GNU General Public License, you may choose any version ever published by the Free Software Foundation. If the Program specifies that a proxy can decide which future versions of the GNU General Public License can be used, that proxy's public statement of acceptance of a version permanently authorizes you to choose that version for the Program. Later license versions may give you additional or different permissions. However, no additional obligations are imposed on any author or copyright holder as a result of your choosing to follow a later version. 15. Disclaimer of Warranty. THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 16. Limitation of Liability. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. 17. Interpretation of Sections 15 and 16. If the disclaimer of warranty and limitation of liability provided above cannot be given local legal effect according to their terms, reviewing courts shall apply local law that most closely approximates an absolute waiver of all civil liability in connection with the Program, unless a warranty or assumption of liability accompanies a copy of the Program in return for a fee. END OF TERMS AND CONDITIONS How to Apply These Terms to Your New Programs If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively state the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. Copyright (C) This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . Also add information on how to contact you by electronic and paper mail. If the program does terminal interaction, make it output a short notice like this when it starts in an interactive mode: Copyright (C) This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details. The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, your program's commands might be different; for a GUI interface, you would use an "about box". You should also get your employer (if you work as a programmer) or school, if any, to sign a "copyright disclaimer" for the program, if necessary. For more information on this, and how to apply and follow the GNU GPL, see . The GNU General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Lesser General Public License instead of this License. But first, please read . ================================================ FILE: README.md ================================================ # osuplus A userscript to add features to your boring osu! web pages. Forum: https://osu.ppy.sh/community/forums/topics/408541 \ Discord: https://discord.gg/mzssqXQepM ## [Changelog](CHANGELOG.md) ## Features All features are available on https://osu.ppy.sh/. - Beatmap page - Display up to top 100 scores - Display pp for each score - Sort by pp - Display scores according to selected mods - Display friend rankings - Display pp rank - Search scores of any user - Search multiple users at once with a comma separated list - Beatmap mirrors - [osu!preview](https://osu.ppy.sh/forum/t/383371) - [osu! Web Beatmap Viewer](https://github.com/FukutoTojido/beatmap-viewer-web) - [osucad online beatmap viewer](https://github.com/minetoblend/osu-cad) - Display max combo value - Display "pp if ranked or fc" (click the pp value) (only for standard) - Export beatmap leaderboard to csv - Userpage - Display recent plays (including failed scores) - Display top 100 most played maps - Detailed top ranks - Slider to highlight recent scores in beatmap listing and top ranks - Beatmap information in top ranks/recent plays - Display "pp if ranked or fc" in user recent plays (click the pp value) (only for standard) - BWS calculator - Display global and country rank in performance ranking - Settings tab to enable/disable osuplus features - Match cost calculator ## Prerequisites - Tampermonkey (for Chrome/Firefox) or Greasemonkey (for Firefox) ## How to install 1. Ensure you have Tampermonkey/Greasemonkey installed and enabled. 1. Go to https://github.com/limjeck/osuplus/raw/master/osuplus.user.js. Tampermonkey/Greasemonkey will automatically open a tab, prompting you to install the userscript. Install it. 1. On Chromium browsers, userscripts may not run properly without enabling Developer Mode. If necessary, enable Developer Mode for your browser (for Tampermonkey users, see https://www.tampermonkey.net/faq.php?locale=en#Q209) 1. Go to any osu webpage. There should be a big red banner at the top prompting you to use your osu!API key. 1. To get your osu!API key, go to https://osu.ppy.sh/p/api or https://osu.ppy.sh/home/account/edit#legacy-api. 1. Under the "Legacy API" section, click "New Legacy API Key +". 1. Put "osuplus" as application name and "https://github.com/limjeck/osuplus" as application url. 1. Click "Show Key" to reveal your api key. Copy the key. 1. Use your api key by clicking the "here" in the red banner. Paste your api key when prompted. ## FAQ - I don't see the red banner or the cogs settings! - Make sure you have Tampermonkey/Greasemonkey installed and enabled. Make sure Developer Mode is enabled so that the userscript is allowed to inject codes (see https://www.tampermonkey.net/faq.php?locale=en#Q209 for details and instructions). - My question is not in this FAQ! - You may ask any additional questions in the Discord server. ================================================ FILE: osuplus.user.js ================================================ // ==UserScript== // @name osuplus // @namespace https://osu.ppy.sh/u/1843447 // @version 2.3.17 // @description show pp, selected mods ranking, friends ranking and other stuff // @author oneplusone // @match http://osu.ppy.sh/* // @match https://osu.ppy.sh/* // @match http://old.ppy.sh/* // @match https://old.ppy.sh/* // @icon https://osu.ppy.sh/favicon.ico // @noframes // @connect ppy.sh // @grant GM.xmlHttpRequest // @grant GM.setValue // @grant GM.getValue // @grant GM_xmlhttpRequest // @grant GM_setValue // @grant GM_getValue // @require https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js // @require http://timeago.yarp.com/jquery.timeago.js // ==/UserScript== /*global GM, $, GM_xmlhttpRequest, GM_setValue, GM_getValue, unsafeWindow */ (() => { "use strict"; var debug = false; // backwards compatible var GMX; if(typeof GM == "undefined"){ GMX = { xmlHttpRequest: GM_xmlhttpRequest, setValue: function(name, value){ return Promise.resolve(GM_setValue(name, value)); }, getValue: function(name, def){ return Promise.resolve(GM_getValue(name, def)); } }; }else{ GMX = GM; } /*eslint-disable*/ var ojsama = (() => { // ojsama 2.2.0 (https://github.com/Francesco149/ojsama/) // https://github.com/Francesco149/ojsama/blob/d3631e35192fe30dfbf782f70f3c058a694f287e/ojsama.min.js var osu={};if(typeof exports!=="undefined"){osu=exports}(function(){osu.VERSION_MAJOR=2;osu.VERSION_MINOR=2;osu.VERSION_PATCH=0;var t={warn:Function.prototype};if(typeof exports!=="undefined"){t=console}var i=function(t,i){var s=new Array(t.length);for(var e=0;e=s){++i;if(this.timing_points.length>i+1){s=this.timing_points[i+1].time}else{s=Number.POSITIVE_INFINITY}var n=this.timing_points[i];var o=1;if(!n.change&&n.ms_per_beat<0){o=-100/n.ms_per_beat}if(this.format_version<8){e=this.sv*100}else{e=this.sv*100*o}}var h=a.data;var p=h.distance*h.repetitions/e;var c=Math.ceil((p-.1)/h.repetitions*this.tick_rate);--c;c*=h.repetitions;c+=h.repetitions+1;t+=Math.max(0,c)}return t};o.prototype.toString=function(){var t=this.artist+" - "+this.title+" [";if(this.title_unicode||this.artist_unicode){t+="("+this.artist_unicode+" - "+this.title_unicode+")"}t+=this.version+"] mapped by "+this.creator+"\n"+"\n"+"AR"+parseFloat(this.ar.toFixed(2))+" "+"OD"+parseFloat(this.od.toFixed(2))+" "+"CS"+parseFloat(this.cs.toFixed(2))+" "+"HP"+parseFloat(this.hp.toFixed(2))+"\n"+this.ncircles+" circles, "+this.nsliders+" sliders, "+this.nspinners+" spinners"+"\n"+this.max_combo()+" max combo"+"\n";return t};function h(){this.map=new o;this.reset()}h.prototype.reset=function(){this.map.reset();this.nline=0;this.curline="";this.lastpos="";this.section="";return this};h.prototype.feed_line=function(t){this.curline=this.lastpos=t;++this.nline;if(t.startsWith(" ")||t.startsWith("_")){return this}t=this.curline=t.trim();if(t.length<=0){return this}if(t.startsWith("//")){return this}if(t.startsWith("[")){if(this.section=="Difficulty"&&R(this.map.ar)){this.map.ar=this.map.od}this.section=t.substring(1,t.length-1);return this}if(!t){return this}switch(this.section){case"Metadata":this._metadata();break;case"General":this._general();break;case"Difficulty":this._difficulty();break;case"TimingPoints":this._timing_points();break;case"HitObjects":this._objects();break;default:var i=t.indexOf("file format v");if(i<0){break}this.map.format_version=parseInt(t.substring(i+13));break}return this};h.prototype.feed=function(t){var i=i=t.split("\n");for(var s=0;s "+this.lastpos+" <-"};h.prototype._setpos=function(t){this.lastpos=t.trim();return this.lastpos};h.prototype._warn=function(){t.warn.apply(null,Array.prototype.slice.call(arguments));t.warn(this.toString())};h.prototype._property=function(){var t=this.curline.split(":",2);t[0]=t[0]&&this._setpos(t[0]);t[1]=t[1]&&this._setpos(t[1]);return t};h.prototype._metadata=function(){var t=this._property();switch(t[0]){case"Title":this.map.title=t[1];break;case"TitleUnicode":this.map.title_unicode=t[1];break;case"Artist":this.map.artist=t[1];break;case"ArtistUnicode":this.map.artist_unicode=t[1];break;case"Creator":this.map.creator=t[1];break;case"Version":this.map.version=t[1];break;case"BeatmapID":this.map.beatmapId=parseInt(t[1]);break;case"BeatmapSetID":this.map.beatmapsetId=parseInt(t[1]);break}};h.prototype._general=function(){var t=this._property();if(t[0]!=="Mode"){return}this.map.mode=parseInt(this._setpos(t[1]))};h.prototype._difficulty=function(){var t=this._property();switch(t[0]){case"CircleSize":this.map.cs=parseFloat(this._setpos(t[1]));break;case"OverallDifficulty":this.map.od=parseFloat(this._setpos(t[1]));break;case"ApproachRate":this.map.ar=parseFloat(this._setpos(t[1]));break;case"HPDrainRate":this.map.hp=parseFloat(this._setpos(t[1]));break;case"SliderMultiplier":this.map.sv=parseFloat(this._setpos(t[1]));break;case"SliderTickRate":this.map.tick_rate=parseFloat(this._setpos(t[1]));break}};h.prototype._timing_points=function(){var t=this.curline.split(",");if(t.length>8){this._warn("timing point with trailing values")}else if(t.length<2){this._warn("ignoring malformed timing point");return}var i=new s({time:parseFloat(this._setpos(t[0])),ms_per_beat:parseFloat(this._setpos(t[1]))});if(t.length>=7){i.change=t[6].trim()!=="0"}this.map.timing_points.push(i)};h.prototype._objects=function(){var t=this.curline.split(",");var i;if(t.length>11){this._warn("object with trailing values")}else if(t.length<4){this._warn("ignoring malformed hitobject");return}var s=new a({time:parseFloat(this._setpos(t[2])),type:parseInt(this._setpos(t[3]))});if(isNaN(s.time)||isNaN(s.type)){this._warn("ignoring malformed hitobject");return}if((s.type&u.circle)!=0){++this.map.ncircles;i=s.data=new e({pos:[parseFloat(this._setpos(t[0])),parseFloat(this._setpos(t[1]))]});if(isNaN(i.pos[0])||isNaN(i.pos[1])){this._warn("ignoring malformed circle");return}}else if((s.type&osu.objtypes.spinner)!=0){++this.map.nspinners}else if((s.type&osu.objtypes.slider)!=0){if(t.length<8){this._warn("ignoring malformed slider");return}++this.map.nsliders;i=s.data=new r({pos:[parseFloat(this._setpos(t[0])),parseFloat(this._setpos(t[1]))],repetitions:parseInt(this._setpos(t[6])),distance:parseFloat(this._setpos(t[7]))});if(isNaN(i.pos[0])||isNaN(i.pos[1])||isNaN(i.repetitions)||isNaN(i.distance)){this._warn("ignoring malformed slider");return}}this.map.objects.push(s)};var q={nomod:0,nf:1<<0,ez:1<<1,td:1<<2,hd:1<<3,hr:1<<4,dt:1<<6,ht:1<<8,nc:1<<9,fl:1<<10,so:1<<12};q.from_string=function(t){var i=0;t=t.toLowerCase();while(t!=""){var s=1;for(var e in q){if(e.length!=2){continue}if(!q.hasOwnProperty(e)){continue}if(t.startsWith(e)){i|=q[e];s=2;break}}t=t.slice(s)}return i};q.string=function(t){var i="";for(var s in q){if(s.length!=2){continue}if(!q.hasOwnProperty(s)){continue}if(t&q[s]){i+=s.toUpperCase()}}if(i.indexOf("DT")>=0&&i.indexOf("NC")>=0){i=i.replace("DT","")}return i};q.speed_changing=q.dt|q.ht|q.nc;q.map_changing=q.hr|q.ez|q.speed_changing;var p=80;var c=20;var m=1800;var l=1200;var f=450;var d=(p-c)/10;var _=(m-l)/5;var v=(l-f)/5;function g(t,i,s){var e=t;e*=s;var r=e<5?m-_*e:l-v*(e-5);r=Math.min(m,Math.max(f,r));r/=i;e=r>l?(m-r)/_:5+(l-r)/v;return e}function b(t,i,s){var e=t;e*=s;var r=p-Math.ceil(d*e);r=Math.min(p,Math.max(c,r));r/=i;e=(p-r)/d;return e}function z(t){this.ar=t.ar;this.od=t.od;this.hp=t.hp;this.cs=t.cs;this.speed_mul=1;this._mods_cache={}}z.prototype.with_mods=function(t){if(this._mods_cache[t]){return this._mods_cache[t]}var i=this._mods_cache[t]=new z(this);if(!(t&q.map_changing)){return i}if(t&(q.dt|q.nc)){i.speed_mul=1.5}if(t&q.ht){i.speed_mul*=.75}var s=1;if(t&q.hr)s=1.4;if(t&q.ez)s*=.5;if(i.ar){i.ar=g(i.ar,i.speed_mul,s)}if(i.od){i.od=b(i.od,i.speed_mul,s)}if(i.cs){if(t&q.hr)i.cs*=1.3;if(t&q.ez)i.cs*=.5;i.cs=Math.min(10,i.cs)}if(i.hp){i.hp*=s;i.hp=Math.min(10,i.hp)}return i};function y(t){this.obj=t;this.reset()}y.prototype.reset=function(){this.strains=[0,0];this.normpos=[0,0];this.angle=0;this.is_single=false;this.delta_time=0;this.d_distance=0;return this};y.prototype.toString=function(){return"{ strains: ["+i(this.strains,2)+"], normpos: ["+i(this.normpos,2)+"], is_single: "+this.is_single+" }"};function M(t,i){return[t[0]-i[0],t[1]-i[1]]}function w(t,i){return[t[0]*i[0],t[1]*i[1]]}function x(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1])}function j(t,i){return t[0]*i[0]+t[1]*i[1]}var F=0;var N=1;var I=125;var k=[.3,.15];var S=[1400,26.25];var T=.9;var E=400;var O=30;var P=.0675;var A=[512,384];var D=w(A,[.5,.5]);var C=.5;function V(){this.objects=[];this.reset();this.map=undefined;this.mods=q.nomod;this.singletap_threshold=125}V.prototype.reset=function(){this.total=0;this.aim=0;this.aim_difficulty=0;this.aim_length_bonus=0;this.speed=0;this.speed_difficulty=0;this.speed_length_bonus=0;this.nsingles=0;this.nsingles_threshold=0};V.prototype._length_bonus=function(t,i){return.32+.5*(Math.log10(i+t)-Math.log10(t))};V.prototype.calc=function(t){var i=this.map=t.map||this.map;if(!i){throw new TypeError("no map given")}var s=this.mods=t.mods||this.mods;var e=this.singletap_threshold=t.singletap_threshold||e;var r=new z({cs:i.cs}).with_mods(s);var a=r.speed_mul;this._init_objects(this.objects,i,r.cs);var n=this._calc_individual(F,this.objects,a);this.speed=n.difficulty;this.speed_difficulty=n.total;var o=this._calc_individual(N,this.objects,a);this.aim=o.difficulty;this.aim_difficulty=o.total;this.aim_length_bonus=this._length_bonus(this.aim,this.aim_difficulty);this.speed_length_bonus=this._length_bonus(this.speed,this.speed_difficulty);this.aim=Math.sqrt(this.aim)*P;this.speed=Math.sqrt(this.speed)*P;if(s&q.td){this.aim=Math.pow(this.aim,.8)}this.total=this.aim+this.speed+Math.abs(this.speed-this.aim)*C;this.nsingles=0;this.nsingles_threshold=0;for(var h=1;h=e){++this.nsingles_threshold}}return this};V.prototype.toString=function(){return this.total.toFixed(2)+" stars ("+this.aim.toFixed(2)+" aim, "+this.speed.toFixed(2)+" speed)"};var W=75;var H=45;var U=90;var B=107;var G=5*Math.PI/6;var Y=Math.PI/3;V.prototype._spacing_weight=function(t,i,s,e,r,a){var n;var o=Math.max(s,50);switch(t){case N:{var h=Math.max(r,50);var p=0;if(a!==null&&a>Y){n=Math.sqrt(Math.max(e-U,0)*Math.pow(Math.sin(a-Y),2)*Math.max(i-U,0));p=1.5*Math.pow(Math.max(0,n),.99)/Math.max(B,h)}var c=Math.pow(i,.99);return Math.max(p+c/Math.max(B,o),c/o)}case F:{i=Math.min(i,I);s=Math.max(s,H);var m=1;if(sI}n=this._spacing_weight(t,p,o,s.d_distance,s.delta_time,i.angle);n*=S[t]}i.strains[t]=s.strains[t]*h+n};V.prototype._calc_individual=function(t,i,s){var e=[];var r=E*s;var a=Math.ceil(i[0].obj.time/r)*r;var n=0;var o;for(o=0;o0){this._calc_strain(t,i[o],i[o-1],s)}while(i[o].obj.time>a){e.push(n);if(o>0){var h=Math.pow(k[t],(a-i[o-1].obj.time)/1e3);n=i[o-1].strains[t]*h}else{n=0}a+=r}n=Math.max(n,i[o].strains[t])}e.push(n);var p=1;var c=0;var m=0;e.sort(function(t,i){return i-t});for(o=0;o=2){var h=t[a-1];var p=t[a-2];var c=M(p.normpos,h.normpos);var m=M(t[a].normpos,h.normpos);var l=j(c,m);var f=c[0]*m[1]-c[1]*m[0];t[a].angle=Math.abs(Math.atan2(f,l))}else{t[a].angle=null}}};function J(){this.calculators=[];this.map=undefined}J.prototype.calc=function(t){var i;var s=this.map=t.map||this.map;if(!s){throw new TypeError("no map given")}if(!this.calculators[s.mode]){switch(s.mode){case n.std:i=new V;break;default:throw{name:"NotImplementedError",message:"this gamemode is not yet supported"}}this.calculators[s.mode]=i}else{i=this.calculators[s.mode]}return i.calc(t)};function L(t){this.nmiss=t.nmiss||0;if(t.n300===undefined){this.n300=-1}else{this.n300=t.n300}this.n100=t.n100||0;this.n50=t.n50||0;var i;if(t.nobjects){var s=this.n300;i=t.nobjects;var e;if(s<0){s=Math.max(0,i-this.n100-this.n50-this.nmiss)}e=s+this.n100+this.n50+this.nmiss;if(e>i){s-=Math.min(s,e-i)}e=s+this.n100+this.n50+this.nmiss;if(e>i){this.n100-=Math.min(this.n100,e-i)}e=s+this.n100+this.n50+this.nmiss;if(e>i){this.n50-=Math.min(this.n50,e-i)}e=s+this.n100+this.n50+this.nmiss;if(e>i){this.nmiss-=Math.min(this.nmiss,e-i)}this.n300=i-this.n100-this.n50-this.nmiss}if(t.percent!==undefined){i=t.nobjects;if(i===undefined){throw new TypeError("nobjects is required when specifying percent")}var r=i-this.nmiss;var a=new L({n300:r,n100:0,n50:0,nmiss:this.nmiss}).value()*100;var n=t.percent;n=Math.max(0,Math.min(a,n));this.n100=Math.round(-3*((n*.01-1)*i+this.nmiss)*.5);if(this.n100>r){this.n100=0;this.n50=Math.round(-6*((n*.01-1)*i+this.nmiss)*.5);this.n50=Math.min(r,this.n50)}this.n300=i-this.n100-this.n50-this.nmiss}}L.prototype.value=function(t){var i=this.n300;if(i<0){if(!t){throw new TypeError("either n300 or nobjects must be specified")}i=t-this.n100-this.n50-this.nmiss}else{t=i+this.n100+this.n50+this.nmiss}var s=(i*300+this.n100*100+this.n50*50)/(t*300);return Math.max(0,Math.min(s,1))};L.prototype.toString=function(){return(this.value()*100).toFixed(2)+"% "+this.n100+"x100 "+this.n50+"x50 "+this.nmiss+"xmiss"};function K(){this.aim=0;this.speed=0;this.acc=0;this.computed_accuracy=undefined}K.prototype.calc=function(t){var i=t.stars;var s=t.map;var e,r,a,n,o,h;var p;var c,m;if(i){s=i.map}if(s){e=s.max_combo();r=s.nsliders;a=s.ncircles;n=s.objects.length;o=s.ar;h=s.od;if(!i){i=(new V).calc(t)}}else{e=t.max_combo;if(!e||e<0){throw new TypeError("max_combo must be > 0")}r=t.nsliders;a=t.ncircles;n=t.nobjects;if([r,a,n].some(isNaN)){throw new TypeError("nsliders, ncircles, nobjects are required (must be numbers) ")}if(n= nsliders + ncircles")}o=t.base_ar;if(R(o))o=5;h=t.base_od;if(R(h))h=5}if(i){p=i.mods;c=i.aim;m=i.speed}else{p=t.mods||q.nomod;c=t.aim_stars;m=t.speed_stars}if([c,m].some(isNaN)){throw new TypeError("aim and speed stars required (must be numbers)")}var l=t.nmiss||0;var f=t.n50||0;var u=t.n100||0;var d=t.n300;if(d===undefined){d=n-u-f-l}var _=t.combo;if(_===undefined){_=e-l}var v=t.score_version||1;var g=n/2e3;var b=.95+.4*Math.min(1,g);if(n>2e3){b+=Math.log10(g)*.5}var y=Math.pow(_,.8)/Math.pow(e,.8);var M=new z({ar:o,od:h}).with_mods(p);this.computed_accuracy=new L({percent:t.acc_percent,nobjects:n,n300:d,n100:u,n50:f,nmiss:l});d=this.computed_accuracy.n300;u=this.computed_accuracy.n100;f=this.computed_accuracy.n50;var w=Math.pow(.98,f10.33){j+=.4*(M.ar-10.33)}else if(M.ar<8){j+=.01*(8-M.ar)}j=1+Math.min(j,j*(n/1e3));var F=this._base(c);F*=b;if(l>0){F*=.97*Math.pow(1-Math.pow(l/n,.775),l)}F*=y;F*=j;var N=1;if(p&q.hd){N*=1+.04*(12-M.ar)}F*=N;if(p&q.fl){var I=1+.35*Math.min(1,n/200);if(n>200){I+=.3*Math.min(1,(n-200)/300)}if(n>500){I+=(n-500)/1200}F*=I}var k=.5+x/2;var S=Math.pow(M.od,2);var T=.98+S/2500;F*=k;F*=T;this.aim=F;var E=this._base(m);E*=b;if(l>0){E*=.97*Math.pow(1-Math.pow(l/n,.775),Math.pow(l,.875))}E*=w;E*=y;if(M.ar>10.33){E*=j}E*=N;E*=(.95+S/750)*Math.pow(x,(14.5-Math.max(M.od,8))/2);this.speed=E;var O=x;switch(v){case 1:var P=n-r-a;O=new L({n300:Math.max(0,d-r-P),n100:u,n50:f,nmiss:l}).value();O=Math.max(0,O);break;case 2:a=n;break;default:throw new{name:"NotImplementedError",message:"unsupported scorev"+v}}var A=Math.pow(1.52163,M.od)*Math.pow(O,24)*2.83;A*=Math.min(1.15,Math.pow(a/1e3,.3));if(p&q.hd)A*=1.08;if(p&q.fl)A*=1.02;this.acc=A;var D=1.12;if(p&q.nf)D*=Math.max(.9,1-.02*l);if(p&q.so)D*=1-Math.pow(P/n,.85);this.total=Math.pow(Math.pow(F,1.1)+Math.pow(E,1.1)+Math.pow(A,1.1),1/1.1)*D;return this};K.prototype.toString=function(){return this.total.toFixed(2)+" pp ("+this.aim.toFixed(2)+" aim, "+this.speed.toFixed(2)+" speed, "+this.acc.toFixed(2)+" acc)"};K.prototype._base=function(t){return Math.pow(5*Math.max(1,t/.0675)-4,3)/1e5};function Q(t){var i;if(t.map){i=t.map.mode}else{i=t.mode||n.std}switch(i){case n.std:return(new K).calc(t)}throw{name:"NotImplementedError",message:"this gamemode is not yet supported"}}osu.timing=s;osu.objtypes=u;osu.circle=e;osu.slider=r;osu.hitobject=a;osu.modes=n;osu.beatmap=o;osu.parser=h;osu.modbits=q;osu.std_beatmap_stats=z;osu.std_diff_hitobject=y;osu.std_diff=V;osu.diff=J;osu.std_accuracy=L;osu.std_ppv2=K;osu.ppv2=Q})(); // avoid shadowing osu global in page! return osu; })(); /*eslint-enable*/ //https://i.imgur.com/87WeqCL.png var //FImg = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAQCAYAAAAiYZ4HAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNS1jMDIxIDc5LjE1NTc3MiwgMjAxNC8wMS8xMy0xOTo0NDowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTQgKFdpbmRvd3MpIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOjYwNDg3Q0VFMD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AcQEAI4YkAEWpUZkzbsOtGdsQFTtY2fJae4ZKYzJpGLVFDQANX8BhegKMKBIPb5OVplrVQHRPLgUUGOZrfHvQMThYY2ZMIMvEhzI2fMKxiCHnz/OMUpm1AvYq2Fa7vu6ld1f6799/9nzQrjZFx83K+jL6+SMRQ2JvEpLP3QkEMN/A5aLxmtHe4f77g8//MZxRm5/1ZdTzp0QUOQeDf69say0cMSXk59dmmPWjNb3Dw3qVKQuknvtOxJCzMPgH8fHxZxOysrLy8021teoMdS1fByDOfjuiyJnjz/iaQOFQys/P4o2z34vDfxbEH40YBSW+C4CI/078vf518h8h2o4bfZ5GmQAAAABJRU5ErkJggg==", }; var OLDSITE = 0, NEWSITE = 1; var apikey = null, hasKey = false, siteType = OLDSITE, osuPink = "#cc2e8a"; /* eslint-disable no-unused-vars */ const GRAVEYARD = -2; const WIP = -1; const PENDING = 0; const RANKED = 1; const APPROVED = 2; const QUALIFIED = 3; const LOVED = 4; /* eslint-enable no-unused-vars */ var modnames = [ {val: 1, name: "No Fail", short: "NF", type: "DifficultyReduction"}, {val: 2, name: "Easy", short: "EZ", type: "DifficultyReduction"}, {val: 4, name: "Touch Device", short: "TD", type: "System"}, {val: 8, name: "Hidden", short: "HD", type: "DifficultyIncrease"}, {val: 16, name: "Hard Rock", short: "HR", type: "DifficultyIncrease"}, {val: 32, name: "Sudden Death", short: "SD", type: "DifficultyIncrease"}, {val: 64, name: "Double Time", short: "DT", type: "DifficultyIncrease"}, {val: 128, name: "Relax", short: "RX", type: "Automation"}, {val: 256, name: "Half Time", short: "HT", type: "DifficultyReduction"}, {val: 512, name: "Nightcore", short: "NC", type: "DifficultyIncrease"}, {val: 1024, name: "Flashlight", short: "FL", type: "DifficultyIncrease"}, {val: 2048, name: "Autoplay", short: "AT", type: "Automation"}, {val: 4096, name: "Spun Out", short: "SO", type: "Automation"}, {val: 8192, name: "Autopilot", short: "AP", type: "Automation"}, {val: 16384, name: "Perfect", short: "PF", type: "DifficultyIncrease"}, {val: 32768, name: "Four Keys", short: "4K", type: "Conversion"}, {val: 65536, name: "Five Keys", short: "5K", type: "Conversion"}, {val: 131072, name: "Six Keys", short: "6K", type: "Conversion"}, {val: 262144, name: "Seven Keys", short: "7K", type: "Conversion"}, {val: 524288, name: "Eight Keys", short: "8K", type: "Conversion"}, {val: 1048576, name: "Fade In", short: "FI", type: "DifficultyIncrease"}, {val: 2097152, name: "Random", short: "RD", type: "Conversion"}, {val: 4194304, name: "Last Mod", short: "LM", type: "Fun"}, // no idea what's this mod {val: 16777216, name: "Nine Keys", short: "9K", type: "Conversion"}, {val: 33554432, name: "Ten Keys", short: "10K", type: "Conversion"}, {val: 67108864, name: "One Key", short: "1K", type: "Conversion"}, {val: 134217728, name: "Three Keys", short: "3K", type: "Conversion"}, {val: 268435456, name: "Two Keys", short: "2K", type: "Conversion"}, {val: 536870912, name: "Score V2", short: "SV2", type: "System"}, {val: 1073741824, name: "Mirror", short: "MR", type: "Conversion"} ], // if the first is set, the second has to be set also doublemods = [ ["NC", "DT"], ["PF", "SD"] ], countryCodes = {"BD": "Bangladesh", "BE": "Belgium", "BF": "Burkina Faso", "BG": "Bulgaria", "BA": "Bosnia and Herzegovina", "BB": "Barbados", "WF": "Wallis and Futuna", "BL": "Saint Barthelemy", "BM": "Bermuda", "BN": "Brunei", "BO": "Bolivia", "BH": "Bahrain", "BI": "Burundi", "BJ": "Benin", "BT": "Bhutan", "JM": "Jamaica", "BV": "Bouvet Island", "BW": "Botswana", "WS": "Samoa", "BQ": "Bonaire, Saint Eustatius and Saba ", "BR": "Brazil", "BS": "Bahamas", "JE": "Jersey", "BY": "Belarus", "BZ": "Belize", "RU": "Russia", "RW": "Rwanda", "RS": "Serbia", "TL": "East Timor", "RE": "Reunion", "TM": "Turkmenistan", "TJ": "Tajikistan", "RO": "Romania", "TK": "Tokelau", "GW": "Guinea-Bissau", "GU": "Guam", "GT": "Guatemala", "GS": "South Georgia and the South Sandwich Islands", "GR": "Greece", "GQ": "Equatorial Guinea", "GP": "Guadeloupe", "JP": "Japan", "GY": "Guyana", "GG": "Guernsey", "GF": "French Guiana", "GE": "Georgia", "GD": "Grenada", "GB": "United Kingdom", "GA": "Gabon", "SV": "El Salvador", "GN": "Guinea", "GM": "Gambia", "GL": "Greenland", "GI": "Gibraltar", "GH": "Ghana", "OM": "Oman", "TN": "Tunisia", "JO": "Jordan", "HR": "Croatia", "HT": "Haiti", "HU": "Hungary", "HK": "Hong Kong", "HN": "Honduras", "HM": "Heard Island and McDonald Islands", "VE": "Venezuela", "PR": "Puerto Rico", "PS": "Palestinian Territory", "PW": "Palau", "PT": "Portugal", "SJ": "Svalbard and Jan Mayen", "PY": "Paraguay", "IQ": "Iraq", "PA": "Panama", "PF": "French Polynesia", "PG": "Papua New Guinea", "PE": "Peru", "PK": "Pakistan", "PH": "Philippines", "PN": "Pitcairn", "PL": "Poland", "PM": "Saint Pierre and Miquelon", "ZM": "Zambia", "EH": "Western Sahara", "EE": "Estonia", "EG": "Egypt", "ZA": "South Africa", "EC": "Ecuador", "IT": "Italy", "VN": "Vietnam", "SB": "Solomon Islands", "ET": "Ethiopia", "SO": "Somalia", "ZW": "Zimbabwe", "SA": "Saudi Arabia", "ES": "Spain", "ER": "Eritrea", "ME": "Montenegro", "MD": "Moldova", "MG": "Madagascar", "MF": "Saint Martin", "MA": "Morocco", "MC": "Monaco", "UZ": "Uzbekistan", "MM": "Myanmar", "ML": "Mali", "MO": "Macao", "MN": "Mongolia", "MH": "Marshall Islands", "MK": "Macedonia", "MU": "Mauritius", "MT": "Malta", "MW": "Malawi", "MV": "Maldives", "MQ": "Martinique", "MP": "Northern Mariana Islands", "MS": "Montserrat", "MR": "Mauritania", "IM": "Isle of Man", "UG": "Uganda", "TZ": "Tanzania", "MY": "Malaysia", "MX": "Mexico", "IL": "Israel", "FR": "France", "IO": "British Indian Ocean Territory", "SH": "Saint Helena", "FI": "Finland", "FJ": "Fiji", "FK": "Falkland Islands", "FM": "Micronesia", "FO": "Faroe Islands", "NI": "Nicaragua", "NL": "Netherlands", "NO": "Norway", "NA": "Namibia", "VU": "Vanuatu", "NC": "New Caledonia", "NE": "Niger", "NF": "Norfolk Island", "NG": "Nigeria", "NZ": "New Zealand", "NP": "Nepal", "NR": "Nauru", "NU": "Niue", "CK": "Cook Islands", "XK": "Kosovo", "CI": "Ivory Coast", "CH": "Switzerland", "CO": "Colombia", "CN": "China", "CM": "Cameroon", "CL": "Chile", "CC": "Cocos Islands", "CA": "Canada", "CG": "Republic of the Congo", "CF": "Central African Republic", "CD": "Democratic Republic of the Congo", "CZ": "Czech Republic", "CY": "Cyprus", "CX": "Christmas Island", "CR": "Costa Rica", "CW": "Curacao", "CV": "Cape Verde", "CU": "Cuba", "SZ": "Swaziland", "SY": "Syria", "SX": "Sint Maarten", "KG": "Kyrgyzstan", "KE": "Kenya", "SS": "South Sudan", "SR": "Suriname", "KI": "Kiribati", "KH": "Cambodia", "KN": "Saint Kitts and Nevis", "KM": "Comoros", "ST": "Sao Tome and Principe", "SK": "Slovakia", "KR": "South Korea", "SI": "Slovenia", "KP": "North Korea", "KW": "Kuwait", "SN": "Senegal", "SM": "San Marino", "SL": "Sierra Leone", "SC": "Seychelles", "KZ": "Kazakhstan", "KY": "Cayman Islands", "SG": "Singapore", "SE": "Sweden", "SD": "Sudan", "DO": "Dominican Republic", "DM": "Dominica", "DJ": "Djibouti", "DK": "Denmark", "VG": "British Virgin Islands", "DE": "Germany", "YE": "Yemen", "DZ": "Algeria", "US": "United States", "UY": "Uruguay", "YT": "Mayotte", "UM": "United States Minor Outlying Islands", "LB": "Lebanon", "LC": "Saint Lucia", "LA": "Laos", "TV": "Tuvalu", "TW": "Taiwan", "TT": "Trinidad and Tobago", "TR": "Turkey", "LK": "Sri Lanka", "LI": "Liechtenstein", "LV": "Latvia", "TO": "Tonga", "LT": "Lithuania", "LU": "Luxembourg", "LR": "Liberia", "LS": "Lesotho", "TH": "Thailand", "TF": "French Southern Territories", "TG": "Togo", "TD": "Chad", "TC": "Turks and Caicos Islands", "LY": "Libya", "VA": "Vatican", "VC": "Saint Vincent and the Grenadines", "AE": "United Arab Emirates", "AD": "Andorra", "AG": "Antigua and Barbuda", "AF": "Afghanistan", "AI": "Anguilla", "VI": "U.S. Virgin Islands", "IS": "Iceland", "IR": "Iran", "AM": "Armenia", "AL": "Albania", "AO": "Angola", "AQ": "Antarctica", "AS": "American Samoa", "AR": "Argentina", "AU": "Australia", "AT": "Austria", "AW": "Aruba", "IN": "India", "AX": "Aland Islands", "AZ": "Azerbaijan", "IE": "Ireland", "ID": "Indonesia", "UA": "Ukraine", "QA": "Qatar", "MZ": "Mozambique"}, playerCountries = null; var defaultSettings = { showMirror: true, showMirror2: false, showMirror3: false, showMirror4: false, showMirror5: false, //showSubscribeMap: false, apikey: null, failedChecked: true, showDates: true, showPpRank: false, fetchPlayerCountries: true, showTop100: true, showDetailedHitCount: true, //showHitsPerPlay: true, fetchUserpageMaxCombo: true, fetchFirstsInfo: true, rankingVisible: false, forceShowDifficulties: false, pp2dp: true, showSiteSwitcher: false, //showMpGrades: true, showRecent: true, osupreview: true, osupreview2: true, osupreview3: false, showBWS: false }; var settings = {}; function initSettings(){ var promises = []; //promises.push(GMX.setValue("apikey", null)); //promises.push(GMX.setValue("playerCountries", "{}")); //promises.push(GMX.setValue("mapperSubList", "[]")); //promises.push(GMX.setValue("mapSubList", "[]")); var settings = {}; for(let settingVar in defaultSettings){ promises.push(GMX.getValue(settingVar, defaultSettings[settingVar]).then((result) => { settings[settingVar] = result; })); } promises.push(GMX.getValue("playerCountries", "{}").then((result) => { playerCountries = typeof(result) === "string" ? JSON.parse(result) : {}; })); return Promise.all(promises).then(() => { settings.displayTopNum = settings.showTop100 ? 100 : 50; settings.apikey = nullIfBlankOrNull(settings.apikey); //settings.apikey = null; return settings; }); } /*eslint-disable*/ //peppy code (function($) { $.fn.textWidth = function() { var html_org = $(this).html(); var html_calc = '' + html_org + ''; $(this).html(html_calc); var width = $(this).find('span:first').width(); $(this).html(html_org); return width; } ; $.fn.marquee = function(args) { var that = $(this); var textWidth = that.textWidth() , actualWidth = that.width() , offset = 0 , width = 0 , css = { 'text-indent': that.css('text-indent'), 'overflow': that.css('overflow'), 'white-space': that.css('white-space') } , marqueeCss = { 'text-indent': width, 'overflow': 'hidden', 'white-space': 'nowrap' } , args = $.extend(true, { count: -1, speed: 1e1, leftToRight: false }, args) , i = 0 , stop = (actualWidth - textWidth) , dfd = $.Deferred(); if (textWidth < actualWidth || that.attr('stop') == -1) return; that.attr('stop', -1); function go() { if (!that.length) return dfd.reject(); if (that.attr('stop') >= 0) { that.css(css); that.attr('stop', 0); return dfd.resolve(); } if (width == stop) { i++; if (i >= args.count) { setTimeout(go, args.speed); return; } if (args.leftToRight) { width = textWidth * -1; } else { width = offset; } } that.css('text-indent', width + 'px'); if (args.leftToRight) { width++; } else { width--; } setTimeout(go, args.speed); } if (args.leftToRight) { width = textWidth * -1; width++; stop = offset; } else { width--; } that.css(marqueeCss); go(); return dfd.promise(); } ; })($); /*eslint-enable*/ $(document).ready(reloadOsuplus); function reloadOsuplus(){ initSettings().then((_settings) => { settings = _settings; var url = window.location.href; if(isOldSite(url)){ siteType = OLDSITE; }else{ siteType = NEWSITE; } if(siteType === OLDSITE){ mainInit(); }else{ osuplusNew().init(); } }); } var getBeatmapsCache = (function(){ var callbacks = {}, beatmapsCache = {}; function getBeatmapsCache(params, callback){ var id = params.b; if(id in beatmapsCache){ callback(beatmapsCache[id]); }else if(id in callbacks){ callbacks[id].push(callback); }else{ callbacks[id] = [callback]; getBeatmaps(params, function(response){ beatmapsCache[id] = response; callbacks[id].forEach(function(cb){ cb(response); }); delete callbacks[id]; }); } } return getBeatmapsCache; })(); function isOldSite(url){ if(url.match(/^https?:\/\/(osu|old)\.ppy\.sh\/u\//) || url.match(/^https?:\/\/(osu|old)\.ppy\.sh\/([bs]\/|p\/beatmap\?)/) || url.match(/^https?:\/\/(osu|old)\.ppy\.sh\/p\/pp/) || url.match(/^https?:\/\/(osu|old)\.ppy\.sh\/p\/beatmaplist/)){ return true; }else{ return false; } } function mainInit(){ $(".osuplus").remove(); apikey = settings.apikey; if(apikey !== null){ hasKey = true; }else{ hasKey = false; displayGetKey(); } insertSettings(); } function insertSettings(){ function makeSettingRow(title, description, option){ return `${title} ${description ? `
${description}` : ""} ${option}`; } function makeCheckboxOption(property){ return ``; } if(!$(".osuplus-settings-style").length){ $(document.head).append($("").html( `#osuplusSettingsBtn {background:rgba(0,0,0,0.2) url(${settingsImg}) no-repeat 5px 10px; position:fixed; width:42px; height:47px; right:80px; cursor:pointer; z-index:10000;} #osuplusModalOverlay {position:fixed; top:0px; width:100%; height:100%; z-index:19999; background:rgba(0,0,0,0.5);} #osuplusModal {position:fixed; width:600px; z-index:20000; top:30px; background:white; margin-left:-300px; left:50%; border-radius:10px; padding:15px;} .osuplusModalClose {position:absolute; right:15px; top:15px;} .osuplusSettingsContent {height:400px; overflow:auto; padding:10px; margin-bottom:10px;} .osuplusSettingsTable {border-collapse:collapse;} .osuplusSettingsTable tr {margin:1px;} .settingOption {text-align:right;} #osuplusModal {color:black;} #osuplusModal h1, #osuplusModal h2 {color:${osuPink};}` )); } $(document.body).prepend("
"); $(document.body).append( $(""), $("").append( "

osuplus settings

", "", $("
").append( $("
").append( "

General

", $("").append( makeSettingRow("API key", null, ``), makeSettingRow("Show Site Switcher", null, makeCheckboxOption("showSiteSwitcher")) ) ), $("
").append( "

Beatmaps page

", $("
").append( makeSettingRow("Show Beatconnect mirror", null, makeCheckboxOption("showMirror")), makeSettingRow("Show Sayobot mirror", null, makeCheckboxOption("showMirror2")), makeSettingRow("Show NeriNyan mirror", null, makeCheckboxOption("showMirror3")), // makeSettingRow("Show Chimu.moe mirror", null, makeCheckboxOption("showMirror4")), makeSettingRow("Show Mino mirror", null, makeCheckboxOption("showMirror5")), makeSettingRow("Show dates", null, makeCheckboxOption("showDates")), makeSettingRow("Show pp rank beside player", "scores may take longer to load", makeCheckboxOption("showPpRank")), makeSettingRow("Fetch player countries outside top 50", "disable to load faster, but some players' countries won't be loaded", makeCheckboxOption("fetchPlayerCountries")), makeSettingRow("Show top 100", "rather than top 50", makeCheckboxOption("showTop100")), makeSettingRow("pp 2 decimal places", "rather than 0 dp", makeCheckboxOption("pp2dp")), makeSettingRow("Show osu!preview", null, makeCheckboxOption("osupreview")), makeSettingRow("Show osu! Web Beatmap Viewer", null, makeCheckboxOption("osupreview2")), makeSettingRow("Show osucad online beatmap viewer", null, makeCheckboxOption("osupreview3")) ) ), $("
").append( "

Userpage

", $("
").append( makeSettingRow("Show recent 24h", "", makeCheckboxOption("showRecent")), makeSettingRow("Show failed scores", "", makeCheckboxOption("failedChecked")), makeSettingRow("Show detailed hit count", "", makeCheckboxOption("showDetailedHitCount")), //makeSettingRow("Show hits per play", "", makeCheckboxOption("showHitsPerPlay")), makeSettingRow("Show top ranks max possible combo", "may take longer to load", makeCheckboxOption("fetchUserpageMaxCombo")), makeSettingRow("Show first places detailed info", "may take longer to load", makeCheckboxOption("fetchFirstsInfo")), makeSettingRow("Show BWS rank", "", makeCheckboxOption("showBWS")) ) ), $("
").append( "

Performance ranking

", $("
").append( makeSettingRow("Show global/country ranking", "", makeCheckboxOption("rankingVisible")) ) ), $("
").append( "

Beatmap Listing

", $("
").append( makeSettingRow("Force show difficulties", "so no need to hover over maps (legacy setting, no effect on new site)", makeCheckboxOption("forceShowDifficulties")) ) ) ), $("").click(function(){ GMX.setValue("apikey", nullIfBlankOrNull($("#settings-apikey").val())); var properties = [ "showMirror", "showMirror2", "showMirror3", "showMirror4", "showMirror5", "showDates", "showPpRank", "fetchPlayerCountries", "showTop100", "pp2dp", "failedChecked", "showDetailedHitCount", "fetchUserpageMaxCombo", "fetchFirstsInfo", "rankingVisible", "forceShowDifficulties", "showSiteSwitcher", "showRecent", "osupreview", "osupreview2", "osupreview3", "showBWS" ]; for(let property of properties){ setBoolProperty(property); } }) ) ); function setBoolProperty(property){ GMX.setValue(property, $(`#settings-${property}`).prop("checked")); } $("#show-apikey").click(function(){ if(this.checked){ $("#settings-apikey").show(); }else{ $("#settings-apikey").hide(); } }); function openModal(){ $("#osuplusModal, #osuplusModalOverlay").fadeIn(200); } function closeModal(){ $("#osuplusModalOverlay, #osuplusModal").fadeOut(200); } $("#osuplusModalOverlay, .osuplusModalClose, #osuplusSettingsSaveBtn").click(closeModal); dragElement($("#osuplusSettingsBtn"), openModal); } // draggable code function dragElement(ele, onclick){ var cursorx = 0, elex = 0, moved = false; ele.mousedown((e) => { e.preventDefault(); cursorx = e.clientX; elex = ele.position().left; moved = false; $(document).mousemove(dragmove); $(document).mouseup(dragup); }); function dragmove(e){ e.preventDefault(); moved = true; var newcursorx = e.clientX; var newright = $(document).width() - elex - ele.width() + cursorx - newcursorx; ele.css("right", newright + "px"); } function dragup(e){ $(document).off("mousemove", dragmove); $(document).off("mouseup", dragup); if(!moved && onclick){ onclick(); } } } function osuplusNew(){ var currentBody = null, currentOsuplus = { init: function(){}, destroy: function(){} }; function init(){ // add site switcher if(settings.showSiteSwitcher){ $(document.body).append(""); } function reInit(){ currentBody = document.body; mainInit(); var url = window.location.href; var pathname = window.location.pathname; if(pathname == "/beatmapsets"){ setNewOsuplus(osuplusNewBeatmapListing); }else if(url.match(/^https?:\/\/osu\.ppy\.sh\/beatmapsets\//)){ setNewOsuplus(osuplusNewBeatmap); }else if(url.match(/^https?:\/\/osu\.ppy\.sh\/users\//)){ setNewOsuplus(osuplusNewUserpage); }else if(url.match(/^https?:\/\/osu\.ppy\.sh\/rankings\//)){ setNewOsuplus(osuplusNewPpRanking); }else if(url.match(/^https?:\/\/osu\.ppy\.sh\/community\/matches/)){ setNewOsuplus(osuplusNewMp); } } setInterval(function(){ if(currentBody != document.body){ reInit(); } }, 1000); // handle back and forward history $(document).on("turbolinks:load", function(){ reInit(); }); } function setNewOsuplus(newOsuplus){ currentOsuplus.destroy(); currentOsuplus = newOsuplus(); currentOsuplus.init(); } $(document).on("turbolinks:visit", function(){ $("#osuplusloaded").remove(); }); $(window).unload(function(){ currentOsuplus.destroy(); }); return {init: init}; } function osuplusNewMp(){ var jsonEvents = null, mpId = null, userMap = null, matches = null, userDict = null, mpDiv = null, observer = null; function addCss(){ if(!$(".osuplus-new-mp-style").length){ $(document.head).append($("").html( `#osuplus-mc {padding: 10px 0px;} .osuplus-mp-body {background-color: hsl(var(--hsl-b4)); border-radius: 4px;} .mc-settings {display: flex;} .mc-maps-container {flex: 2;} .mc-users-container {flex: 1;} .mc-others-container {flex: 1;} .mp-team-red, .mp-team-blue {height: 12px; width: 12px; border-radius: 50%; display: inline-block;} .mp-label {text-transform: initial;} .mp-team-red {background-color: #ff3c3c;} .mp-team-blue {background-color: #3ca1ff;} .mc-calculate-row {text-align: center;} .mc-calculate-btn {color: black;} .mc-results-header {text-align: center; margin: 20px 0px 0px 0px;} .mc-teamresult {text-align: center;} .mc-result {display: flex; justify-content: space-evenly;} .mc-mc {display: inline-block; width: 50px; text-align: right;} #mc-ez-mult, #mc-fl-mult {color: black;} .mc-list {counter-reset: rownum;} .mc-list-row {counter-increment: rownum;} .mc-list-row td:first-child::before {content: counter(rownum) ". ";} .mc-header-plays, .mc-header-tops {padding: 0px 2px;} .mc-cell-mc {padding-right: 5px;} .mc-cell-plays, .mc-cell-tops {text-align: center;} .op-mp-grade {position: relative; width: 50px;}` )); } } function init(){ if($("#osuplusloaded").length) return; $("body").append(""); addCss(); jsonEvents = JSON.parse($("#json-events").text()); mpId = jsonEvents.match.id; mpDiv = $(`
Match costs
Loading...
`).click(function(){ var mcEle = $(this).find("#osuplus-mc"); if(mcEle.data("loaded")) return; mcEle.data("loaded", true); getMpEvents(mpId).then((res) => { jsonEvents = res; userMap = getUserMap(jsonEvents.users); matches = extractMatches(jsonEvents.events, userMap); userDict = getUserDict(userMap, matches); var teamval = {blue: 2, red: 1, none: 0}; var userData = Object.values(userDict).sort((a, b) => teamval[b.team] - teamval[a.team]); mcEle.html( `
Maps
${matches.map((match, index) => `
` ).join("")}
Players
${userData.map((user) => `
` ).join("")}
EZ mult:
FL mult:

Formula:
?
?
?
` ); mcEle.find("button.mc-calculate-btn").click(() => { var selectedMatches = $.map($(".mc-maps-container input:checked"), x => deepCopy(matches[x.name])); var ezmult = parseFloat($("#mc-ez-mult").val()); if(isNaN(ezmult)) ezmult = 1; var flmult = parseFloat($("#mc-fl-mult").val()); if(isNaN(flmult)) flmult = 1; for(let match of selectedMatches){ for(let score of match.scores){ if(inArray(score.mods, "EZ")){ score.score *= ezmult; } if(inArray(score.mods, "FL")){ score.score *= flmult; } } } var selectedUsersList = $.map($(".mc-user input:checked"), x => x.name); var selectedUsers = {}; for(let user in userMap){ selectedUsers[user] = false; } for(let user of selectedUsersList){ selectedUsers[user] = true; } var formula = $(".mc-formula-box input[name=mc-formula]:checked").val(); var result = matchCost(selectedMatches, selectedUsers, formula); var teamresultDiv = ""; if(result.teamresult.none == 0){ teamresultDiv = ` ${result.teamresult.blue} - ${result.teamresult.red} `; } var mc = []; for(let id in result.stats){ mc.push({ id: id, username: userDict[id].username, team: userDict[id].team, stats: result.stats[id] }); } mc.sort((a, b) => b.stats.mc - a.stats.mc); mcEle.find(".mc-results").empty().html( `
${jsonEvents.match.name}
Formula: ${formula}
${teamresultDiv}
${mc.map(x => `` ).join("")} ` ); }); }); }); $(".mp-history-content h3").after(mpDiv); } function matchCost(selectedMatches, selectedUsers, formula){ var userStats = {}; for(let user in selectedUsers){ if(selectedUsers[user]){ userStats[user] = { plays: 0, sum: 0, sum_median: 0, tbbonus: 0, tops: 0, modcombis: new Set() }; } } var teamresult = {blue: 0, red: 0, none: 0}; for(let match of selectedMatches){ var nplayers = 0; var totalscore = 0; var scorels = []; var teamscore = {blue: 0, red: 0, none: 0}; var topscore = 1; for(let score of match.scores){ if(selectedUsers[score.user_id]){ nplayers += 1; totalscore += score.score; topscore = Math.max(topscore, score.score); scorels.push(score.score); teamscore[score.team] += score.score; userStats[score.user_id].plays += 1; var mods = deepCopy(score.mods); removeFromArray(mods, "NF"); userStats[score.user_id].modcombis.add(mods.join(",")); } } if(totalscore == 0){ // prevent divide by 0 if everyone gets 0 totalscore = 1; } for(let score of match.scores){ if(score.score == topscore){ userStats[score.user_id].tops += 1; } } var medianscore = median(scorels); for(let i in match.scores){ var score = match.scores[i]; if(selectedUsers[score.user_id]){ userStats[score.user_id].sum += score.score * nplayers / totalscore; userStats[score.user_id].sum_median += score.score / medianscore; if(i == match.scores.length - 1 && teamscore["blue"] == teamscore["red"]){ // TB userStats[score.user_id].tbbonus = score.score * nplayers / totalscore; } } } if(teamscore["none"] > 0){ teamresult["none"] += 1; }else if(teamscore["blue"] + teamscore["red"] > 0){ if(teamscore["blue"] >= teamscore["red"]){ teamresult["blue"] += 1; }else{ teamresult["red"] += 1; } } } var mc; switch(formula){ case "osuplus": mc = matchCostOsuplus(userStats, selectedMatches); break; case "bathbot": mc = matchCostBathbot(userStats, selectedMatches); break; case "flashlight": mc = matchCostFlashlight(userStats, selectedMatches); break; } var stats = {}; for(let id in mc){ stats[id] = {mc: mc[id], plays: userStats[id].plays, tops: userStats[id].tops}; } return {stats: stats, teamresult: teamresult}; } function matchCostOsuplus(userStats, selectedMatches){ var ans = {}; for(let id in userStats){ ans[id] = 2 * userStats[id].sum / (userStats[id].plays + 2); } return ans; } function matchCostBathbot(userStats, selectedMatches){ var ans = {}; for(let id in userStats){ let p = userStats[id].plays; if(p == 0){ ans[id] = 0; }else{ ans[id] = (userStats[id].sum + p*0.5 + userStats[id].tbbonus) / p * 1.4**(((p-1)/(selectedMatches.length-1))**0.6) * (1 + 0.02*Math.max(0, userStats[id].modcombis.size-2)); } } return ans; } function matchCostFlashlight(userStats, selectedMatches){ var ans = {}; var plays = []; for(let id in userStats){ if(userStats[id].plays > 0){ plays.push(userStats[id].plays); } } var medianplays = median(plays); for(let id in userStats){ let p = userStats[id].plays; if(p == 0){ ans[id] = 0; }else{ ans[id] = userStats[id].sum_median / p * (p / medianplays)**(1/3); } } return ans; } function getUserDict(userMap, matches){ var userDict = {}; for(let id in userMap){ userDict[id] = { id: id, username: userMap[id] }; } for(let match of matches){ for(let score of match.scores){ userDict[score.user_id].team = score.team; } } for(let id in userDict){ if(userDict[id].team === undefined){ delete userDict[id]; } } return userDict; } function extractMatches(events, userMap){ var matches = []; for(let event of events){ if(event.detail.type === "other"){ var match = { beatmap: event.game.beatmap === undefined ? { id: Math.floor(Math.random() * 1e12), title: "deleted beatmap", version: "rip" } : { id: event.game.beatmap.id, title: event.game.beatmap.beatmapset.title, version: event.game.beatmap.version }, scores: event.game.scores.map((score) => ({ user_id: score.user_id, username: userMap[score.user_id], mods: score.mods.map((mod) => mod.acronym), team: score.match.team, passed: score.passed, score: score.total_score })), mods: event.game.mods, id: event.game.id, mode_int: event.game.mode_int }; if(match.scores.length){ matches.push(match); } } } return matches; } function getUserMap(users){ var userMap = {}; for(let user of users){ userMap[user.id] = user.username; } return userMap; } function destroy(){ $(".osuplus-new-mp-style").remove(); observer.disconnect(); } return {init: init, destroy: destroy}; } function osuplusNewBeatmapListing(){ // Nothing for now function addCss(){ if(!$(".osuplus-new-beatmaplisting-style").length){ $(document.head).append($("").html( "" )); } } function init(){ if($("#osuplusloaded").length) return; $("body").append(""); addCss(); } function destroy(){ $(".osuplus-new-beatmaplisting-style").remove(); } return {init: init, destroy: destroy}; } function osuplusNewPpRanking(){ var isGlobal = true, mode = null, tableLoadingNotice = null, playerInfo = [], destroyed = false; function addCss(){ if(!$(".osuplus-new-ppranking-style").length){ $(document.head).append($("").html( ".centered {display: block; margin-left: auto; margin-right: auto;}" )); } } function init(){ if($("#osuplusloaded").length) return; $("body").append(""); var path = window.location.pathname.split("/"); if(path[3] != "global") return; addCss(); mode = modeToInt(path[2]); var searchObj = searchParser(window.location.search); if(searchObj.country){ isGlobal = false; }else{ isGlobal = true; } //Add Loader tableLoadingNotice = $(`
`).hide(); $(".ranking-page-table").before(tableLoadingNotice); //Add global/country ranking if(settings.rankingVisible){ tableLoadingNotice.show(); //Get player list var playerList = $(".ranking-page-table__row").map(function(i, ele){ return $(ele).find(".ranking-page-table-main__link").attr("data-user-id"); }); var funs = []; playerInfo = []; playerList.each(function(index, id){ funs.push(function(donecb){ getUser({u: id, m: mode, type: "id"}, function(response){ playerInfo[index] = response[0]; donecb(); }); }); }); doManyFunc(funs, function(){ if(destroyed) return; tableLoadingNotice.hide(); //Add new header var newHeader = isGlobal ? "Country" : "Global"; $(".ranking-page-table__heading--main").before(``); //Add new ranks $(".ranking-page-table__row").each(function(index, row){ row = $(row); var newRank = isGlobal ? playerInfo[index].pp_country_rank : playerInfo[index].pp_rank; row.find(".ranking-page-table__column--main").before( `` ); }); }); } } function searchParser(str){ if(str[0] === "?") str = str.slice(1); var arr = str.split("&"); var rtn = {}; arr.forEach(function(x){ var xsplit = x.split("="); if(xsplit.length > 1){ rtn[xsplit[0]] = xsplit[1]; } }); return rtn; } function destroy(){ $(".osuplus-new-ppranking-style").remove(); destroyed = true; } return {init: init, destroy: destroy}; } function osuplusNewUserpage(){ var jsonUser = null, gameMode = null, userBest = null, opModalContent = null; function addCss(){ if(!$(".osuplus-new-userpage-style").length){ $(document.head).append($("").html( `.pc-display {text-align: right; font-size: 175%; color: #9492dc; text-shadow: #b5c6cb 2px 0px 3px; padding-right: 5px;} .pc-img {width: 80px;} .pc-imgcol {width: 90px;} #opslider {width: 250px; display: inline-block; margin: 10px;} .recentscore .play-detail__group--top, .recentscore .play-detail__score-detail, .recentscore .play-detail__pp:before {background-color: #009612;} .recentscore {background-color: green;} .star-display {text-align: right; color: #444444; padding-right: 5px;} .prof-beatmap {position: relative;} .modalBtn {position: absolute; right: -1px; top: -1px; background: white; padding: 3px; width: 22px; text-align: center; border-style: solid; border-width: 1px;} .modalBtn:hover {cursor: pointer;} .opModalCloseBtnDiv {position: absolute; right: 15px; top: 15px;} .opModal {width: 800px; position: fixed; display: none;z-index: 10000;padding: 15px 20px 10px;-webkit-border-radius: 10px;-moz-border-radius: 10px;border-radius: 10px;background: #fff; left: 50%; top:50%; transform: translate(-50%, -50%);} .opModalOverlay {position: fixed;top: 0;left: 0;bottom:0;right:0;width: 100%;height: 100%;z-index: 9999;background: #000;display: none;-ms-filter: 'alpha(Opacity=50)';-moz-opacity: .5;-khtml-opacity: .5;opacity: .5;} .opModal-song-info {} .opModal-song-info td {padding: 2px 7px;} .tableAttr {width: 70px;} .sub-button {width: 90px; margin-left: 30px;} .score-rank--F {background-image: url('${FImgNew}');} .play-detail__pp.play-detail__recent-pp {min-width: 0px; padding: 0px;} .div-24h {margin-top: 50px;} .modal-hr {color: red;} .modal-ez {color: green;} .opModal {color: black;} .opModal h1 {color: ${osuPink};} .mod--V2 {background-image: url('${v2Img}');} .ppcalc-pp {cursor: pointer;} .play-detail {position: relative;} .op-relrank {position: absolute; height: 100%; width: 40px; margin-left: -40px; display: inline-flex; align-items: center; justify-content: center; font-size: 20px; opacity: 0;} .play-detail:hover .op-relrank {opacity: 1;} .op-badges-input {color: black; width: 45px; margin-top: -10px; margin-bottom: -10px;}` )); } } function init(){ if($("#osuplusloaded").length) return; $("body").append(""); addCss(); jsonUser = JSON.parse($(".js-react.u-contents").attr("data-initial-data")).user; gameMode = getGameMode(); addDetailedTop(); addGeneral(); if(settings.showRecent){ addRecent(); } if(settings.showBWS){ addBWS(); } // Add modal $("body").append(""); $("body").append(""); opModalContent = $("
"); $("#opModal").append( opModalContent, "
"); $("#opModalOverlay, .opModalCloseBtn").click(function(){ closeModal(); }); // :) if(jsonUser.id == 1843447){ if($(".profile-info__title").length){ $(".profile-info__title").text("osuplus creator"); }else{ $(".profile-info__name").after("osuplus creator"); } } } function destroy(){ $(".osuplus-new-userpage-style").remove(); } function getGameMode(){ var modeStr = $(".game-mode-link--active").attr("href").split("/"); modeStr = modeStr[modeStr.length-1]; return modeToInt(modeStr); } function addDetailedTop(){ var bestObserver = new MutationObserver(function(mutationList){ for(var mutation of mutationList){ if(mutation.addedNodes.length){ addBestDetails(mutation.addedNodes[0]); } } }); var firstObserver = new MutationObserver(function(mutationList){ for(var mutation of mutationList){ if(mutation.addedNodes.length){ addFirstDetails(mutation.addedNodes[0]); } } }); var lazyLoadedPromise = new Promise((resolve, reject) => { if($("div[data-page-id=top_ranks] .play-detail-list").length >= 3){ resolve(); }else{ var lazyLoadObserver = new MutationObserver((mutationList) => { if($("div[data-page-id=top_ranks] .play-detail-list").length >= 3){ lazyLoadObserver.disconnect(); resolve(); } }); lazyLoadObserver.observe($("div[data-page-id=top_ranks]")[0], {childList: true, subtree: true}); } }); // Add bests details getUserBest({u: jsonUser.id, m: gameMode, type: "id", limit: 100}, function(scores){ userBest = scores; lazyLoadedPromise.then(() => { $("div[data-page-id=top_ranks] .play-detail-list").eq(1).find(".play-detail").each(function(i, ele){ addBestDetails(ele); }); if($("div[data-page-id=top_ranks] .play-detail-list")[1]){ bestObserver.observe($("div[data-page-id=top_ranks] .play-detail-list")[1], {childList: true}); } }); }); lazyLoadedPromise.then(() => { // Add firsts details $("div[data-page-id=top_ranks] .play-detail-list").eq(2).find(".play-detail").each(function(i, ele){ addFirstDetails(ele); }); firstObserver.observe($("div[data-page-id=top_ranks] .play-detail-list")[2], {childList: true}); // Add pinned details $("div[data-page-id=top_ranks] .play-detail-list").eq(0).find(".play-detail").each(function(i, ele){ addFirstDetails(ele); }); firstObserver.observe($("div[data-page-id=top_ranks] .play-detail-list")[0], {childList: true}); // Add slider var sliderDiv = createSlider(function(val, checked){ if(checked){ var tops = $("div[data-page-id=top_ranks] .play-detail"); var curTime = new Date(); tops.each(function(index, top){ top = $(top); var scoreTime = new Date(top.find("time").attr("datetime")); var diff = (curTime - scoreTime) / (1000*60*60*24); if(diff < val){ top.addClass("recentscore"); }else{ top.removeClass("recentscore"); } }); }else{ $("div[data-page-id=top_ranks] .play-detail.recentscore").removeClass("recentscore"); } }); $("div[data-page-id=top_ranks] .title.title--page-extra-small").first().before(sliderDiv); }); } function addBestDetails(ele){ // Only add once ele = $(ele); if(ele.find(".op-details-loaded").length){ return; } ele.append(""); addRelativeRank(ele); var beatmapId = beatmapIdOfDetailRow(ele); var score = null; for(var uscore of userBest){ if(uscore.beatmap_id == beatmapId){ score = uscore; break; } } if(score !== null){ addDetails(ele, score, beatmapId); } } function addFirstDetails(ele){ // Only add once ele = $(ele); if(ele.find(".op-details-loaded").length){ return; } ele.append(""); addRelativeRank(ele); // Obtain mods let mods = ele.find(".play-detail__mods .mod__icon").map((_, x) => $(x).attr("data-acronym")).get(); let modnum = modArrayToNum(mods); if(settings.fetchFirstsInfo){ var beatmapId = beatmapIdOfDetailRow(ele); if(beatmapId){ // may be undefined if you are moving pinned scores getScores({b: beatmapId, u: jsonUser.id, type: "id", m: gameMode, a: 1, mods: modnum, limit: 1}, function(scores){ if(scores.length){ addDetails(ele, scores[0], beatmapId); } }); } } } function beatmapIdOfDetailRow(ele){ var href = ele.find(".play-detail__title").attr("href"); if(href == undefined) return undefined; var temp = href.split("/"); temp = temp[temp.length - 1]; return temp.split("?")[0]; } function addDetails(top, score, mapId){ addModalBtn(top, mapId); if(settings.fetchUserpageMaxCombo){ getBeatmapsCache({b: mapId, m: gameMode, a: 1}, function(beatmap){ if(beatmap.length){ detailify(top, score, beatmap[0]); } }); }else{ detailify(top, score); } } function addRelativeRank(top){ top.append("
"); // Make it dynamic top.hover(function(){ let relrank = $(this).index() + 1; $(this).find(".op-relrank").text(relrank); }); } function detailify(top, score, beatmap){ var maxmapcombo = $("").css("color", "#b7b1e5"); if(beatmap && beatmap.max_combo !== null){ maxmapcombo.text(` (${beatmap.max_combo}x)`); } if(score.perfect === "1"){ if(top.find(".play-detail__pp-weight").length){ top.find(".play-detail__pp-weight").prepend("(FC) "); }else{ top.find(".play-detail__accuracy-and-weighted-pp").after("
(FC)
"); } } top.find(".play-detail__title").after(makeScoreStats(score, maxmapcombo)); } function makeScoreStats(score, maxmapcombo){ return $("
").append( $("").append( `${commarise(score.score)} / ${score.maxcombo}x`, maxmapcombo ), gameMode <= 1 ? // Standard/Taiko ` { ${score.count300} / ${score.count100} / ${score.count50} / ${score.countmiss} }` : gameMode == 2 ? // CTB ` { ${score.count300} / ${score.count100} / ${score.count50} / ${score.countkatu} / ${score.countmiss} }` : // Mania ` { ${score.countgeki} / ${score.count300} / ${score.countkatu} / ${score.count100} / ${score.count50} / ${score.countmiss} }` ); } function addModalBtn(top, beatmap_id){ var modalBtn = $("?").hide(); modalBtn.click(function(){ openModal($(this).parent().find("input:hidden").val()); }); top.append(modalBtn, $(``)); top.hover(function(){ $(this).find(".modalBtn").show(); }, function(){ $(this).find(".modalBtn").hide(); }); modalBtn.click(function(){ openModal($(this).parent().find(".identifier").val()); }); } function openModal(id){ if(id === undefined) return; var opModalContent = $("#opModalContent"); opModalContent.empty(); getBeatmapsCache({b: id, m: gameMode, a: 1}, function(beatmap){ beatmap = beatmap[0]; opModalContent.html( `

${beatmap.artist} - ${beatmap.title} [${beatmap.version}]

Nomod HR EZ
#plays(${selectedMatches.length})#tops
${x.stats.mc.toFixed(3)} ${x.username} ${x.stats.plays} ${x.stats.tops}
${newHeader}#${newRank}
CS:${beatmap.diff_size} AR:${beatmap.diff_approach}
HP:${beatmap.diff_drain} Stars:${beatmap.difficultyrating}
OD:${beatmap.diff_overall} Length: ${secsToMins(parseInt(beatmap.total_length))} (${secsToMins(parseInt(beatmap.hit_length))} drain)${(beatmap.max_combo == null ? "" : `
${beatmap.max_combo}x combo`)}
Creator:${beatmap.creator} BPM:${beatmap.bpm}
Download Beatconnect mirror
Sayobot
` ); opModalContent.find("input[type=radio][name=mods]").change(function(){ if(this.value == "none"){ $(".modal-hr").hide(); $(".modal-ez").hide(); }else if(this.value == "hr"){ $(".modal-hr").css("display", "inline"); $(".modal-ez").hide(); }else{ $(".modal-hr").hide(); $(".modal-ez").css("display", "inline"); } }); }); $("#opModalOverlay").fadeIn(200); $("#opModal").fadeIn(200); } function closeModal(){ $("#opModalOverlay").fadeOut(200); $("#opModal").fadeOut(200); } function addGeneral(){ if(settings.showDetailedHitCount || settings.showHitsPerPlay){ getUser({u: jsonUser.id, m: gameMode, type: "id"}, function(response){ var user = response[0]; var c300 = parseInt(user.count300), c100 = parseInt(user.count100), c50 = parseInt(user.count50), ctotal = c300 + c100 + c50; if(settings.showDetailedHitCount){ $(".profile-stats__entry").eq(4).after( `
300x
${commarise(c300)} (${(100*c300/ctotal).toFixed(2)}%)
100x
${commarise(c100)} (${(100*c100/ctotal).toFixed(2)}%)
50x
${commarise(c50)} (${(100*c50/ctotal).toFixed(2)}%)
` ); } // Fix overflowing rank chart unsafeWindow.dispatchEvent(new Event("resize")); }); } } function addRecent(){ $("div[data-page-id=recent_activity] .page-extra").append( `
Loading...
` ); var container = $("#op-recent"); getUserRecent({u: jsonUser.id, m: gameMode, limit: 50, type: "id"}, function(response){ var userRecent = response; var failedCheckbox = $(""), failedChecked = settings.failedChecked; failedCheckbox.prop("checked", failedChecked).click(function(){ var me = $(this); failedChecked = me.prop("checked"); if(failedChecked){ $(".failedScore").show(); }else{ $(".failedScore").hide(); } }); var subcontainer = $("
"); container.empty().append( $("").append( failedCheckbox, "Show failed scores" ), subcontainer ); userRecent.forEach(function(play){ var //modstr = getMods(play.enabled_mods), acc = calcAcc(play, gameMode), dateset = new Date(play.date.replace(" ","T") + "+0000"), // dates from API in GMT+0 maplink = $(` Loading...`), mapver = $("Loading..."), maxmapcombo = $("").css("color", "#b7b1e5"), //starrating = $("...★"), failClass = play.rank === "F" ? "failedScore" : "passScore", ppUnitSpan = "pp", ppcalcData = makePpcalcData(gameMode, play, acc, play.beatmap_id); var detailrow = $(`
`).append( $("
").append( `
`, $("
").append( maplink, makeScoreStats(play, maxmapcombo), $("
").append( mapver, ` ` ) ) ), `
${acc.toFixed(2)}%
${play.perfect == "1" ? "
(FC)
" : ""}
${getNewMods(play.enabled_mods)}
${gameMode == 0 ? `${ppUnitSpan} ` : ""}
` ); addModalBtn(detailrow, play.beatmap_id); detailrow.find(".ppcalc-pp").click(function(event){ var me = $(this); me.html(`...${ppUnitSpan}
(...)`); var ppcalcData = JSON.parse(me.parent().find(".op-ppcalc-data").text()); doPpcalc(ppcalcData).then((result) => { me.html(`${result.pp}${ppUnitSpan}
(${result.pp_fc}${ppUnitSpan} if FC)`); }); }); subcontainer.append(detailrow); getBeatmapsCache({b: play.beatmap_id, m: gameMode, a: 1}, function(response){ var r = response[0]; maplink.html( `${r.title} by ${r.artist}` ); if(r.max_combo !== null){ maxmapcombo.text(` (${r.max_combo}x)`); } mapver.text(r.version); detailrow.find(".identifier").val(r.beatmap_id); }); }); subcontainer.children().each((id, row) => { addRelativeRank($(row)); }); $(".timeago").timeago(); if(failedChecked){ $(".failedScore").show(); }else{ $(".failedScore").hide(); } }); } function addBWS(){ let rank = decommarise($(".profile-detail__chart-numbers--top .value-display.value-display--rank").first().find(".value-display__value > div").text()); let badges = 0; if($(".profile-badges").length){ badges = $(".profile-badges").children().length; } let bws = calculateBWS(rank, badges); $(".profile-detail__chart-numbers--top .profile-detail__values").first().append( `
BWS | Badges:
#${commarise(bws)}
`); $(".op-badges-input").on("input", function(){ let badges = parseInt($(this).val()); if(isNaN(badges)) badges = 0; let bws = calculateBWS(rank, badges); $(".op-bws-rank").text(`#${commarise(bws)}`); }); } // BWS formula: rank ^ (0.9937 ^ (badges^2)) function calculateBWS(rank, badges){ return Math.round(rank ** (0.9937 ** (badges**2))); } return {init: init, destroy: destroy}; } function osuplusNewBeatmap(){ var mapID = null, scoresResult = null, mapMode = 0, jsonBeatmapset = null, //jsonCountries = null, maxCombo = null, //showDates = true, modsEnabled = true, timeDelay = 1000, timeoutID = null, friends = [], scoreReqs = [], tableLoadingNotice = null, tableWaiter = null, tableObserver = null, beatmapWaiter = null, beatmapObserver = null, currentUser = null; function addCss(){ if(!$(".osuplus-new-beatmap-style").length){ $(document.head).append($("").html( `.modIconGroup {display: inline-block; margin: 2px;} .modIcon {overflow: hidden; position: relative; width: 46px; height: 46px;} .modIconOption, .modIconOption img, .modIcon img { width: 100%; height: 100%; } .modIconOption {overflow: hidden; position: absolute; transform: skewX(-45deg);} .modIconOption:first-child {left: 0px; transform-origin: 100% 0;} .modIconOption:last-child {right: 0px; transform-origin: 0 100%;} .modIconOption img {transform: skewX(45deg); transform-origin: inherit;} .notSelected {border: 3px solid transparent;} .isSelected {border: 3px solid red;} .partialSelected {border: 3px dashed red;} .osupreview {width: 100%; height: 100%;} .osupreview2 {width: 100%; height: 100%;} .osupreview3 {width: 100%; height: 100%;} #opslider {width: 250px; display: inline-block; margin: 10px;} .recentscore > td {background-color: green !important;} .centered {display: block; margin-left: auto; margin-right: auto;} .greyedout {opacity: 0.5} #rankingtype label {padding: 8px} .search-beatmap-scoreboard-table__table {width: 100%; min-width: 800px; font-size: 12px;} #searchuser {margin-bottom: 10px;} .osupreview-container {padding: 10px;} .beatmap-scoreboard-table__header--miss {max-width: 45px; min-width: 30px; width: auto;} .beatmap-scoreboard-table__header a {cursor: pointer;} .sub-button {background-image: none;} .subbed {background-color: #ef77af;} #searchusertxt {color: black;} .beatmap-scoreboard-table__cell--grade {width: auto; height: auto; display: table-cell;} .beatmap-scoreboard-table__cell--grade .score-rank {width: 100%;} .ppcalc-pp {cursor: pointer;} .osuplus-pp-cell {padding-right: 10px;} .osuplus-pp-cell a {height: auto;} .slider-export-container {display: flex;} .export-container {flex: 1; text-align: right;} .export-btn {cursor: pointer;} .beatmap-scoreboard-table__cell-oprank {position: relative;} .beatmap-scoreboard-table__cell-content--oprank {right: 0px; color: hsl(var(--hsl-l2));} .preview-container {resize: vertical; overflow: hidden} .preview-container:has(.osupreview) {height: 500px;} .preview-container:has(.osupreview2) {height: 700px;} .preview-container:has(.osupreview3) {height: 700px;}` )); } } function init(){ if($("#osuplusloaded").length) return; $("body").append(""); addCss(); //jsonCountries = JSON.parse($("#json-countries").text()); jsonBeatmapset = JSON.parse($("#json-beatmapset").text()); //showDates = settings.showDates; currentUser = JSON.parse(JSON.stringify(unsafeWindow.currentUser)); friends = extractFriends(); beatmapWaiter = waitForEl(".beatmapset-beatmap-picker", function(el){ addMirrors(); refreshBeatmapsetHeader(); beatmapObserver = whenBeatmapChange(() => { refreshBeatmapsetHeader(); }); // only update scores if not in Lazer mode if(currentUser.user_preferences.legacy_score_only){ tableWaiter = waitForEl(".beatmap-scoreboard-table", function(el){ refreshTable(); tableObserver = whenScoreboardChange(refreshTable); }); } }); } function whenBeatmapChange(callback){ var obs = new MutationObserver(callback); obs.observe($(".beatmapset-beatmap-picker")[0], {attributes: true, subtree: true}); return obs; } function whenScoreboardChange(onchange){ var observer = new MutationObserver(function(mutationList, observer){ for(var mutation of mutationList){ if(mutation.type == "childList" && mutation.addedNodes.length){ var ele = $(":not(.osuplus-table).beatmap-scoreboard-table__table")[0]; if(ele){ observer.observe(ele, {characterData: true, subtree: true}); } } } onchange(); }); observer.observe($(":not(.osuplus-table).beatmap-scoreboard-table__table")[0], {characterData: true, subtree: true}); observer.observe($(".beatmapset-scoreboard__main")[0], {childList: true}); return observer; } function refreshBeatmapsetHeader(){ $(".osuplus-header").remove(); mapID = $(".beatmapset-beatmap-picker__beatmap--active").attr("href").split("/")[1]; mapMode = getMapmode(); addOsuPreview(); } function refreshTable(){ $(".osuplus-table").remove(); maxCombo = getMaxCombo(jsonBeatmapset, mapID, mapMode); minePlayerCountries(); if($(".page-tabs").children().first().hasClass("page-tabs__tab--active") && ($(".beatmapset-scoreboard__mods--initial").length || $(".beatmapset-scoreboard__mods").length==0)){ if(hasKey){ addSearchUser(); putRankingType(); putModButtons(); addSlider(); tableLoadingNotice = addTableLoadingNotice(); tableLoadingNotice.show(); replicateTable(); modifyTableHeaders(); getScoresWithPlayerInfo({b:mapID, m:mapMode, limit:settings.displayTopNum}, settings.showPpRank, function(response){ scoresResult = response; updateScoresTable(); }); } }else{ $(".beatmap-scoreboard-table__table").show(); } } function destroy(){ if(tableObserver) tableObserver.disconnect(); if(tableWaiter) tableWaiter.abort(); if(beatmapObserver) beatmapObserver.disconnect(); if(beatmapWaiter) beatmapWaiter.abort(); $(".osuplus-new-beatmap-style").remove(); GMX.setValue("playerCountries", JSON.stringify(playerCountries)); } function getMaxCombo(jsonBeatmapset, mapID, mapMode){ var beatmaps = jsonBeatmapset.beatmaps.filter(function(map){ return map.id.toString() == mapID && map.mode_int == mapMode; }); if(beatmaps.length){ if(beatmaps[0].max_combo){ return beatmaps[0].max_combo; } } return null; } function replicateTable(){ var oldTable = $(".beatmap-scoreboard-table__table"); var newTable = $("
"); newTable.html(oldTable.html()); oldTable.hide(); oldTable.after(newTable); } function extractFriends(){ return currentUser.friends.map((friend) => friend.target_id.toString()); } function countryNameFromCode(code){ if(countryCodes[code]){ return countryCodes[code]; }else{ return "Unknown"; } } function getMapmode(){ var modeStr = $(".beatmapset-beatmap-picker__beatmap--active").attr("href").slice(1).split("/")[0]; return modeToInt(modeStr); } function makeScoreTableRow(score, rankno, greyedout){ var country = score.user.country.toLowerCase(); var countryUpper = country.toUpperCase(); var acc = calcAcc(score, mapMode); var mapModeStr = intToMode(mapMode); var rowclass; var datetime = score.date.replace(" ", "T") + "+0000"; // dates from API in GMT+0 rowclass = "clickable-row beatmap-scoreboard-table__body-row beatmap-scoreboard-table__body-row--highlightable"; if(currentUser !== null && currentUser.id.toString() === score.user_id){ // self rowclass += " beatmap-scoreboard-table__body-row--self"; }else if(isFriend(score.user_id)){ rowclass += " beatmap-scoreboard-table__body-row--friend"; } if(rankno === 1){ rowclass += " beatmap-scoreboard-table__body-row--first"; } if(greyedout){ rowclass += " greyedout"; } var cellClass = "beatmap-scoreboard-table__cell"; var scoreHref = `href='https://osu.ppy.sh/scores/${mapModeStr}/${score.score_id}'`; var countryName = countryNameFromCode(countryUpper); var countryImg = ""; if(country !== ""){ countryImg = `
`; } var pprank; if(score.user.pp_rank === undefined){ pprank = " "; }else{ pprank = `  (#${score.user.pp_rank})`; } var userhref = ` ${score.username} ${pprank} `; var ppcalcData = makePpcalcData(mapMode, score, acc, mapID); function makeTdLink(modifiers, content){ return ` ${content} `; } function makeZeroableEntry(num){ return makeTdLink(num === "0" ? ["zero"] : [], commarise(num)); } var row = $(` #${rankno} ${makeTdLink(["grade"], `
`)} ${makeTdLink(["score"], commarise(score.score))} ${makeTdLink(acc == 100 ? ["perfect"] : [], `${acc.toFixed(2)}%`)} ${countryImg} ${userhref} ${makeTdLink(score.perfect == "1" ? ["perfect"] : [], commarise(score.maxcombo) + "x")} ${mapMode == 3 ? // Mania [ makeZeroableEntry(score.countgeki), makeZeroableEntry(score.count300), makeZeroableEntry(score.countkatu), makeZeroableEntry(score.count100), makeZeroableEntry(score.count50) ].join("") : mapMode == 1 ? // Taiko [ makeZeroableEntry(score.count300), makeZeroableEntry(score.count100) ].join("") : mapMode == 2 ? // CTB [ makeZeroableEntry(score.count300), makeZeroableEntry(score.count100), makeZeroableEntry(score.countkatu) ].join("") : // Standard [ makeZeroableEntry(score.count300), makeZeroableEntry(score.count100), makeZeroableEntry(score.count50) ].join("")} ${makeZeroableEntry(score.countmiss)} ${parseFloat(score.pp).toFixed(settings.pp2dp ? 2 : 0)} ${makeTdLink(["time"], ` `)} ${makeTdLink(["mods"], `
${getNewMods(score.enabled_mods)}
`)} ${JSON.stringify(ppcalcData)} `); //doesn't work on greasemonkey, unfixable? //ReactDOM.render(React.createElement(_exported.PlayDetailMenu, {score: newify(score)}), row.find(".beatmap-scoreboard-table__play-detail-menu")[0]); //ppcalc, only for std if(mapMode == 0){ row.find(".ppcalc-pp").click(function(event){ var me = $(this); me.find(".if-fc-span").text("(...)"); var ppcalcData = JSON.parse(me.parent().find(".op-ppcalc-data").text()); doPpcalc(ppcalcData).then((result) => { if([RANKED, QUALIFIED].includes(Number(result.approved))){ me.find(".if-fc-span").text(`(${result.pp_fc} if FC)`); }else{ me.html(`${result.pp} (${result.pp_fc} FC)`); } }); }); } return row; } /* function newify(score){ score.replay = (score.replay_available == "1"); score.user = {username: score.username}; score.beatmap = {mode: intToMode(mapMode)}; score.id = score.score_id; return score; }*/ function updateScoresTable(callback){ var tableRows = []; var usedUsers = []; var rank = 0; for(var i=0; i
").addClass("modIconGroup"), modgroupArr = []; for(var i=0; i
") .addClass("modIcon") .append($("").attr("src", modIconImgs[modinfo.mods[0]])) .attr("value", modinfo.mods[0]); }else{ modimg = $("
").addClass("modIcon").append( $("
").addClass("modIconOption").append( $("").attr("src", modIconImgs[modinfo.mods[0]]) ), $("
").addClass("modIconOption").append( $("").attr("src", modIconImgs[modinfo.mods[1]]) ) ) .attr("value", modinfo.mods.join(",")); } if(i > 0) modimg.hide(); if(modinfo.mods[0] === "NM"){ modimg.click(nomodIconClick); modimg.addClass("nomodIcon"); }else{ modimg.click(modIconClick); modimg.contextmenu(modIconRightClick); } if(modinfo.selection === 0){ modimg.addClass("notSelected"); modimg.attr("value", "XX"); }else if(modinfo.selection === 1){ modimg.addClass("isSelected"); modimg.attr("value", modinfo.mods.join(",")); }else{ // modinfo.selection === 2 modimg.addClass("partialSelected"); modimg.attr("value", ["XX"].concat(modinfo.mods).join(",")); } modgroupArr.push(modimg); } modgroup.html(modgroupArr); return modgroup; } $(".beatmap-scoreboard-table").before($("
").append( genModBtns([ {mods: ["NM"], selection: 0}, {mods: ["NM"], selection: 1}]), mapMode < 3 ? // HD for non-mania genModBtns([ {mods: ["HD"], selection: 0}, {mods: ["HD"], selection: 1}, {mods: ["HD"], selection: 2}]) : genModBtns([ // FI, HD for mania {mods: ["FI"], selection: 0}, {mods: ["FI"], selection: 1}, {mods: ["HD"], selection: 1}, {mods: ["FI", "HD"], selection: 1}, {mods: ["FI", "HD"], selection: 2}]), genModBtns([ {mods: ["HR"], selection: 0}, {mods: ["HR"], selection: 1}, {mods: ["HR"], selection: 2}, {mods: ["EZ"], selection: 1}, {mods: ["EZ"], selection: 2}]), genModBtns([ {mods: ["DT"], selection: 0}, {mods: ["DT"], selection: 1}, {mods: ["NC"], selection: 1}, {mods: ["DT", "NC"], selection: 1}, {mods: ["DT", "NC"], selection: 2}, {mods: ["HT"], selection: 1}, {mods: ["HT"], selection: 2}]), genModBtns([ {mods: ["SD"], selection: 0}, {mods: ["SD"], selection: 1}, {mods: ["PF"], selection: 1}, {mods: ["SD", "PF"], selection: 1}, {mods: ["SD", "PF"], selection: 2}, {mods: ["NF"], selection: 1}, {mods: ["NF"], selection: 2}]), genModBtns([ {mods: ["FL"], selection: 0}, {mods: ["FL"], selection: 1}, {mods: ["FL"], selection: 2}]), mapMode < 3 ? [] : //mania keys genModBtns([ {mods: ["4K"], selection: 0}, {mods: ["4K"], selection: 1}, {mods: ["5K"], selection: 1}, {mods: ["6K"], selection: 1}, {mods: ["7K"], selection: 1}, {mods: ["8K"], selection: 1}, {mods: ["9K"], selection: 1}]), mapMode < 3 ? [] : //mirror genModBtns([ {mods: ["MR"], selection: 0}, {mods: ["MR"], selection: 1}, {mods: ["MR"], selection: 2}]), mapMode > 0 ? [] : //SO only for standard [ genModBtns([ {mods: ["SO"], selection: 0}, {mods: ["SO"], selection: 1}, {mods: ["SO"], selection: 2}]), genModBtns([ {mods: ["TD"], selection: 0}, {mods: ["TD"], selection: 1}, {mods: ["TD"], selection: 2}]) ] )); } function nomodIconClick(){ if(!modsEnabled) return; $(".modIcon").each(function(){ $(this).hide(); $(this).parent().children().first().show(); }); modIconClick.bind(this)(); } function modIconClick(){ if(!modsEnabled) return; if(!$(this).hasClass("nomodIcon")){ $(".nomodIcon").hide().parent().children().first().show(); } var parent = $(this).parent(); $(this).hide(); if($(this).next().length === 0){ parent.children().first().show(); }else{ $(this).next().show(); } timeoutUpdate(); } function modIconRightClick(){ if(!modsEnabled) return; if(!$(this).hasClass("nomodIcon")){ $(".nomodIcon").hide().parent().children().first().show(); } var parent = $(this).parent(); $(this).hide(); if($(this).prev().length === 0){ parent.children().last().show(); }else{ $(this).prev().show(); } timeoutUpdate(); return false; } function timeoutUpdate(){ if(timeoutID !== null){ clearTimeout(timeoutID); } timeoutID = setTimeout(function(){ timeoutID = null; updateModScores(); }, timeDelay); } function updateModScores(){ clearScoresTable(); abortReqs(); var modvals = getSelectedMods(); var funs = []; scoresResult = []; for(var i=0; i= 0){ if(selected[si].indexOf(doublemods[i][1]) < 0){ selected[si].push(doublemods[i][1]); } } } } var modvals = []; for(let si=0; si= 0){ modval += modnames[i].val; } } modvals.push(modval); } if(selected.length === 1 && modvals[0] === 0 && selected[0].indexOf("NM") < 0){ //get all scores return [-1]; } return modvals; } function putRankingType(){ $(".beatmap-scoreboard-table").before( $("
").append( $("").append( $("") .attr({ type: "radio", name: "rankingtype", value: "global"}) .prop("checked", true) .change(rankingTypeChanged), "Global"), $("").append( $("") .attr({ type: "radio", name: "rankingtype", value: "friends"}) .change(rankingTypeChanged), "Friends"), //Show date button /* $("").append( $("") .attr({ type: "checkbox", id: "showdatebox"}) .change(showDateChanged) .prop("checked", showDates), "Show date")*/ ) ); } /* function showDateChanged(){ showDates = $("#showdatebox").prop("checked"); updateShowDate(); } function updateShowDate(){ if(showDates) $(".datecol").show(); else $(".datecol").hide(); }*/ function rankingTypeChanged(){ var rankingType = $("input[name=rankingtype]:checked").val(); if(rankingType == "global"){ modsEnabled = true; if(timeoutID !== null) clearTimeout(timeoutID); updateModScores(); }else if(rankingType == "friends"){ modsEnabled = false; if(timeoutID !== null) clearTimeout(timeoutID); updateFriendsScores(); } } function updateFriendsScores(){ clearScoresTable(); abortReqs(); // Make copy of friends including yourself var friends2 = friends.slice(0); if(!inArray(friends2, currentUser.id.toString())){ friends2.push(currentUser.id.toString()); } var funs = []; for(var i=0; i 0){ scoresResult = scoresResult.concat(response); } callback(); }, scoreReqs); }; }(friends2[i])); } doManyFunc(funs, function(){ sortResult("score"); updateScoresTable(); }); } function makeMirror(url, topName, bottomName, newTab){ var mirror = ` ${topName} ${bottomName === null ? "" : `${bottomName}`} `; if($(".beatmapset-header__more").length > 0){ $(".beatmapset-header__more").before(mirror); }else{ $(".beatmapset-header__buttons").append(mirror); } } function addMirrors(){ if(settings.showMirror){ makeMirror(`https://beatconnect.io/b/${jsonBeatmapset.id}`, "Beatconnect", null, false); } if(settings.showMirror2){ makeMirror(`https://dl.sayobot.cn/beatmaps/download/full/${jsonBeatmapset.id}`, "Sayobot", null, false); makeMirror(`https://dl.sayobot.cn/beatmaps/download/novideo/${jsonBeatmapset.id}`, "Sayobot", "no Video", false); } if(settings.showMirror3){ makeMirror(`https://api.nerinyan.moe/d/${jsonBeatmapset.id}`, "NeriNyan", null, false); makeMirror(`https://api.nerinyan.moe/d/${jsonBeatmapset.id}?nv=1`, "NeriNyan", "no Video", false); } if(settings.showMirror4){ // chimu.moe dead :( // makeMirror(`https://api.chimu.moe/v1/download/${jsonBeatmapset.id}?n=1`, "Chimu.moe", null, false); } if(settings.showMirror5){ makeMirror(`https://catboy.best/d/${jsonBeatmapset.id}`, "Mino", null, false); } } function addOsuPreview(){ if(!settings.osupreview && !settings.osupreview2 && !settings.osupreview3) return; $(".beatmapset-info").after( $("
" ).click(function(){ var osupreviewEle = $(this).find("#osupreview"); if(osupreviewEle.data("loaded")) return; osupreviewEle.html( `${settings.osupreview ? `osu!preview (open in new tab)

` : ""} ${settings.osupreview2 ? `osu! Web Beatmap Viewer (open in new tab)

` : ""} ${settings.osupreview3 ? `osucad online beatmap viewer (open in new tab)
` : ""}` ); osupreviewEle.data("loaded", true); }) ); } function addSlider(){ // and export button $(".beatmap-scoreboard-table").before( $("
").append( createSlider(function(val, checked){ var rows = $(".osuplus-table.beatmap-scoreboard-table__table .beatmap-scoreboard-table__body-row"); if(checked){ var curTime = new Date(); rows.each(function(index, row){ row = $(row); var scoreTime = row.find("time").attr("title") || row.find("time").attr("data-orig-title"); scoreTime = new Date(scoreTime); var diff = (curTime - scoreTime) / (1000*60*60*24); if(diff < val){ row.addClass("recentscore"); }else{ row.removeClass("recentscore"); } }); }else{ rows.removeClass("recentscore"); } }).addClass("slider-container"), "" ) ); $(".export-btn").click(function(){ downloadFile(scoresToCsv(scoresResult, mapMode), "scores.csv"); }); } function abortReqs(){ while(scoreReqs.length){ scoreReqs.pop().abort(); } } function sortResult(sortby){ if(sortby === "score"){ scoresResult.sort(function(a,b){ var ascore = parseInt(a.score), bscore = parseInt(b.score); if(ascore < bscore){ return 1; }else if(ascore > bscore){ return -1; }else{ return getTime(a.date) - getTime(b.date); } }); }else if(sortby === "pp"){ scoresResult.sort(function(a,b){ var ascore = parseFloat(a.pp), bscore = parseFloat(b.pp); if(ascore < bscore){ return 1; }else if(ascore > bscore){ return -1; }else{ ascore = parseFloat(a.score); bscore = parseFloat(b.score); if(ascore < bscore){ return 1; }else if(ascore > bscore){ return -1; }else{ return getTime(a.date) - getTime(b.date); } } }); } } function addTableLoadingNotice(){ var tableLoadingNotice = $(`
`); $(".beatmap-scoreboard-table__table").before(tableLoadingNotice); return tableLoadingNotice; } function modifyTableHeaders(){ // Add click scores/pp to sort $(".osuplus-table.beatmap-scoreboard-table__table .beatmap-scoreboard-table__header--score").text("").append( $("Score") .click(function(){ sortResult("score"); updateScoresTable(); }) ); var ppheader = $(".osuplus-table.beatmap-scoreboard-table__table .beatmap-scoreboard-table__header--pp"); if(ppheader.length == 0){ ppheader = $(""); $(".osuplus-table.beatmap-scoreboard-table__table .beatmap-scoreboard-table__header--time").before(ppheader); } ppheader.text("").append( $("pp") .click(function(){ sortResult("pp"); updateScoresTable(); }) ); // Add date column //$(".osuplus-table.beatmap-scoreboard-table__table thead tr").children().last().before("Date"); //$(".search-beatmap-scoreboard-table__table thead tr").children().last().before("Date"); // Add max combo $(".osuplus-table .beatmap-scoreboard-table__header--maxcombo").text(`Max Combo${maxCombo ? ` (${maxCombo})` : ""}`); } function clearScoresTable(){ scoresResult = []; updateScoresTable(function(){ tableLoadingNotice.show(); }); } function addSearchUser(){ $(".beatmap-scoreboard-table").before( $("
").attr("id", "searchuser") .append( $("Search user: "), $("") .attr({type: "text", id: "searchusertxt"}) .val(currentUser.username) .bind("enterKey", searchUserEnter) .keyup(function(e){ if(e.keyCode == 13) { $(this).trigger("enterKey"); } }), $("
").attr("id", "searchuserinfo").text("Searching...").hide(), $("
").attr("class", "search-beatmap-scoreboard-table") .attr("id", "searchuserresult") .append( $("
").append( $("").append( $(".beatmap-scoreboard-table__table thead tr").clone() ) ).append("") ).hide() ) ); } function searchUserEnter(){ $("#searchuserinfo").text("Searching...").show(); $("#searchuserresult").hide(); var searchusernames = $("#searchusertxt").val().split(","); var promises = searchusernames.map((username) => new Promise(function(resolve, reject){ getScoresWithPlayerInfo({b:mapID, u:username, m:mapMode, type:"string"}, settings.showPpRank, resolve); })); Promise.all(promises).then((responses) => { var response = []; for(let r of responses){ response = response.concat(r); } response.sort((a,b) => parseInt(b.score) - parseInt(a.score)); if(response.length > 0){ $("#searchuserresult .beatmap-scoreboard-table__body").children().remove(); response.forEach(function(score, index){ var tableRow = makeScoreTableRow(score, index+1); $("#searchuserresult .beatmap-scoreboard-table__body").append(tableRow); }); //$(".timeago").timeago(); $("#searchuserinfo").hide(); $("#searchuserresult").show(); }else{ $("#searchuserinfo").text("No scores found :("); } }); } function isFriend(uid){ var friends = currentUser.friends; for(var i=0; i").on("input", changeFun); sliderLbl = $("7"); sliderCB = $("").change(changeFun); return $("
").append( slider, $("").append( sliderCB, "Highlight past ", sliderLbl, " days" ) ); } function displayGetKey(){ $(document.head).append($("").html( `.op-getkey {text-align: center; background-color: red;} .op-getkey h1 {color: white;} .nav2-header {position: relative;}` )); $(document.body).prepend( `

[osuplus] Click here to use your osu!API key.
Don't have API key? Get from here or here

` ); $(".a-promptKey").click(promptKey); } function promptKey(){ var yourKey = prompt("Enter your API key"); if(yourKey !== null){ testKey(yourKey, function(islegit){ if(islegit){ GMX.setValue("apikey", yourKey).then(() => { apikey = yourKey; hasKey = true; alert("API key worked! Your page will now refresh"); location.reload(); }); }else{ alert("API key failed :("); } }); } } function testKey(key, callback){ var url = "https://osu.ppy.sh/api/get_user?k=" + key; GetPage(url, function(response){ var jresponse = JSON.parse(response); if("error" in jresponse){ callback(false); }else{ callback(true); } }); } function scoresToCsv(scores, mapMode){ var header = ["rank", "score", "accuracy", "country", "username", "user_id", "maxcombo", "perfect", "300", "100", "50", "geki", "katu", "miss", "pp", "date", "mods", "mods_int", "replay_available", "score_id"]; var content = scores.map((score) => [ score.rank, score.score, calcAcc(score, mapMode), score.user.country || "", score.username, score.user_id, score.maxcombo, score.perfect, score.count300, score.count100, score.count50, score.countgeki, score.countkatu, score.countmiss, score.pp, score.date, `"${getMods(score.enabled_mods)}"`, score.enabled_mods, score.replay_available, score.score_id ]); var table = [header].concat(content); return table.map((row) => row.join(",")).join("\n"); } function getModsArray(modnum){ modnum = parseInt(modnum); var mods = []; for(let mod of modnames){ if(mod.val & modnum){ mods.push(mod); } } // handle doublemods for(var i=0; i
`; return `
`; }); return modsHtml.join(""); } function modShortToNum(mod){ // e.g. "HD" -> 16 for(let md of modnames){ if(md.short == mod){ return md.val; } } } function modArrayToNum(arr){ // e.g. ["HD", "HR"] -> 24 let modnum = 0; for(let mod of arr){ modnum |= modShortToNum(mod); } for(let doublemod of doublemods){ let mod1num = modShortToNum(doublemod[0]); if(mod1num & modnum){ let mod2num = modShortToNum(doublemod[1]); modnum |= mod2num; } } return modnum; } function calcAcc(score, mode){ var c50 = parseInt(score.count50), c100 = parseInt(score.count100), c300 = parseInt(score.count300), cmiss = parseInt(score.countmiss), cgeki = parseInt(score.countgeki), ckatu = parseInt(score.countkatu); switch(mode){ case 0: // Standard return 100.0 * (6*c300 + 2*c100 + c50) / (6*(c50 + c100 + c300 + cmiss)); case 1: // Taiko return 100.0 * (2*c300 + c100) / (2*(c300 + c100 + cmiss)); case 2: // CTB return 100.0 * (c300 + c100 + c50) / (c300 + c100 + c50 + ckatu + cmiss); case 3: // Mania return 100.0 * (6*cgeki + 6*c300 + 4*ckatu + 2*c100 + c50) / (6*(c50 + c100 + c300 + cmiss + cgeki + ckatu)); } } // eslint-disable-next-line no-unused-vars function calcGrade(score, mode, mods){ var c50 = parseInt(score.count50), c100 = parseInt(score.count100), c300 = parseInt(score.count300), cmiss = parseInt(score.countmiss); //cgeki = parseInt(score.countgeki), //ckatu = parseInt(score.countkatu); var ctotal; var acc = calcAcc(score, mode); var grade = ""; switch(mode){ case 0: // Standard ctotal = c50 + c100 + c300 + cmiss; if(ctotal == c300){ grade = "X"; }else if(c300 >= 0.9*ctotal && c50 <= 0.01*ctotal && cmiss == 0){ grade = "S"; }else if(c300 >= 0.8*ctotal && cmiss == 0 || c300 >= 0.9*ctotal){ grade = "A"; }else if(c300 >= 0.7*ctotal && cmiss == 0 || c300 >= 0.8*ctotal){ grade = "B"; }else if(c300 >= 0.6*ctotal){ grade = "C"; }else{ grade = "D"; } break; case 1: // Taiko // i have no idea and the wiki is inconsistent lol grade = "S"; break; case 2: // CTB if(acc == 100){ grade = "X"; }else if(acc > 98){ grade = "S"; }else if(acc > 94){ grade = "A"; }else if(acc > 90){ grade = "B"; }else if(acc > 85){ grade = "C"; }else{ grade = "D"; } break; case 3: // Mania if(acc == 100){ grade = "X"; }else if(acc > 95){ grade = "S"; }else if(acc > 90){ grade = "A"; }else if(acc > 80){ grade = "B"; }else if(acc > 70){ grade = "C"; }else{ grade = "D"; } } var silverflag = (1<<3) + (1<<10) + (1<<20); // HD+FL+FI if(mods & silverflag){ if(grade == "X" || grade == "S"){ grade += "H"; } } return grade; } function getTime(datestring){ return new Date(datestring).getTime(); } function getCountryUrl(code){ var baseFileName = code.split("").map((c) => ((c.charCodeAt(0) + 127397).toString(16))).join("-"); return `/assets/images/flags/${baseFileName}.svg`; } function commarise(num){ num = num.toString(); var numarray = []; while(num !== ""){ numarray.push(num.slice(-3)); num = num.slice(0,-3); } return numarray.reverse().join(","); } function decommarise(numstr){ return parseInt(numstr.split("").filter(c => { return c >= "0" && c <= "9"; }).join("")); } function secsToMins(secs){ var s = "00"+(secs % 60); return (secs/60>>0) + ":" + s.substr(s.length-2); } /* old code used for old site function getRankImg(rank){ var ranksrc; if(rank === "F"){ ranksrc = FImg; }else{ ranksrc = "//s.ppy.sh/images/" + rank + "_small.png"; } return ""; } */ function modeToInt(mode){ switch(mode){ case "osu": return 0; case "taiko": return 1; case "fruits": return 2; case "mania": return 3; default: return 0; } } function intToMode(modeint){ switch(modeint){ case 0: return "osu"; case 1: return "taiko"; case 2: return "fruits"; case 3: return "mania"; default: return "osu"; } } // eslint-disable-next-line no-unused-vars function formatNumberSuffixed(num, precision){ const suffixes = ["", "k", "m", "b", "t"]; const k = 1000; const format = (n) => { var options = {minimumFractionDigits: 0, maximumFractionDigits: precision}; return n.toLocaleString("en", options); }; if (num < k) return format(num); const i = Math.min(suffixes.length - 1, Math.floor(Math.log(num) / Math.log(k))); return `${format(num / Math.pow(k, i))}${suffixes[i]}`; } // eslint-disable-next-line no-unused-vars function getDiffRating(rating){ rating = parseFloat(rating); if (rating < 2) return "easy"; if (rating < 2.7) return "normal"; if (rating < 4) return "hard"; if (rating < 5.3) return "insane"; if (rating < 6.5) return "expert"; return "expert-plus"; } var getBeatmapFileCache = (() => { var callbacks = {}, cache = {}; function getBeatmapFileCache(id, callback){ if(id in cache){ callback(cache[id]); }else if(id in callbacks){ callbacks[id].push(callback); }else{ callbacks[id] = [callback]; getBeatmapFile(id, function(response){ cache[id] = response; callbacks[id].forEach(function(cb){ cb(response); }); delete callbacks[id]; }); } } return getBeatmapFileCache; })(); function makePpcalcData(modeInt, play, acc, beatmapId) { return { mode: modeInt, id: beatmapId, mods: Number(play.enabled_mods), combo: Number(play.maxcombo), n300: Number(play.count300), n100: Number(play.count100), n50: Number(play.count50), nmiss: Number(play.countmiss), acc: acc, }; } function doPpcalc(ppcalcData) { if (ppcalcData.mode != 0) throw new Error(`mode not supported: ${ppcalcData.mode}`); var ppResult = new Promise(resolve => getBeatmapFileCache(ppcalcData.id, resolve)) .then(beatmapFile => { var parser = new ojsama.parser().feed(beatmapFile); //debugValue(parser.toString()); //debugValue(parser.map.toString()); return { pp: debugValue(ojsama.ppv2({ map: parser.map, mode: ppcalcData.mode, mods: ppcalcData.mods, combo: ppcalcData.combo, n300: ppcalcData.n300, n100: ppcalcData.n100, n50: ppcalcData.n50, nmiss: ppcalcData.nmiss, })), // "pp if full combo" is defined here as max combo and every miss converted to 300. // the new n300 is not always (n300 + nmiss), because the play may have failed early. pp_fc: debugValue(ojsama.ppv2({ map: parser.map, mode: ppcalcData.mode, mods: ppcalcData.mods, combo: parser.map.max_combo(), n300: parser.map.objects.length - ppcalcData.n100 - ppcalcData.n50, n100: ppcalcData.n100, n50: ppcalcData.n50, nmiss: 0, })), }; }); var getBeatmapsResult = new Promise(resolve => getBeatmapsCache({ b: ppcalcData.id, m: ppcalcData.mode, a: 1, }, resolve)); return Promise.all([ppResult, getBeatmapsResult]) .then(([{pp, pp_fc}, [{approved}]]) => { //debugValue([pp, pp_fc, approved]); return { pp: Math.round(pp.total), pp_fc: Math.round(pp_fc.total), approved: approved, }; }); } function getRequest(url, callback, reqTracker){ // reqTracker is a list of requests to keep track whether the request is ongoing, to allow abortion if(reqTracker){ var req = GetPageJSON(url, function(response){ removeFromArray(reqTracker, req); callback(response); }); reqTracker.push(req); }else{ GetPageJSON(url, callback); } } function getScoresWithPlayerInfo(params, showPpRank, callback, reqTracker){ var mode = params.m || 0; getScores(params, function(response){ var funs = []; response.forEach(function(score, index){ if(showPpRank){ funs.push(function(donecb){ getUser({u: score.user_id, type: "id", m: mode}, function(userInfo){ response[index].user = userInfo[0]; savePlayerCountry(score.user_id, userInfo[0].country); donecb(); }, reqTracker); }); }else{ funs.push(function(donecb){ getPlayerCountry(score.user_id, function(country){ response[index].user = {country: country}; donecb(); }); }); } }); doManyFunc(funs, function(){ callback(response); }); }, reqTracker); } function getMpEvents(mp){ function doBefore(events, first, resolve){ var id = events.events[0].id; var url2 = `https://osu.ppy.sh/community/matches/${mp}?before=${id}&limit=100`; $.get(url2, (res) => { if(debug) console.log(url2, res); events.events = res.events.concat(events.events); //combine users for(let u of res.users){ var isthere = false; for(let v of events.users){ if(v.id === u.id){ isthere = true; break; } } if(!isthere){ events.users.push(u); } } if(res.events.length && res.events[0].id > first){ doBefore(events, first, resolve); }else{ resolve(events); } }, "json"); } return new Promise((resolve, reject) => { var url = `https://osu.ppy.sh/community/matches/${mp}`; $.get(url, (events) => { if(debug) console.log(url, events); var first = events.first_event_id; if(events.events.length && events.events[0].id > first){ doBefore(events, first, resolve); }else{ resolve(events); } }, "json"); }); } function getUserRecent(params, callback, reqTracker){ /* k - api key (required). u - specify a user_id or a username to return recent plays from (required). m - mode (0 = osu!, 1 = Taiko, 2 = CtB, 3 = osu!mania). Optional, default value is 0. limit - amount of results (range between 1 and 50 - defaults to 10). type - specify if u is a user_id or a username. Use string for usernames or id for user_ids. Optional, default behavior is automatic recognition (may be problematic for usernames made up of digits only). */ var url = "https://osu.ppy.sh/api/get_user_recent"; params.k = apikey; getRequest(getUrl(url, params), callback, reqTracker); } //eslint-disable-next-line no-unused-vars function getReplay(params, callback, reqTracker){ /* k - api key (required). m - the mode the score was played in (required). b - the beatmap ID (not beatmap set ID!) in which the replay was played (required). u - the user that has played the beatmap (required). */ var url = "https://osu.ppy.sh/api/get_replay"; params.k = apikey; getRequest(getUrl(url, params), callback, reqTracker); } function getBeatmaps(params, callback, reqTracker){ /* k - api key (required). since - return all beatmaps ranked since this date. Must be a MySQL date. s - specify a beatmapset_id to return metadata from. b - specify a beatmap_id to return metadata from. u - specify a user_id or a username to return metadata from. type - specify if u is a user_id or a username. Use string for usernames or id for user_ids. Optional, default behaviour is automatic recognition (may be problematic for usernames made up of digits only). m - mode (0 = osu!, 1 = Taiko, 2 = CtB, 3 = osu!mania). Optional, maps of all modes are returned by default. a - specify whether converted beatmaps are included (0 = not included, 1 = included). Only has an effect if m is chosen and not 0. Converted maps show their converted difficulty rating. Optional, default is 0. h - the beatmap hash. It can be used, for instance, if you're trying to get what beatmap has a replay played in, as .osr replays only provide beatmap hashes (example of hash: a5b99395a42bd55bc5eb1d2411cbdf8b). Optional, by default all beatmaps are returned independently from the hash. limit - amount of results. Optional, default and maximum are 500. */ var url = "https://osu.ppy.sh/api/get_beatmaps"; params.k = apikey; getRequest(getUrl(url, params), callback, reqTracker); } function getScores(params, callback, reqTracker){ /* k - api key (required). b - specify a beatmap_id to return score information from (required). u - specify a user_id or a username to return score information for. m - mode (0 = osu!, 1 = Taiko, 2 = CtB, 3 = osu!mania). Optional, default value is 0. mods - specify a mod or mod combination (See the bitwise enum) type - specify if u is a user_id or a username. Use string for usernames or id for user_ids. Optional, default behaviour is automatic recognition (may be problematic for usernames made up of digits only). limit - amount of results from the top (range between 1 and 100 - defaults to 50). */ var url = "https://osu.ppy.sh/api/get_scores"; params.k = apikey; getRequest(getUrl(url, params), callback, reqTracker); } function getUser(params, callback, reqTracker){ /* k - api key (required). u - specify a user_id or a username to return metadata from (required). m - mode (0 = osu!, 1 = Taiko, 2 = CtB, 3 = osu!mania). Optional, default value is 0. type - specify if u is a user_id or a username. Use string for usernames or id for user_ids. Optional, default behaviour is automatic recognition (may be problematic for usernames made up of digits only). event_days - Max number of days between now and last event date. Range of 1-31. Optional, default value is 1. */ var url = "https://osu.ppy.sh/api/get_user"; params.k = apikey; getRequest(getUrl(url, params), callback, reqTracker); } function getUserBest(params, callback, reqTracker){ /* k - api key (required). u - specify a user_id or a username to return best scores from (required). m - mode (0 = osu!, 1 = Taiko, 2 = CtB, 3 = osu!mania). Optional, default value is 0. limit - amount of results (range between 1 and 100 - defaults to 10). type - specify if u is a user_id or a username. Use string for usernames or id for user_ids. Optional, default behavior is automatic recognition (may be problematic for usernames made up of digits only). */ var url = "https://osu.ppy.sh/api/get_user_best"; params.k = apikey; getRequest(getUrl(url, params), callback, reqTracker); } function getBeatmapFile(beatmapId, callback, reqTracker){ GetPage(`https://osu.ppy.sh/osu/${beatmapId}`, callback, reqTracker); } function getUrl(url, params){ if(params){ var paramarray = []; for(var k in params){ paramarray.push(k + "=" + encodeURIComponent(params[k])); } return url + "?" + paramarray.join("&"); }else{ return url; } } function GetPageJSON(url, callback){ return GetPage(url, (response) => { let responseJSON; try{ responseJSON = JSON.parse(response); try{ callback(responseJSON); }catch(e){ // do nothing } }catch(e){ if(debug) console.log(`error parsing JSON: ${response}`); callback(null); } }); } var requestLimiter = { rate: 100, //time between requests, in ms interval: null, queue: [], loop: function(){ if(this.queue.length > 0){ var details = this.queue.shift(); if(debug) console.log(details.url); GMX.xmlHttpRequest(details); } }, makeRequest: function(details){ if(this.interval === null){ this.interval = setInterval(this.loop.bind(this), this.rate); } this.queue.push(details); } }; function GetPage(url, callback) { return abortableXHR({ method: "GET", url: url, synchronous: false, timeout: 10000, onload: function (resp) { callback(resp.responseText); }, ontimeout: function () { if(debug) console.log("timeout!"); callback(null); } }); } function abortableXHR(details){ var aborted = false; var abortableOnload = (resp) => { if(!aborted && details.onload){ details.onload(resp); } }; var abortableOntimeout = (resp) => { if(!aborted && details.ontimeout){ details.ontimeout(resp); } }; requestLimiter.makeRequest({ method: details.method, url: details.url, synchronous: details.synchronous, timeout: details.timeout, onload: abortableOnload, ontimeout: abortableOntimeout }); return {abort: () => { aborted = true; }}; } //------------------------------- // javascript helper functions //------------------------------- function debugValue(x) { if (debug) console.log(x); return x; } function waitForEl(selector, callback){ var poller = setInterval(() => { var el = $(selector); if(el.length){ clearInterval(poller); callback(el); } }, 100); return {abort: () => { clearInterval(poller); }}; } function inArray(arr, ele){ for(var i=0; i -1) arr.splice(_index, 1); } function median(ls){ if(ls.length === 0) return 0; ls = [...ls].sort((a, b) => a - b); //javascript will normally sort lexicographically var mid = Math.floor(ls.length / 2); return ls.length % 2 === 0 ? (ls[mid] + ls[mid-1]) / 2 : ls[mid]; } // returns [a1.push(e) for a1 in arr1, e in arr2] function cartesianProd(arr1, arr2){ var ans = []; for(var i=0; i