Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: tghw on January 08, 2019, 07:02:06 PM

Title: Fix Google Searches to MachSupport
Post by: tghw on January 08, 2019, 07:02:06 PM
Hey all,

I'm new around here, but I was getting really frustrated with the broken Google links to the forum. Sounds like a lot of you were, too.

I've coded up a quick fix, hopefully it'll be helpful for some of you.

Steps:
1. Install TamperMonkey for your browser by going to https://tampermonkey.net/ (https://tampermonkey.net/). Select the Stable version.
(TamperMonkey is an extension that allows you to run your own scripts on certain pages. Just be careful what you install. Like anything, if it seems fishy, think twice.)
2. Install the script I wrote by going to https://openuserjs.org/scripts/tghw/Fix_MachSupport (https://openuserjs.org/scripts/tghw/Fix_MachSupport) and click the blue "Install" link.

If you are weary of installing a script from a new user such as myself, good on you. Fortunately, you can look at the source code yourself: https://openuserjs.org/scripts/tghw/Fix_MachSupport/source (https://openuserjs.org/scripts/tghw/Fix_MachSupport/source)

It's very simple: it finds all links on the page that are search results and replaces "https://www.machsupport.com/" with "http://forum.machsupport.com/". That way, when you click a link from Google, you end up at the right page, instead of the homepage. That's it!

If you have any questions, please don't hesitate to ask!