FANDOM


Bookmarklets are browser bookmarks containing JavaScript code that adds new features or display options to a webpage. This page lists bookmarklets that are for the Habitica website or that are for any website but that might be useful to Habiticans.

To install one of the bookmarklets below, first create a new bookmark in your browser by using your browser's "new bookmark" feature or by bookmarking any webpage. Edit the bookmark to change its URL to contain nothing but the JavaScript command shown below. Change its name to any text that is meaningful to you. If you want easy access to it, put it in your bookmark toolbar.

To use the bookmarklet, click on it while you are viewing the appropriate website.

Hide System Messages in Party ChatEdit

The bookmarklet hides the system messages from the party chat. As result, only chat from your party's members will be visible, without needing an extra chat extension.

javascript:(function()%7Bdocument.querySelectorAll('div.row.chat-row div.container div.row').forEach(function (el)%7BsubEl %3D el.querySelector('%3Ascope div.card div.card-body h3.leader')%3Bif (! subEl) %7Breturn%3B%7Dif (subEl.innerHTML.length %3D%3D 7) %7Bel.style.display %3D "none"%3B%7D%7D)%7D)()

To show the system messages again, use the following:

javascript:(function()%7Bdocument.querySelectorAll('div.row.chat-row div.container div.row').forEach(function (el)%7BsubEl %3D el.querySelector('%3Ascope div.card div.card-body h3.leader')%3Bif (! subEl) %7Breturn%3B%7D console.log(subEl.innerHTML.length)%3Bif (parseInt(subEl.innerHTML.length) %3D%3D 7) %7Bel.style.display %3D null%3B%7D%7D)%7D)()

Make Markdown Link to Wiki PageEdit

This bookmarklet can be used on any webpage (not just a Habitica page) to create a link to that page in Markdown format. Such links are suitable for pasting into the Tavern or any guild or party chat or into your tasks.

javascript:prompt('Markdown link for this page:','['+document.title.replace(' - Habitica Wiki - Wikia','')+']('+document.location.href+')')

Show All NotificationsEdit

This software stopped working after 28 September 2017 when the website underwent a redesign.

Information about the change can be found at Habitica Redesign Fact Sheet & Habitica Redesign FAQ


This bookmarklet will display all of the task-related notifications that appeared since you last reloaded the Habitica website.

javascript:$(".ui-pnotify-history-all")[0].click()

Show Last NotificationEdit

This software stopped working after 28 September 2017 when the website underwent a redesign.

Information about the change can be found at Habitica Redesign Fact Sheet & Habitica Redesign FAQ


This bookmarklet will display the most recent task-related notification, if you have received one since the most recent time you reloaded the Habitica website.

javascript:$(".ui-pnotify-history-last")[0].click()