Post Reply 
 
Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Outwitters-OSN Redirection Utility [1.31]
10-01-2012, 02:35 PM (This post was last modified: 01-27-2013 12:01 PM by QuantumApocalypse.)
Post: #1
Exclamation Outwitters-OSN Redirection Utility [1.31]
Features:
  • Redirects "outwitters://" URLs to the Outwitters Sports Network
  • Automatically changes plain text "outwitters://" URLs into clickable links
  • Notifies of invalid replays
  • Corrects incorrect links

Installation:
Step 1
This script is based on Javascript, and as such you will need some add-on or tweak for your browser to run it. Firefox and Chrome both have mainstream add-ons available to execute this script, however, other browsers may require manual tweaks to enable use.
  • For Firefox - Greasemonkey:
    Get it now!
    Note: Greasemonkey needs to be switched on by pressing the button so the monkey is no longer faded.
  • For Chrome - Tampermonkey:
    Get it now!
  • For Safari (Mac) - Greasekit:
    Greasekit Installation Guide
    *Untested* I do not have access to a Mac, so I cannot confirm whether or not this add-on will successfully run the script.
Step 2
After installing one of the aforementioned utilities, or one that you found yourself, simply click on this link:
Outwitters-OSN Redirect
Visiting the page should trigger an installation prompt from your add-on. Allow an install, and you're ready! View the Compatible Links Gallery below to check that the script is functioning.

Note: You may need to restart your browser for changes to be applied

This script is only enabled for the onemanleft.com domain due to lack of activity elsewhere. You need to reload any current pages in order for this script to change them.


Compatible Links Gallery
Reformats and Corrects:
outwitters://viewgame?id=ag5vdXR3aXR0ZXJzZ2FtZXIRCxIIR2FtZVJvb20Y1JOWAgw
outwitters://viewgame?id=ag5vdXR3aXR0ZXJzZ2FtZXIRCxIIR2FtZVJvb20Y1JOWAgw
Harti! vs Riptor
http://outwitters//viewgame?id=ag5vdXR3a...20YjfGFAgw
Notifies Invalid Links:
outwitters://viewgame?id=aag5vdXR3aXR0ZXJzZ2FtZXIRCxIIR2FtZVJvb20Y1JOWAgw
outwitters://viewgame?id=g5vdXR3aXR0ZXJzZ2FtZXIRCxIIR2FtZVJvb20YjfGFAgw
outwitters://viewgame?id=ag5vdXR3aXR0ZXJzZ2FtZXIRCxIIR2FtZVJvb20YjfGFAgw
outwitters://viewgame?id=ag5vdXR3aXR0ZXJzZ2FtZXIRCxIIR2FtZVJvb20YjfGFAgw
outwitters://viewgame?id=1
http://outwitters//viewgame?id=asdf



Change Log:
Version 1.0 (1/10/2012)
-Script released

Version 1.01 (2/10/2012)
-Minor adjustments to reduce code

Version 1.1 (25/12/2012)
-Transforms plain text outwitters:// addresses into clickable links!
-Replaces labels of transformed text with "Outwitters Replay" (does not apply to existing links)
-TouchArcade.com domain removed

Version 1.11 (29/12/2012)
-Fixed replays of forum abbreviated links

Version 1.2 (25/1/2013)
-Notifies invalid replay links
-Faster linkification
-Quick edit menu is no longer hidden

Version 1.3 (26/1/2013)
-Properly identifies invalid linkified URLs
-Corrects incorrect links

Version 1.31 (27/1/2013)
-Fixed detection of invalid and corrected URLs
Find all posts by this user
Quote this message in a reply
10-01-2012, 02:56 PM
Post: #2
RE: Greasemonkey Script - open replay links quickly in your browser!
It changes the links. But then tells me the site is blacklisted by some sort of settings.

I AM THE 99.9997%!

