MSPFA extras

Adds custom quality of life features to MSPFA.

当前为 2020-08-12 提交的版本,查看 最新版本

作者
Spaghettitron
评分
0 0 0
版本
1.6.1
创建于
2020-02-23
更新于
2020-08-12
大小
60.2 KB
许可证
暂无
适用于

MSPFA Extras

This userscript adds a few new quality-of-life features to MSPFA.


  • Adventure page drafts
    In the page editor, you'll notice that there's now a button called [Draft]. This button allows you to save a draft version to upload later. To save a draft, click [Draft], then [Save New]. To load in a previously saved draft, click [Draft], then [Load], and [Yes].
    You can also export your saved drafts for an adventure by clicking the [Saved Drafts] button near the top, which allows you to copy and paste the data elsewhere for safekeeping. You can also load in data from here.

  • Default spoiler values, and buttonless spoilers
    By setting your default spoiler values in the page editor, they'll automatically fill to that when you click the button to make a spoiler! In addition, buttonless spoilers, similar to HS^2 dialogue boxes, are able to be found right next to the spoiler button! If you select text, then add a buttonless spoiler, it'll encase it in the code!

  • Edit pages button
    If you're reading your adventure and you want to edit a page, you can go down to the Adventure Info spoiler, and click the edit pages button to hop into the page editor right to where you need to go.

  • MY MSPFA dropdown menu
    The MY MSPFA link on the nav bar now has a dropdown menu that allows you to navigate faster.

  • User/Adventure creation dates
    User profiles and adventures will show their initial date of creation.

  • More user stats
    In addition to the user creation dates, you can also see a total of how many adventures they've made, as well as (if they have favourites public) the amount of adventures they have favourited.

  • Hash URL search
    Normally when you append a #infobox or something to the end of a URL on MSPFA, it doesn't work or take you anywhere. Now, you can use hash URLs to hop right to a page you want! #commentbox, #latestpages, #infobox for an adventure, and you can even do it in the page editor! There, you can use #pNUM to jump to where you need to go!

  • Message Buttons
    Two new buttons:
    [Select Read] selects all notifications which are marked as read.
    [Select Same] selects all notifications from the same adventure which already appear.

  • MSPFA Themes
    They're back! By going into the user settings, you can choose from six default themes and you can even apply your own via URL!

  • Nearest Neighbour scaling
    Under settings, enable nearest neighbour image scaling to make resized images keep their pixels instead of becoming fuzzy. This is more useful for larger monitors, or those who have their screen scaled up.

  • Night mode
    Click the MSPFA head at the bottom of the page to enable/disable night mode. It uses the same theme as dark mode, but it's easier to access for nighttime viewing.

  • Auto-opening spoilers
    By enabling this option in the user settings, all spoiler boxes in an adventure will be open by default. (You can still close them)

  • Automatic 502 error reloading
    If enabled in the settings (it is by default), whenever the page redirects to a Cloudflare 502 error, it reloads the page automatically, saving you one singular key press. Having this enabled will also reload when you get a message saying you're sending data too quickly.
    Note: this does not affect 502 dialog errors.

  • Word/Character count statistics
    While on an adventure's Search page, you'll be able to see rough statistics of how many words and characters are used. Commands, page content, and custom spoiler button text all count, but not BBCode or the like.

  • Button links
    Most buttons like the "Edit info" button and such type are now able to be opened in a new tab by conventional means. You no longer have to regularly click on the button to open it.

  • Reply button
    By clicking a comment gear, then clicking [Reply], it'll instantly apply a user mention at the start of your message.

  • Script update notifications
    Whenever this script is updated, you'll receive a dialog popup on the site. These notifications will only appear once per update, and you can turn them off by clicking the "Opt-out" button, or by going into your user settings. If you want to see the most recent update again, click "View Update" at the bottom of the page.

  • User guides
    Under Edit Adventures, you can now find some user-created guides to help with creating your adventure.

  • Text error fixes (experimental)
    Automatically tries to fix text errors on old adventures. For most adventures, it will not work and there isn't much I can do.

Have any questions, or suggestions? Something broken? Lemme know on Discord!
If you really like the script and would like to donate or something you can do so here =)