shush / Shush.se Next/Previous Episode

// ==UserScript==
// @name       Shush.se Next/Previous Episode
// @version    0.3
// @description  Adds a next/previous episode button below videos on Shush.se
// @match      http://www.shush.se/*
// @match      https://www.shush.se/*
// @copyright  2014+, IceBadger
// @updateURL  https://openuserjs.org/meta/shush/Shush.se_NextPrevious_Episode.meta.js
// ==/UserScript==

var pageurl = document.URL;

var nextepisodenumber  = pageurl.replace(/(\d+)/, function(){return arguments[1]*1+1} );
var previousepisodenumber  = pageurl.replace(/(\d+)/, function(){return arguments[1]*1-1} );

$("#load").append ('<div style="text-align:center;font-size:24px;"><br /><a style="margin-right:200px" href="'+previousepisodenumber+'">Previous Episode</a><a href="'+nextepisodenumber+'">Next Episode</a></div>');