Realms Beyond Forum

Full Version: Mafia Helper: User script for filtering posts and making tallies
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9
(July 6th, 2016, 07:33)Jkaen Wrote: [ -> ]Could we also link in this post the script that allowed you to lock threads so you didnt click on them by accident?

Here's the link, I also added it to the opening post in this thread.
http://www.realmsbeyond.net/forums/showt...p?tid=4088
Having trouble getting the script to work on mobile. I tapped the bookmark but the interface doesn't come up. Should the page reload when I hit the bookmark or something? Right now it does nothing.
(July 9th, 2016, 23:32)Dp101 Wrote: [ -> ]Having trouble getting the script to work on mobile. I tapped the bookmark but the interface doesn't come up. Should the page reload when I hit the bookmark or something? Right now it does nothing.

Works in Safari on iPad for me. Open the game thread, tap the bookmark, and the Enable mafia helper link should show up in the heading of the thread.
(July 10th, 2016, 02:11)novice Wrote: [ -> ]
(July 9th, 2016, 23:32)Dp101 Wrote: [ -> ]Having trouble getting the script to work on mobile. I tapped the bookmark but the interface doesn't come up. Should the page reload when I hit the bookmark or something? Right now it does nothing.

Works in Safari on iPad for me. Open the game thread, tap the bookmark, and the Enable mafia helper link should show up in the heading of the thread.

Doesn't work on IPhone for me. Just checking, I don't have to click any of the links for it to work, right?
This is all you need to do. But it might not work on all models and iOS versions. I've only tested it on an iPad and an old iPhone.

(September 1st, 2013, 13:26)novice Wrote: [ -> ]In Safari (also on iPhone and iPad) you can get it to run as a bookmarklet:
1: Create a bookmark to any page, name it Mafia Helper.
2: Edit the bookmark, delete the bookmark url, and instead paste this code:
Code:
javascript:(function(){document.body.appendChild(document.createElement('script')).src='https://dl.dropboxusercontent.com/u/15215428/mafiahelper/Realms%20Beyond%20Mafia%20Helper.user.js';})();
This modifies your bookmark so that it runs a script that loads the Mafia Helper script when you click the bookmark.
3: To use Mafia Helper, navigate to a mafia thread, then select your Mafia Helper bookmark. The Mafia Helper script will load and the Mafia Helper functionality will appear.
4: When you switch pages the page reloads and you unfortunately have to reselect the Mafia Helper bookmark to reload the script. It's a bit clunky, but you get used to it. Also, you can modify your forum profile settings to display 200 posts per page to mitigate the problem.
Yeah, still doesn't work for me. Ah well, I guess I don't need it all the time.
Does anyone happen to have this file for some reason? The dropbox link is broken.
I have gotten access to the source, but there are currently conflicts with the forum HTML structure preventing the script from working.

If anyone wants to try and help fix it, and knows or can learn HTML/Javascript, here is a link to my work in progress changes: https://github.com/brickastley/realms-be...ols/pull/1

You can also reach out to me on google hangouts to collaborate, [username] at gmail.
I have a version working, but it is VERY MESSY and breaks half of the time, so use at your own annoyance.

https://github.com/brickastley/realms-be...er.user.js
Pages: 1 2 3 4 5 6 7 8 9