thoughtsunificator / anime-twist-premium

// ==UserScript==
// @license				      MIT
// @copyright           Copyright (c) 2019, Romain Lebesle <oss@thoughtsunificator.me> (https://thoughtsunificator.me)
// @namespace           https://thoughtsunificator.me
// @name                anime-twist-premium
// @author				      Romain Lebesle <oss@thoughtsunificator.me> (https://thoughtsunificator.me)
// @homepageURL		      https://github.com/thoughtsunificator/anime-twist-premium
// @supportURL          https://thoughtsunificator.me/
// @version             1.2
// @description         Your Anime Twist's favorite accessory
// @icon                https://raw.githubusercontent.com/thoughtsunificator/anime-twist-premium-extension/master/public/resource/icon256.png
// @run-at 				      document-start
// @include             https://twist.moe/*
// @grant			          GM_addStyle
// @grant               GM_getResourceText
// @resource            lib_paginator.css https://raw.githubusercontent.com/thoughtsunificator/userinterface.js-paginator/34136b695ea3c1a1cf7fadbcb9dbb3c7046b6a5d/resource/paginator.css
// @resource            lib_popup.css https://raw.githubusercontent.com/thoughtsunificator/userinterface.js-collection/61124b3586c599820ddf0868a1287ecf2ac22be7/resource/popup.css
// @resource            popup.css https://raw.githubusercontent.com/thoughtsunificator/anime-twist-premium/master/resource/popup.css
// @resource            anime-twist-premium.css https://raw.githubusercontent.com/thoughtsunificator/anime-twist-premium/master/resource/anime-twist-premium.css
// @resource            watchlist.css https://raw.githubusercontent.com/thoughtsunificator/anime-twist-premium/master/resource/watchlist.css
// @resource            search.css https://raw.githubusercontent.com/thoughtsunificator/anime-twist-premium/master/resource/search.css
// @require				      https://raw.githubusercontent.com/thoughtsunificator/userinterface.js/9e8e92823974bc7b9eff6ef79b5744ab762f5259/src/userinterface.js
// @require				      https://raw.githubusercontent.com/thoughtsunificator/userinterface.js-collection/61124b3586c599820ddf0868a1287ecf2ac22be7/userinterface/popup.js
// @require				      https://raw.githubusercontent.com/thoughtsunificator/userinterface.js-collection/61124b3586c599820ddf0868a1287ecf2ac22be7/userinterface/popup-confirm.js
// @require				      https://raw.githubusercontent.com/thoughtsunificator/userinterface.js-collection/61124b3586c599820ddf0868a1287ecf2ac22be7/userinterface/popup-controls.js
// @require				      https://raw.githubusercontent.com/thoughtsunificator/userinterface.js-collection/61124b3586c599820ddf0868a1287ecf2ac22be7/userinterface/button.js
// @require				      https://raw.githubusercontent.com/thoughtsunificator/userinterface.js-paginator/34136b695ea3c1a1cf7fadbcb9dbb3c7046b6a5d/src/object/paginator.js
// @require				      https://raw.githubusercontent.com/thoughtsunificator/userinterface.js-paginator/34136b695ea3c1a1cf7fadbcb9dbb3c7046b6a5d/src/object/page.js
// @require				      https://raw.githubusercontent.com/thoughtsunificator/userinterface.js-paginator/34136b695ea3c1a1cf7fadbcb9dbb3c7046b6a5d/src/userinterface/paginator.js
// @require				      https://raw.githubusercontent.com/thoughtsunificator/userinterface.js-paginator/34136b695ea3c1a1cf7fadbcb9dbb3c7046b6a5d/src/userinterface/page.js
// @require				      https://raw.githubusercontent.com/thoughtsunificator/anime-twist-premium/master/object/atp.js
// @require				      https://raw.githubusercontent.com/thoughtsunificator/anime-twist-premium/master/object/search.js
// @require				      https://raw.githubusercontent.com/thoughtsunificator/anime-twist-premium/master/object/search-entry.js
// @require				      https://raw.githubusercontent.com/thoughtsunificator/anime-twist-premium/master/data/search-engine.js
// @require				      https://raw.githubusercontent.com/thoughtsunificator/anime-twist-premium/master/object/watch-list.js
// @require				      https://raw.githubusercontent.com/thoughtsunificator/anime-twist-premium/master/object/watch-list-entry.js
// @require				      https://raw.githubusercontent.com/thoughtsunificator/anime-twist-premium/master/userinterface/atp.js
// @require				      https://raw.githubusercontent.com/thoughtsunificator/anime-twist-premium/master/userinterface/watch-list-add.js
// @require				      https://raw.githubusercontent.com/thoughtsunificator/anime-twist-premium/master/userinterface/watch-list-entry.js
// @require				      https://raw.githubusercontent.com/thoughtsunificator/anime-twist-premium/master/userinterface/watch-list-lists.js
// @require				      https://raw.githubusercontent.com/thoughtsunificator/anime-twist-premium/master/userinterface/watch-list-list.js
// @require				      https://raw.githubusercontent.com/thoughtsunificator/anime-twist-premium/master/userinterface/watch-list-menu.js
// @require				      https://raw.githubusercontent.com/thoughtsunificator/anime-twist-premium/master/userinterface/watch-list-menu-toggles.js
// @require				      https://raw.githubusercontent.com/thoughtsunificator/anime-twist-premium/master/userinterface/watch-list.js
// @require				      https://raw.githubusercontent.com/thoughtsunificator/anime-twist-premium/master/userinterface/search.js
// @require				      https://raw.githubusercontent.com/thoughtsunificator/anime-twist-premium/master/userinterface/search-random.js
// ==/UserScript==

GM_addStyle(GM_getResourceText("lib_paginator.css"))
GM_addStyle(GM_getResourceText("lib_popup.css"))
GM_addStyle(GM_getResourceText("popup.css"))
GM_addStyle(GM_getResourceText("anime-twist-premium.css"))
GM_addStyle(GM_getResourceText("watchlist.css"))
GM_addStyle(GM_getResourceText("search.css"))

UserInterface.runModel("atp", { parentNode: document.documentElement })