As a French person I feel like it's my duty to explain strikes to you. - AdrienIer

Create an account  

 
Mafia Helper: User script for filtering posts and making tallies

(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
I have to run.
Reply

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.
Surprise! Turns out I'm a girl!
Reply

(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.
I have to run.
Reply

(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?
Surprise! Turns out I'm a girl!
Reply

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.
I have to run.
Reply

Yeah, still doesn't work for me. Ah well, I guess I don't need it all the time.
Surprise! Turns out I'm a girl!
Reply

Does anyone happen to have this file for some reason? The dropbox link is broken.
Reply

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.
Reply

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
Reply



Forum Jump: