thoughtsunificator / anime-twist-premium

// ==UserScript==
// @license				MIT
// @copyright           Copyright (c) 2019, Romain Lebesle <oss@thoughtsunificator.me> (https://thoughtsunificator.me)
// @namespace           http://thoughtsunificator.me
// @name                anime-twist-premium
// @author				Romain Lebesle <oss@thoughtsunificator.me> (https://thoughtsunificator.me)
// @homepageURL		    https://github.com/thoughtsunificator/anime-twist-premium
// @supportURL          http://thoughtsunificator.me/
// @version             1.1
// @description         Your Anime Twist's favorite accessory
// @icon                https://raw.githubusercontent.com/thoughtsunificator/anime-twist-premium-extension/master/public/resource/icon192.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/55599cf6c5c7a6b80807a3438657aeb14173a0e0/resource/paginator.css
// @resource            lib_popup.css https://raw.githubusercontent.com/thoughtsunificator/userinterface.js-collection/abb9fd068fa673f6eccce8198fab2f457d510e39/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/ef0062f991534ce90e23a7389ae5f16126f66b88/src/userinterface.js
// @require				https://raw.githubusercontent.com/thoughtsunificator/userinterface.js-collection/abb9fd068fa673f6eccce8198fab2f457d510e39/userinterface/popup.js
// @require				https://raw.githubusercontent.com/thoughtsunificator/userinterface.js-collection/abb9fd068fa673f6eccce8198fab2f457d510e39/userinterface/popup-confirm.js
// @require				https://raw.githubusercontent.com/thoughtsunificator/userinterface.js-collection/abb9fd068fa673f6eccce8198fab2f457d510e39/userinterface/popup-controls.js
// @require				https://raw.githubusercontent.com/thoughtsunificator/userinterface.js-collection/abb9fd068fa673f6eccce8198fab2f457d510e39/userinterface/button.js
// @require				https://raw.githubusercontent.com/thoughtsunificator/userinterface.js-paginator/55599cf6c5c7a6b80807a3438657aeb14173a0e0/src/object/paginator.js
// @require				https://raw.githubusercontent.com/thoughtsunificator/userinterface.js-paginator/55599cf6c5c7a6b80807a3438657aeb14173a0e0/src/object/page.js
// @require				https://raw.githubusercontent.com/thoughtsunificator/userinterface.js-paginator/55599cf6c5c7a6b80807a3438657aeb14173a0e0/src/userinterface/paginator.js
// @require				https://raw.githubusercontent.com/thoughtsunificator/userinterface.js-paginator/55599cf6c5c7a6b80807a3438657aeb14173a0e0/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 })