Skip to content

Instantly share code, notes, and snippets.

@jangxx
Last active August 18, 2016 16:03
Show Gist options
  • Save jangxx/0b0dda9fea0cfca258910a40195a1460 to your computer and use it in GitHub Desktop.
Save jangxx/0b0dda9fea0cfca258910a40195a1460 to your computer and use it in GitHub Desktop.
Userscript for Tampermonkey to fix the god-awful slow animations on ksk-steinfurt.de
// ==UserScript==
// @name KSK Animation fix
// @version 0.3
// ==/UserScript==
// ==UserScript==
// @name KSK Animation fix
// @namespace http://jangxx.com/
// @version 0.3
// @description Removes the god-awful slow animations on the page of my bank Kreissparkasse Steinfurt
// @author jangxx
// @match https://www.ksk-steinfurt.de/de/*
// @grant none
// @downloadURL https://gist.github.com/jangxx/0b0dda9fea0cfca258910a40195a1460/raw/ksk_animation_fix.user.js
// @updateURL https://gist.github.com/jangxx/0b0dda9fea0cfca258910a40195a1460/raw/ksk_animation_fix.meta.js
// ==/UserScript==
(function() {
'use strict';
var style = document.createElement("style");
style.innerHTML = ".js .navigation_visible .if6_navigation>div {transition: none !important }";
style.innerHTML += ".js .navigation_visible .if6_navigation div div {transition: none !important }";
style.innerHTML += ".if6_outer { transition: none !important }";
style.innerHTML += ".if6_navigation>div { transition: none !important }";
document.body.appendChild(style);
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment