• Hello Guest, welcome to the initial stages of our new platform!
    You can find some additional information about where we are in the process of migrating the board and setting up our new software here

    Thank you for being a part of our community!

Fix for broken links on Turbobricks

pinguin

Fuck ICE
Joined
May 13, 2006
Location
MN
TurboFicks
Features as of latest Version (264):
  • Fixes Broken links
  • Makes my avatar dance (this is a good way to tell if the script is working)
  • Adds a navigation bar to the top of threads in mobile browsers

I've made a small script that automatically fixes the broken old style forum links on here. Works with both links to threads, and links to individual posts.

You'll need a user script add on like tampermonkey to use this script.

After installing tampermonkey, the script is on greasy fork https://greasyfork.org/en/scripts/542128-turboficks
Click the green install link on that page, and everything should work. This is the easiest method. It is also the preferred method
Installing from greasy form makes updating easy. I also can't promise that the file hosted here will always be the newest version. However, it will probably work just fine, I doubt updates will be frequently necessary.

Hopefully this is useful to everyone. If you have any issues or questions, feel free to PM me.

I have personally tested this on Firefox Desktop, Chrome Desktop (see note below), and Firefox Android (all with Tampermonkey). If you're using it on a different platform or with a different User Script Manager, let me know and I can make a more definitive list of supported browsers and platforms.

Note for Chrome Users: Using tampermonkey on chrome requires you to enable developer mode in the extension manager, then in the tampermonkey settings, you have to toggle Allow User Scripts and Allow access to file URLs and then it will work. Chrome on android does not support extensions, if you want to use this on mobile, you will have to install a different browser. My suggestion is if you don't absolutely have to use chrome, try Firefox.


You can also download and unzip the attached file, then drag it into your browser which should trigger the install process, or you can click on tampermonkey and then on "create a new script" and paste the contents of the file over the default new script template. I can't really think of a reason to do that unless you're trying to make your own version of the script, in which case: feel free to share changes.
As of version 264, I no longer see the value in providing a zip file, as the code is available to copy from GreasyFork
 
Last edited:
I've found another type of link that doesn't work for this, and I'm trying to make it work in the most elegant way possible. So far it's a mess, but I'm working on it.
In the meantime, this should work for most old links.
 
New version up. Fixed the link that was failing. Everything else still seems to work.
 
ATTENTION:
If you installed the script before the time of this post, the new version will create a second instance of the script. Easiest solution is to remove the userscript and install the new script from greasyfork.
If you installed after, ignore.
 
Maybe something to ask ?

If i use this old style link:


it is converted to this:


which gives a 404 error.

Can there be a tweak to output the link in the following format that works ?


edit: i can't stop the forum making these links as text only .. it converts them into real links .. damn .. hope you understand what i mean

A suggestion: Can you post some old style links that someone can test if the script is correctly installed and working ? I am getting for example a "no script is running" sign, but in the options turbo ficks is enabled ..

Thanks
 
Last edited:
The links you posted both work for me. What should be happening, is after clicking the link, you are immediately sent to the 404 page, it will then convert the url and automatically reload as the proper page.

This is both less resource intensive than doing a find and replace in every page and it works with links on outside pages. The script should only run once on page load.

Is the penguin in my avatar dancing? If it is, the script is running properly, if not it's not running on load for whatever reason.
 
The links you posted both work for me. What should be happening, is after clicking the link, you are immediately sent to the 404 page, it will then convert the url and automatically reload as the proper page.

This is both less resource intensive than doing a find and replace in every page and it works with links on outside pages. The script should only run once on page load.

Is the penguin in my avatar dancing? If it is, the script is running properly, if not it's not running on load for whatever reason.
Not the actual icon, but it does if you open the image in a new tab.

12241.jpg
 
Should work like this, including dancing penguin.


Effect is the same on desktop Firefox.
 
Do you have developer mode enabled in chrome?

tampermonkey FAQ said:
Chrome

  • Download the CRX file (e.g. from the links shown here)
  • Open the extensions page (chrome://extensions) in your browser.
  • Enable the "Developer mode" switch at the top right.
  • Drag and drop the downloaded CRX file into the extensions page.

Not having developer mode enabled can apparently cause scripts to not load.

I'll see if I can install chrome and reproduce the behavior if that isn't the issue.
 
Last edited:
In fact it is in developer mode, so this is not the case.

So yes, if you can reproduce it, it would be great ! Thanks !
 
OK, chrome was a pain. I had to enable dev mode, then scroll down and enable allow userscripts and allow access to file URLs, but it's working now.
OOBxPgL.png

File URLs may or may not have been necessary. Chrome really wants you to not tinker with stuff. My honest advice would probably be unless you absolutely have to use chrome, don't .
 
Last edited:
New Functionality added for mobile!
 
Back
Top