NOTICE: By continued use of this site you understand and agree to the binding Terms of Service and Privacy Policy.
// ==UserScript== // @name Anigif Control // @description Add control to anigif (based on https://github.com/CaptainCodeman/gif-player/) // @namespace https://openuserjs.org/users/krasnovpro/ // @license MIT // @version 2022.12.05 // @include *.gif // @match https://dl.dropboxusercontent.com/s/6wm8u5mpvissyo5/2019-08-30%2021.27.05.gif // @grant none // @updateURL https://openuserjs.org/meta/krasnovpro/Anigif_Control.meta.js // @downloadURL https://openuserjs.org/src/scripts/krasnovpro/Anigif_Control.user.js // @require http://code.jquery.com/jquery-3.3.1.min.js // ==/UserScript== // ==OpenUserJS== // @author krasnovpro // ==/OpenUserJS== (function () { 'use strict'; $('img[src$=".gif"]').each(function () {$(this).replaceWith("<gif-player src='" + $(this).attr("src") + "' size=auto play prerender></gif-player>")}); $.getScript("https://captaincodeman.github.io/gif-player/components/webcomponentsjs/webcomponents-loader.js"); $.getScript("https://captaincodeman.github.io/gif-player/components/webcomponentsjs/webcomponents-hi.js"); $.getScript("https://captaincodeman.github.io/gif-player/components/gif-player/dist/gif-player.es6.js"); //$.getScript("https://raw-dot-custom-elements.appspot.com/CaptainCodeman/gif-player/v0.0.2/webcomponentsjs/webcomponents-loader.js"); //$.getScript("https://raw-dot-custom-elements.appspot.com/CaptainCodeman/gif-player/v0.0.2/gif-player/dist/gif-player.es6.js"); })();