[Image: sig.png]
Find all posts by this user
Quote this message in a reply
10-01-2012, 02:57 PM (This post was last modified: 10-01-2012 03:09 PM by QuantumApocalypse.)
Post: #3
RE: Greasemonkey Script - open replay links quickly in your browser!
(10-01-2012 02:56 PM)pookywb Wrote:  It changes the links. But then tells me the site is blacklisted by some sort of settings.

What browser are you using? And what program says it's blacklisted?

Works fine for me on Win 7, Firefox, Waterfox and Chrome...

Could you check that you can access the base site: http://osn.codepenguin.com/replays/
And then: http://osn.codepenguin.com/replays/view/...b20Ymqx5DA
Find all posts by this user
Quote this message in a reply
10-01-2012, 03:07 PM
Post: #4
RE: Greasemonkey Script - open replay links quickly in your browser!
Works perfectly! Thanks. This saves a ton of time =)

[Image: supertitanreplay.png]
Find all posts by this user
Quote this message in a reply
10-02-2012, 04:08 AM
Post: #5
RE: Greasemonkey Script - open replay links quickly in your browser!
Well it's working just fine for me now. So yay! Big Grin

What was happening before was when I clicked on the link, the page would not load. Subsequently, clicking the Tampermonkey logo would display that message.

I AM THE 99.9997%!

[Image: sig.png]
Find all posts by this user
Quote this message in a reply
10-02-2012, 09:24 AM
Post: #6
RE: Greasemonkey Script - open replay links quickly in your browser!
Awesome, thanks! I was looking for something like this just the other day. I'm glad you know more about computers than I do, because I was just looking for something I could do from within Firefox, I had no idea about Greasemonkey.

IronMagus' Replays Thread - Please watch and comment.
Greasemonkey script for Firefox - Open replay links in your browser!
Find all posts by this user
Quote this message in a reply
12-25-2012, 08:54 PM
Post: #7
RE: Greasemonkey Script - Updated! Linkify+redirect simultaneously!
Updated to change plain text outwitters:// addresses into links as well as redirecting! No more unclickable links for replays!

Go here to install/update the script or check for updates in Tampermonkey or Greasemonkey to get the latest version.

Links like this:
outwitters://viewgame?id=ag5vdXR3aXR0ZXJzZ2FtZXIRCxIIR2FtZVJvb20Y1JOWAgw

Will turn into this:
Outwitters Replay
Find all posts by this user
Quote this message in a reply
12-26-2012, 01:02 AM
Post: #8
RE: Outwitters-OSN Redirect Script - Updated! Linkify+redirect simultaneously!
Awesome! Thanks QuantumApocalypse!Smile

GC: GoHeat3
Super-Titan

[Image: sig.png]
Find all posts by this user
Quote this message in a reply
12-26-2012, 01:05 AM
Post: #9
RE: Outwitters-OSN Redirect Script - Updated! Linkify+redirect simultaneously!
Orange understrike under blue text? Lolwut?

Find all posts by this user
Quote this message in a reply
12-28-2012, 05:25 PM (This post was last modified: 12-28-2012 05:26 PM by pookywb.)
Post: #10
RE: Outwitters-OSN Redirect Script - Updated! Linkify+redirect simultaneously!
I think when people paste the hyperlink as the iPhone specific address without adding text to it, the script is bugged.

The forum abbreviates the hyperlink as something like "outwitters://viewgame?id=ag5vdXR3aXR0ZXJ...20Y9L2ZAgw" instead of "outwitters://viewgame?id=ag5vdXR3aXR0ZXJzZ2FtZXIRCxIIR2FtZVJvb20Y9L2ZAgw" (you'll have to view this without the script running)

The script then sees that text, converts it to an osn replay link, and we wind up with "http://osn.codepenguin.com/replays/view/ag5vdXR3aXR0ZXJ...20Y9L2ZAgw"


Am I making sense?

I AM THE 99.9997%!

[Image: sig.png]
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread:
2 Guest(s)

Return to TopReturn to Content