MSPFA extras

Adds custom quality of life features to MSPFA.

这些是此脚本变更过代码的版本。 显示所有版本。

  • v1.15.7 2025-03-31

    Fixes

    • Adventure export was not including pages.
  • v1.15.6 2025-02-23

    Changes

    • Uses MSPFA's new noPages requests for specific requests.

    Fixes

    • Color and Background BBCode buttons no longer freeze the page when clicked in adventures with large amounts of pages.
  • v1.15.5.1 2024-06-22

    Fixes

    • Replaced raw GitHub CSS urls with new Pages versions.
  • v1.15.5 2024-06-22

    Changes

    • Deleted messages console print now has all of the messages in one clean object instead of being printed separately.

    Fixes

    • Assets are now hosted on GitHub, and are much less likely to break.
  • v1.15.4 2024-05-18

    New Features

    • When deleting duplicate messages, it will now track the difference in pages so you know how much you have to catch up on.

    Changes

    • Added an option for 24h time in the settings.
    • Removed most user data checks.

    Fixes

    • Messages will now properly have their colour and icon (they are no longer case-sensitive)
  • v1.15.3.2 2023-11-17

    Changes

    • Made it so the page re-addition on dialog open only happens on the color and background ones, not on image or any other for lag reasons.
  • v1.15.3.1 2023-11-17

    Fixes

    • Fixed BBCode Colours and Background Colour buttons throwing errors from unloaded pages.
  • v1.15.3 2023-11-16

    New Features

    • BBToolBar will no longer move the page around in the page editor when you click the textbox. Finally!
    • Adventures with high page counts will no longer lag in the page editor!

    Fixes

    • Page timestamps will no longer appear in preview pages.
  • v1.15.2.1 2023-10-05

    Hotfix

    • Using wrong page number for timestamps and would throw an error on the most recent page.
  • v1.15.2 2023-10-05

    New Features

    • add support for future dates in relative timestamps
    • add page timestamps

    Changes

    • "Edit Page" button is now more optimized and loads only that page, instead of every page until that one.
    • Changed highlighted page animation a tad
    • Anniversary banner date is a little more accurate
  • v1.15.1.1 2023-08-05

    Fixes

    • Hotfix for broken miro.gg links, now replaced with linkh.at
  • v1.15.1 2023-07-30

    New Features

    • Adventure tags are now links which can be clicked to view other adventures with that tag
    • Ctrl+K is now a valid key combination to insert a link in the page
    • "Recent Ongoing" is now available again in the RANDOM dropdown
    • In the message view page, you can now see when the message was sent

    Changes

    • Re-add Adventure JSON export to adventure info
    • Added alt text to the move and delete buttons in the colour management menu
    • Auto message management will no longer delete messages when in the message view page

    Fixes

    • Fixed a minor mistake in the [Add Draft Pages] button dialog
  • v1.15.0.2 2023-05-31

    Changes

    • Added an "Add color" button in the edit menu
    • Replaced the save icon with a button that says [Save Color]
    • Capped the height of the container and added a scrollbar
  • v1.15.0.1 2023-05-31

    Fixes

    • Remove dialog fix code until it's consistent
  • v1.15 2023-05-31

    New Features

    • Revamped colour picker based on new MSPFA site
    • Update messages now show the adventure icon

    Changes

    • Added button link to Back to Messages button in page for viewing a private message

    Fixes

    • Text Shortcuts now work properly when in the middle of the textbox, and now work properly when selecting a group
    • Dialog boxes would appear blurry if width and/or height are not even integers (wip)
    • Groupshot doesnt look fucked on firefox with nearest neighbor scaling
    • Only left click and middle click mark messages as read when clicking icon
  • v1.14.3.3 2023-05-10

    Fixes

    • Disables the prevew page link because it opens two pages at the moment
    • Removes the "Random Ongoing" dropdown because heroku changed their services
  • v1.14.3.2 2022-10-09

    Fixes

    • Fixed a bug where Enter could not be pressed after creating a shortcut
  • v1.14.3.1 2022-10-09

    Fixes

    • hotfix for comment alerts only showing as page 4
  • v1.14.3 2022-10-06

    New Features

    • Text shortcuts!! You can now define custom shortcuts in the page editor, and perform them by doing $shortcutname and pressing enter! This should make copy and pasting a cinch!
    • You can now see words/page and characters/page in the SEARCH tab.
    • (not script exclusive) you can now export ANY adventure that you'd like from the MSPFAe utility adventure! Happy archiving~
  • v1.14.2.1 2022-06-25

    Fixes

    • Custom homepage always redirecting
  • v1.14.2 2022-06-25

    New Features

    • Wide CSS/JS textareas in adventure info, for easier in-site editing with reduced text-wrapping

    Changes

    • Removed the option to replace the MSPFace and flashy title with the custom homepage link and instead replaces the default homepage with it. Original homepage is still accessible via dropdown.
  • v1.14.1 2022-05-08

    Fixes

    • Word count now actually counts the inside of HTML code and is now much more accurate
    • Custom Homepage link in the header and title won't break on some random adventures
  • v1.14 2022-04-19

    New Features

    • Option to use new icons for buttons
    • You can bookmark pages (using the link in the nav bar) as well as view them in its dropdown.
    • Link in achievements page to view all global achievement stats

    Changes

    • Integrated some features without needing the option (like tab titles) since they are useful
    • Removed likely unused features due to clutter and since they were fairly niche. If you want to use them, feel free to just use an older version of the script.
  • v1.13.2 2022-03-16

    New Features

    • Option to export HTML without CSS

    Fixes

    • HTML exports now work again
    • More code cleanup
  • v1.13.1 2022-03-09

    Fixes

    • Fixed favs being visible regardless of the setting being enabled or not
    • Fixed random new MSPFA images being broken

    Changes

    • More backend stuff, to make things more legible
  • v1.13 2022-03-07

    New Features

    • Autosaving (disabled by default)
    • Sorting for the My Adventures page
    • Visible favourite counts in the My Adventures page (disabled by default)

    Fixes

    • Slight adjustments to word/character counting

    Changes

    • Backend tidying up.
  • v1.12 2022-02-13

    New Features

    • Customizable Homepage! Added a dropdown under "MSPFA HOME", which takes you to your customizable homepage. This is only locally saved (as with everything else), but you have a lot of control over what's in it. You can have as many sections dedicated to whatever you want :)
  • v1.11.1 2022-01-19

    New Features

    • Added option to disable selection of all text when focusing on the CSS/JS box in adventure info
    • Added shortcut to advanced searcher (better than normal search!) under the EXPLORE dropdown

    Changes

    • Changed search bar in dropdown to go to advanced searcher
  • v1.11 2022-01-11

    New Features

    • Added a way to "Hide" adventures for yourself in your own story viewer. It's purely visual and does not actually hide anything. You can use it to hide adventures you've maybe completed to stopped working on.
  • v1.10.2 2022-01-10

    Fixes

    • Audio BBToolbar button would generate code that did not work.
  • v1.10.1 2021-12-31

    Fixes

    • Fix bug related accessing your new adventure with no pages and no icon. Just removed page links since they can no longer be generated.
  • v1.10 2021-11-17

    New Features

    • You can now block users. This will automatically delete any messages that they send to you. To block a user, go to their profile and click Block, or you can add their ID in the settings page. You can unblock by these methods as well.
    • Added an [Auto Management] button in messages. Here, you can set it to automatically delete read update messages, delete duplicates, and delete unread updates. This check runs whenever you open a page. All of these are disabled by default.
    • Added carousel banner option for the front page. When more than two banners are visible, rotate them out to only show two at most.
    • Added an explanation for how adding draft pages in bulk works.
    • Added images that will be used in the new site in their appropriate spots on the site (no messages, no favs, no game saves, terms of service)

    Fixes

    • New general function to make creating elements easier
    • Cleaned up main dropdown creation

    Changes

    • Removed [Prune] button in favour of automatic message management.
  • v1.9 2021-10-03

    New Features

    • Adventure export now has the option to export in a reader format.
    • Move pages button in page editor (work in progress)
    • You can now click the area around the checkbox of a message to select it
    • You can click the icon of a private message to be taken to it (like adventure updates)

    Changes

    • You can now add up to 15 pages at once with the "Add Draft Pages" button
  • v1.8.3.4 2021-06-16

    Fixes

    • 502 reloading not working
    • Fix links being applied to new adventure buttons when they should not be.
  • v1.8.3.3 2021-06-05

    Changes

    • Rearranged code so that the 502/429 errors refresh automatically again
    • Remove the Sign-In Compatibility setting added in the previous update, as something similar has since been integrated into the site to fix issues for Firefox users
  • v1.8.3.2 2021-06-04

    New Features

    • Added "Sign-In Compatibility" setting that runs gapiLoad() when it is loaded. You should only enable this if recommended to.
  • v1.8.3.1 2021-06-02

    Changes

    • When the new site is public, the userscript will no longer run.
    • Increased time before refresh when the client is sending to much data to one minute, which is approximately the time until the error goes away.
    • Commented out console.log()s that are useless.
      _____________ # Fixes
    • Fixed button links on the My Adventures page not working if the page finishes loading before the adventures.
    • Adventures without pages will now have button links.
  • v1.8.3 2021-05-17

    New Features

    • Added an option (enabled by default) to display tab titles for editing adventures, and some of the "My" pages, to help with tab management. If you dislike the " - MS Paint Fan Adventures" being appended, let me know.
    • On the explore page, you can now press the enter key in the tags textarea to search.

    Changes

    • When clicking on the Font BBtoolbar button, the dropdown for the font select is now focused by default.
    • The link is now only added to the RSS button AFTER the page is loaded so some commentary JavaScript will function properly.
    • Removed the donation link to my Ko-fi at the bottom of the page, since it is probably confusing and likely an inappropriate spot to put it.
  • v1.8.2.2 2021-04-13

    Changes

    • Lylac's classic MSPA theme no longer has an annoying conflict with auto-spoiler opening.
    • Replaced links with concat shortened links (this way, I can move and edit files without affecting users)
    • Changed Github completion list to use a more standardized date format (purely for me, nothing big)
    • Uses alternate versions of the Heart, Bell, and Edit icons to work better in other themes. (use alpha shading)
  • v1.8.2.1 2021-02-12 Hotfix: Video files playing on wrong pages while preload is enabled. // Fixes: Scrolling nav bar will work properly on the New Message page.
  • v1.8.2 2021-02-06 New Features: Key combinations for some BBCode features (ctrl+b/i/u) // Added support for Next page(s) in drafts. // Changes: If groupshot is on the front page, move it below banners. // Fixes: Fixed Firefox bug where audio would play on the wrong pages with preloading enabled.
  • v1.8.1 2021-01-24 Fixes: Button name didn't change to "Hide Muted Adventures" when cycling through favourites.
  • v1.8 2021-01-23 New Features: Adds "sticky nav" option in settings--when you scroll down, the nav bar sticks to the top of the page. // Changes: Tries to give the dropdown nav the same background-image. // Changes how preloaded images are received, and will no longer trigger flash dialogs. // The settings page now has tip dialogs [?] that explain the feature better.
  • v1.7.6 2020-12-19 Changes: Re-orders some of the elements in the adventure info edit page (see Icons) // The rough range that the banner will appear now can be found in adventure info edit page // Change the titles of the favourite button depending on whether you already have it fav'd // Fixes: Auto-Cloudflare reloads.
  • v1.7.5.1 2020-11-28 Fixes: "Latest update" in adventure info will now show the proper date if it was uploaded without notifications pushed. // Changes: You can only add 10 draft pages at once using the add drafts button // No dialog will appear when there are no draft pages to add.
  • v1.7.5 2020-11-26 New Features: Adds [Add Draft Pages] button which will add any new page with draft content automatically. (kind of experimental, submit bugs if you find them!)
  • v1.7.4 2020-11-17 New Features: Latest update is now shown in the adventure's info box // Added a button to hide tags in the explore page [-] // You can hover over the tag buttons in the explore page to see the name
  • v1.7.3 2020-11-02 New Features: Previous colour used for BBCode will be saved and automatically filled until page change // "My Favourites" now appears whether you have it enabled or not // Added a "User Search" link under "Explore" // A message counter will appear in the tab title on the My page
  • v1.7.2 2020-10-19 Fixes favourite muted/unmuted hiding // Added toggle-able priority for dialog keys // Hash url search now puts a black outline on the element until page loads to bring attention // Made more text function as labels
  • v1.7.1.1 2020-10-13 Reorganized the dropdown menu items to "Messages", "My Adventures", "My Favourites", "My Profile", "Settings" because it's much more logical and intuitive // Fixed Escape not closing dialogs with more than two buttons
  • v1.7.1 2020-10-13 New Features: You can press enter/escape to accept/close most dialog popups (like 502 error), under your favourite adventures, you can change sort by muted/unmuted (easy to save adventures to read later!) // Changed the default message prune date to 1 week
  • v1.7 2020-10-01 Explore ongoing/complete/inactive checkboxes now can use the text to check // Random now has a dropdown for "Recent ongoing" (credit to MadCreativity) // Click green cube to open comments and mark as read // Removed auto-update check code
  • v1.6.13 2020-09-27 Text to notify new users about updates is now a label so you can click it to check/uncheck the box // Fixed a bad bug for firefox users in which audio would play a LOT // Removed auto-update notifs, and "View Update" at the bottom
  • v1.6.12.0 2020-09-18 Add an option to append "My Favourites" to the dropdown menu // Let people who use the script through anything that isn't Tampermonkey know that the script may not work with their current extension.
  • v1.6.11.0 2020-09-16 Page will no longer scroll when you use a BBToolbar button in the page editor, so it won't scroll the page up JUST A SMIDGE >=[
  • v1.6.10.4 2020-09-14 Changing image resizing to pixelated now works on the Firefox browser
  • v1.6.10.3 2020-09-12 Prevent the "Export Data" button from appearing when on the page for creating a new adventure
  • v1.6.10.2 2020-09-08 Fixed auto error reloads (again) so they no longer refresh on the settings page on load.
  • v1.6.10.1 2020-09-07 Fixes auto error reloading
  • v1.6.10 2020-09-03 Drafts are now significantly better in the sense that they will not overwrite or erase data if worked on in multiple tabs.
  • v1.6.9 2020-09-01 You can now export adventure data from its info page, as well as draft data // Fixed the night mode transition // Preview links can be opened in a new tab // There is now a reply button next to the comment gear
  • v1.6.8 2020-08-30 Added Audio Player and YouTube video buttons to the BBtoolbar in the page editor // Spoilers will open before scrolling down to the nav bar
  • v1.6.7 2020-08-28 Added a [Prune] button to messages that let you mass delete messages older than a certain time (month, week, day) // Added a quick search bar under "Explore" in the nav bar. If the amount of results for your search is exactly one, it'll take you there instantly. // Read patch notes for rest.
  • v1.6.6.2 2020-08-23 Text error fixes now only apply once the page is changed to prevent it from forcing JavaScript code from activating twice.
  • v1.6.6.1 2020-08-23 Fixed a bug where the script wouldn't load due to a missing localStorage variable.
  • v1.6.6 2020-08-23 updated the wrong one read the last patch note
  • v1.6.5.1 2020-08-22 Drafts are now saved separately from settings in order to prevent people from saving over drafts when loading another page // Disabled debug logging
  • v1.6.5 2020-08-20 Fixed update checks sometimes showing a previous version
  • v1.6.5 2020-08-20 You can now preload images for the pages immediately before and after the one you're on to try and reduce the image loading time when you switch pages (enabled by default) // Re-organized a bit of code
  • v1.6.4.2 2020-08-19 Now uses MSPFA paramater detection for things like story ID and such // Changed [Delete Drafts] and [Delete Spoiler Values] to [Manage Drafts] and [Manage Spoiler Values], as you can now see which adventures have them and you can click to view them // Edit pages button now changes if page is changed before page loaded
  • v1.6.4.1 2020-08-18 Fixes slow update checking by requesting a .txt from Pipe with update content. // Auto update checks are now enabled by default because it's not slow
  • v1.6.4 2020-08-18 Added an option to scroll to nav bar instead of the top of the page when changing pages // Adventure CSS no longer takes priority if night mode is active // Dropdown menu links are now mostly unaffected by general nav link CSS changes // Script no longer runs at all when viewing CSS/JS
  • v1.6.3 2020-08-15 Explore/Adventure search button links // some things that await data now stop on page load // user stats should be consistently viewable now // no longer checks for adventure CSS outside an adventure
  • v1.6.2 2020-08-14 Searching for adventures now shows the amount of search results // Bottom two link buttons now smoothly change colour
  • v1.6.1.1 2020-08-12 Hotfix: Theme is now removed more consistently when the adventure has CSS, and now will still show theme if the CSS only has actual rules, and not just anything // Removed the dropdown "Log In" due to inconsistencies
  • v1.6.1 2020-08-12 My MSPFA is replaced with Log in when signed out // Margin of some buttons changed to 9.5px, autospoiler only runs in adventures
  • v1.6.0.2 2020-08-11 Minor fix: Delete Spoiler Values button was deleting draft data OOPS
  • v1.6.0.1 2020-08-09 Unversioned hotfix: Edit Pages button updates on page change
  • v1.6 2020-08-09 Page drafts, edit pages button, hash URLs // One click for night mode, auto update is not default
  • v1.5.2 2020-08-08 Middle mouse button works on user message button // "View Update" and "View Script Message" change text colour according to theme now // Changed most let variables to const due to them never changing, fixed adding missing variables to settings
  • v1.5.1 2020-08-07 Middle mouse button works on preview buttons // Change script icon
  • v1.5 2020-08-07 Default spoiler values, buttonless spoilers, reply button // Made missing variable code better
  • v1.4 2020-08-06 Intro message, and script update notifications! (optional) // Minor fixes
  • v1.3.3.1 2020-08-04 Hotfix: Prevent the same stat appearing multiple times
  • v1.3.3 2020-08-04 More stats on user pages (adventure count/public fav count) // Attempt to auto-refresh client sending data too quickly after ~5 secs // Fixed a small bug
  • v1.3.2.3 2020-08-02 Hotfix: Remove button links on adventures with no pages (temporary fix)
  • v1.3.2.2 2020-07-30 (minor update) Added Farfrom Tile's guide to the list
  • v1.3.2.1 2020-07-30 (minor update) Added more elements to nearest neighbour scaler
  • v1.3.2 2020-07-29 Added an option to change image resizing to "Nearest Neighbour" in settings
  • v1.3.1 2020-07-23 HTML no longer counts toward character/word count
  • v1.3 2020-07-21 Most buttons now function as links where applicable // Word and character count statistics on the Search page
  • v1.2 2020-07-09 Modified dark theme // Experimental text error fixes (in settings) // No longer runs multiple times when opening a page
  • v1.1 2020-07-02 Night mode, fixed auto 502 reload and added option in the settings
  • v1.0.2 2020-06-25 Added "My Profile" to the dropdown menu while signed in, and refreshes page automatically with a cloudflare 502 error page.
  • v1.0.1 2020-06-13 No longer changes theme when viewing an adventure's CSS or JS, or when the adventure already has anything in its CSS.
  • v1.0 2020-02-23
  • v0.1 2020-02-23