-
Hello everyone,
I've published several userscripts in the past to improve this website and forum. They're now scattered across three threads in this forum and some variations exist, making it hard to find out which scripts exist, which can be combined and which shouldn't be combined.
Thus I merged all my userscripts into one. One script to rule them all. ;-)
You'll only need this single link, the newest version of the script and instructions will always be available here:
http://andreashofmann.net/userscripts/markforster.net/Before you install it, uninstall any of my userscripts you may have installed. You won't need anything beside this script.
It includes:
- Highlight New Topics and Posts
- Highlight Mark Forster's Posts
- Go to Last Page When Opening Topics
- Scroll to Bottom When Opening Topics
- Open Topics in New Tabs/Windows
- Block Esc Key From Forwarding to Login Screen
In addition, there now is an options menu, which will be added to the bottom of the left side bar and allows you to enable/disable all features in realtime.
19 February 2010 at 23:58 | Andreas Hofmann
-
Thanks Andrea. Brilliant as usual.
20 February 2010 at 1:42 | Mike
-
Does it scroll to the bottom when opening topics or does it scroll to the first unread post?
Whichever script I am using scrolls to the last unread post. It highlights unread in yellow on and Mark Forster i n green. That's the way I like it best. Therefore I am thinking that if it isn't broken I shouldn't fix it.
20 February 2010 at 3:26 | MartyH
-
Mike:
Thanks!
MartyH:
Where it scrolls to depends.
If you don't activate one of the "Highlight ..." scripts and don't activate "Jump to Bottom", it will always stay at the top.
If you activate neither one of the "Highlight ..." scripts nor "Jump to Bottom", it will always scroll to the bottom.
If you do activate one of the "Highlight ..." scripts and don't activate "Jump to Bottom", it will scroll to the first new post if there are new posts and stay at the top if there aren't.
If you activate both one of the "Highlight ..." scripts and "Jump to Bottom", it will scroll to the first new post if there are new posts and scroll to the bottom if there aren't.
In that aspect, the new script and my old scripts (installed together or separately respectively) behave exactly the same.
There's one aspect the new script behaves differently: The old standalone higlight script only highlighted Mark's new posts in green. The new script highlights all of Mark's posts, using the same old green for new posts and a much lighter shade of green for old posts.
Oh, and the reason I say "one of" the highlight scripts is that it will scroll to the newest post even if you only highlight Mark's posts. I'll fix that behavior in the next version.
20 February 2010 at 8:26 | Andreas Hofmann
-
<<If you don't activate one of the "Highlight ..." scripts and don't activate "Jump to Bottom", it will always stay at the top.
If you activate neither one of the "Highlight ..." scripts nor "Jump to Bottom", it will always scroll to the bottom.>>
Screwed that one up, it's "install neither -> alway at top" and "don't install highlight, install jump to bottom -> always to bottom", of course.
20 February 2010 at 8:28 | Andreas Hofmann
-
That's brilliant Andreas, thank you! I've never used GreaseMonkey scripts before, so this is a revelation. I'm only sorry I can't use it at work, where I have to use Internet Explorer.
20 February 2010 at 11:06 | Annette
-
Andreas -
Thanks for the explanation of how they work together. Sounds perfect. I'll get it installed right away.
20 February 2010 at 14:24 | MartyH
-
Andreas: Likewise, first time using Grease Monkey scripts. Don't know how it works--it might be magic... But what an improvement for reading this site! This sort of behaviour should be baked right in.
20 February 2010 at 15:07 | ds
-
<< This sort of behaviour should be baked right in. >>
I believe Mark Forster can incorporate AndreasH javascript into his site webpage if he wants. Anyway, I'm another new happy user of AndreasH's script. ;-)
21 February 2010 at 8:40 | sabre23t
-
Installed the script yesterday, and looking at how it works: WOW! Andreas, you're the best!
21 February 2010 at 10:35 | Nicole
-
Feeling a bit dense. . . where is the "bottom of the left side bar" so that I may access the options menu? I'm using firefox. . . do i not have the right version?
21 February 2010 at 18:04 | Joseph
-
I was dense, too--looking for something on the bottom left of the web browser. Once you've installed the scripts, the options box appears embedded on the bottom of left of THIS website! Like magic.
21 February 2010 at 18:14 | ds
-
Joseph:
It means the last box in the left side bar. There are the boxes "Search", "Newsletter", "Most recent postings", "To think about" and "Login", followed by the twitter updates. The box "Userscript Options" should be below that.
21 February 2010 at 18:15 | Andreas Hofmann
-
It is the left bar on the page itself. (I scratched my head like you are doing - don't feel bad.)
21 February 2010 at 18:20 | MartyH
-
Problem is, if the middle pane is longer than the sidebar, the options are not at the bottom of the whole page. They're technically at the bottom of the sidebar, since the sidebar is only as high as the combined height of the boxes it contains, but visually you may think of the sidebar continuing empty to the bottom of the page, in which case "at the bottom of the left sidebar" is confusing.
Perhaps I should've just said "in the left sidebar".
21 February 2010 at 18:23 | Andreas Hofmann
-
Or "in the left sidebar of the website". I forget there are sidebars in browsers. ^_^
21 February 2010 at 18:24 | Andreas Hofmann
-
21 February 2010 at 19:07 | Andreas Hofmann
-
Ha! Thanks folks, it was there in plain sight. Andreas, you were right. . . i was thinking "sidebar" integrated into a browser. The whole time I was thinking "Firefox doesn't have a left hand sidebar!"
Great script, thanks!
22 February 2010 at 0:56 | Joseph
-
Yes, this is awesome. And yes, I also did not see the options on the left sidebar until this thread explained it to me.
Now that I am using this, I feel that it would be more efficient for me if the New Tab/Window option kept the focus on the main forum page, rather than taking me to the newly opened topic here's why.
I go to the forum page. I see the top 4 topics are yellow. What I usually want to do is click all 4 highlighted topics. Since I have the attention span of a fruit fly, if I am immediately taken to the opened topic, I then forget which ones I have already opened and which ones remain to be opened. I would prefer to remain on the forum page and just click all the highlighted topics that interest me. I can then close the forum page and start to read the opened topics.
But all this is petty stuff. The way things are is far superior to the way things were, where I was constantly trying to remember what I had already read and what was new.
The generosity of Mark and Andreas continues to inspire me. Thanks.
22 February 2010 at 0:58 | moises
-
I middle click which opens each in a new tab while leaving me on the main page.
22 February 2010 at 4:48 | MartyH
-
<<Now that I am using this, I feel that it would be more efficient for me if the New Tab/Window option kept the focus on the main forum page, rather than taking me to the newly opened topic here's why.>>
That's something I can't influence, I think. I either let the links open in the same tab/window, or give them target="blank" to open in a new tab/window. HTML doesn't support a "in background" target. Maybe I can find something in JavaScript to achieve that effect.
What you need to do to open them in the background varies depending on which browser you use. In Chrome, I hold Ctrl down while clicking the links. In Opera, it's Ctrl+Shift. In Firefox, Ctrl alone does the job (I don't now if this is influenced by the Tab Mix Plus extension I have installed).
22 February 2010 at 5:47 | Andreas Hofmann
-
And as MartyH says, middle-click works for me in all three browsers as well, but I don't usually do that because my notebook has no middle mouse button. ;-)
22 February 2010 at 5:49 | Andreas Hofmann
-
Nope, opening tabs in the background is something I can't do. It's something you as the users have complete control over, probably as a protection from malicious scripts.
Moises, if you use Firefox, install the Tab Mix Plus extension, it has tons of settings regarding the handling of tabs. You can set new tabs created from links to open in the background automatically there (or invert left click and middle click on links, so left click opens in background and middle click in foreground).
22 February 2010 at 5:57 | Andreas Hofmann
-
Hi, Andreas. Your script works amazingly fine with Firefox. Thanks!!
22 February 2010 at 6:02 | mit
-
Andreas,
Got it! I use Firefox and I see that holding CTRL accomplishes just what I want. Thanks.
22 February 2010 at 18:39 | moises
-
Andreas I am loving the userscript-- I just wish I could test out the "highlight Mark's posts" functionality. :)
22 February 2010 at 21:21 | vegheadjones
-
22 February 2010 at 21:45 | Andreas Hofmann
-
I only want to test it on Mark's new posts... :) :)
22 February 2010 at 21:53 | vegheadjones
-
Okay, okay, I catch your drift. ;-)
22 February 2010 at 22:00 | Andreas Hofmann
-
Thany you Andreas for your effort and time you put into the script.
It is so much easier and faster and fun to read the forum with it.
23 February 2010 at 5:04 | kneitinga
-
Andreas,
Does your script work with internet explorer? It just produces errors when i try to run it!
24 February 2010 at 19:45 | piggler
-
piggler:
No, it doesn't work in Internet Explorer. There are two reasons for this:
1. Internet Explorer doesn't support userscripts.
There exist several attempts to rectify this with external applications (Greasemonkey for IE, Trixie, Turnabout and IE7pro), but even then my script will (for now) still fail.
2. Internet Explorer doesn't support JavaScript.
Sound strange, but it's true. While all other browsers support JavaScript (and are therefore capable of running this script, which I wrote in JavaScript), what IE has isn't JavaScript, but Microsoft JScript. JavaScript and JScript are very similar, but Microsoft often has its own way of doing things, so my script won't work with JScript. The only thing that works currently is the menu.
It's possible to change the script to work with IE or even detect whether it's run in IE or a standards-compliant browser and work in both. I'll eventually do it, but currently I'm concentrating on AutofocusAHK. If anyone want's to take a shot at it in the mean time, feel free.
24 February 2010 at 20:36 | Andreas Hofmann
-
I appreciate the userscript very much. (Foxfire worked best.)
I can easily read just the newer posts and waste less time figuring out where I left off the last time I visited the forum.
You save me time.
Qeran
3 March 2010 at 22:58 | Qeran
-
Me like.
12 March 2010 at 6:18 | khad
-
2 November 2010 at 15:49 | sabre23t
-
2 November 2010 at 16:58 | Alan Baljeu
-
3 November 2010 at 2:46 | MartyH
-
MartyH,
TQ. I saw email notification from AutoFocusTM group of your file upload, and have installed that.
Alan,
I also emailed Andreas copied MartyH on the same. ;-)
3 November 2010 at 4:16 | sabre23t
-
Hi everyone, the homepage of the userscript apparently didn't survive a server move. I have restored it now. If anything doesn't work, let me know.
3 November 2010 at 11:22 | Andreas Hofmann
-
Andreas,
Thanks. I've just installed your latest version of "markforster.net improvement" user script. This version has the bonus "Norman" or "Best Sense" features. Can't see that feature in action though, since Norman is no longer active here.
3 November 2010 at 15:47 | sabre23t
-
Just thought of bumping this very useful userscript for reading MF's forum, for MF readers who might have missed it.
Especially now that MF is posting quite often, it is nice to see his "green" background replies amongst the "yellow" new posts. ;-)
20 August 2011 at 0:52 | sabre23t
-
19 November 2018 at 8:19 | sabre23t
-
Wow, this is a blast from the past!
The script doesn't seem to work anymore, I'll make some adjustments and post a new url here some time this week. Probably today, since I got a feeling this task will stand out to me. :0)
21 November 2018 at 7:08 | Andreas Maurer
-
Creating and maintaining this script is obviously a great public service, though I don't think I'll be using it myself.
But I'm intrigued by sabre23t's remark:
>
This version has the bonus "Norman" or "Best Sense" features. Can't see that feature in action though, since Norman is no longer active here.
>
Did this mean Norman U, of fond memory? Did the script have some sort of defensive measure or early warning against him?
And what about "Best Sense"? Was that a person, or did the script magically sort the smart wheat from the dumb chaff in the posts - using advanced AI, presumably?
If so, I'd better make the effort and install the script.
21 November 2018 at 10:40 | Chris Cooper
-
Chris Cooper:
"Best Sense" was simply the label of a group of three options concerning Norman: Highlighting Norman's posts, Hiding all posts except those by Norman, and Blacking out Norman's posts.
I don't remember how that came about.
21 November 2018 at 12:13 | Andreas Maurer
-
I fixed a lot of the problems and hosted the script here: https://github.com/andreasmaurer/markforster.net-improvements-userscript
I got most options working, just the core functionality of highlighting new topics and posts is still broken. Better uncheck it for now. I also think the "Compact Posts" can under "Sidebar" can be removed, the sidebar has changed since back then.
21 November 2018 at 14:32 | Andreas Maurer
-
The code of the script hasn't exactly aged well, so I'm inclined to completely re-write it, but that is a more time-consuming endeavor. I will create a now forum thread when I start implementing it.
21 November 2018 at 14:34 | Andreas Maurer
-
I think I fixed the highlighting of new posts. At least it is not throwing any errors any more. I'll have to wait for new topics/posts to check.
21 November 2018 at 15:14 | Andreas Maurer
-
Even if it does work, the script was written in a time when there was only one forum, so it will get really confused if you switch between the two forums.
21 November 2018 at 15:26 | Andreas Maurer
-
No wonder Norman flounced out!
I was sorry to see him go.
23 November 2018 at 1:00 | Chris Cooper
-
Not at all. I haven't been able to find the thread to determine the origin of the phrase "Best Sense", but I added those features at Norman's request and he thought it was very funny.
23 November 2018 at 2:24 | Andreas Maurer
-
29 November 2018 at 10:07 | Andreas Maurer
-
Thanks, Andreas - I have some nostalgic reading ahead of me.
I either missed this at the time, or completely forgot it since.
29 November 2018 at 10:40 | Chris Cooper
-
Andreas:
I don't think Norman's departure was anything to do with you. My memory is that he got targeted by one regular poster on the group (who we will call M). M took exception to some of the things Norman wrote and started to investigate his postings on other groups. M wrote an "exposé" of Norman under a pseudonym. M himself later got into an argument with other members of the group and left to set up his own group. That didn't last long.
P.S. I think I removed most of the threads in which this drama took place.
P.P.S I'm now wondering whether "Norman" wasn't actually M's creation in the first place and he was playing both roles.
29 November 2018 at 11:20 | Mark Forster
-
There definitely was a lot of drama here back then. I found multiple occasions where members announced they were leaving the forums around that time, some did.
29 November 2018 at 12:20 | Andreas Maurer
-
29 November 2018 at 12:26 | Andreas Maurer
-
I fixed the url in the first post of this topic so it redirects to the github repository of the currenct userscript.
I have also fixed the highlighting of new posts inside a topic, though it still doesn't work in a way I like. When you visit the index of the forum, it checks for new or updated topics and highlights those. After that it highlights all the posts inside of topics that are newer than the previous time the topics were checked. So it doesn't really un-highlight read posts until the next time new/updated topics are found.
The script has always worked that way, but I'd like to re-write it to actually track the state of each post. The technology improvements and my increased programming experience over the last few years should make it possible.
I will now let this old topic rest and open a new one for the new script once I get around to it.
29 November 2018 at 14:55 | Andreas Maurer
-
29 November 2018 at 16:15 | Mark Forster
-
My apologies, I somehow butchered that link while copying, pasting, and/or editing. The end should be: 1053295?currentPage=2#post1055972
It's an obvious joke buried in a hard to read sarcastic post, so you might have missed or ignored it.
29 November 2018 at 17:00 | Andreas Maurer
-
Andreas:
Ah, yes. I remember it now.
29 November 2018 at 18:23 | Mark Forster
-
10 December 2018 at 8:15 | sabre23t
-
sabre32t:
Well, your post is marked yellow for me. Which extension are you using to run the script, Tampermonkey or Greasemonkey? Does it show that the script is running when you're on this site? Is the configuration menu in the sidebar visible?
10 December 2018 at 13:35 | Andreas Maurer
-
Hi Andreas,
I'm using Tampermonkey 4.7.44. And version 2.0.4 of your userscript. It doesn't seem to work. No yellow highlight for new posts. No configuration menu in the sidebar. May be my old userscript settings configurations gets corrupted or something.
Screenshots here ... Album Link: https://photos.app.goo.gl/rfjr9mfj8ce5o8RL9
11 December 2018 at 4:02 | sabre23t
-
11 December 2018 at 4:20 | sabre23t
-
sabre32t:
Glad you got it working. The highlighting is far from perfect, and doesn't work with the fvp forum, but it's better than nothing. I find the flow that works best for me is opening the forum index, and then open all highlighted topics in new tabs.
11 December 2018 at 10:15 | Andreas Maurer
-
Am I the only for whom the url markforster.net isn't working anymore? I used to use that, but now I can only come here through markforster.squarespace.com. Still OK, but just wondering what happened.
BTW, the captcha doesn't work anymore also, I had to login to be able to post.
21 January 2019 at 14:30 | Nicole
-
Nicole:
Yes, there used to be a reverse proxy functionality which allowed the browser to stay on markforster . net while serving the content from squarespace. This stopped working, I think a few years ago already, and now it's a simple redirect from markforster . net to markforster . squarespace . com.
The captcha is using an old version of the api, which has been turned off. There were warnings about it popping up some months ago.
Both problems probably stem from this site using a very old version of squarespacce, which doesn't receive updates anymore and isn't really supported. Mark has stated at the moment he has no intention of investing the time and money to update this site to a newer version.
22 January 2019 at 6:50 | Andreas Maurer