Sets KissAnime player to beta server.
// ==UserScript==
// @name KissAnime Default Server
// @namespace KissAnimePlayer
// @description Sets KissAnime player to beta server.
// @include *kissanime.ru*
// @run-at document-start
// @icon http://kissanime.ru/Content/images/favicon.ico
// @version 2.1
// @author /u/HMS_Dreadnought
// @description Automatically sets the Beta server as default and also fixes the issue of the beta server player retrying when loading the video at the start.
// @grant none
// ==/UserScript==
function ChangeUrl() {
if(window.location.href.indexOf("&s=default") > -1) {
window.stop();
var updateLink = '&s=beta&pfail=1';
var currentLink = window.location.href;
currentLink = currentLink.replace('&s=default', updateLink);
location.replace(currentLink);
}
}
ChangeUrl();