Skip to content

Instantly share code, notes, and snippets.

@fatso83
Last active August 26, 2022 21:07
Show Gist options
  • Save fatso83/5d386bdff9647626bbb0ef06b46d0924 to your computer and use it in GitHub Desktop.
Save fatso83/5d386bdff9647626bbb0ef06b46d0924 to your computer and use it in GitHub Desktop.
This TamperMonkey script will allow you to download manuals from the Concord page without being redirected nilly-willy. Requires TamperMonkey extension in Chrome/Edge/Firefox
// ==UserScript==
// @name Prevent Jane redirect
// @namespace http://tampermonkey.net/
// @version 0.1
// @description Out-trick the neanderthals responsible for redirecting the Concord customers to the Jane page with JS
// @author Carl-Erik Kopseng
// @match https://no.concord.es/support/nedlastinger/
// @icon https://www.google.com/s2/favicons?sz=64&domain=concord.es
// @grant none
// @run-at document-start
// ==/UserScript==
// This script will allow you to undisturbed download manuals from the Concord page.
// This is in response to
//https://www.facebook.com/Janeofficialglobal/posts/5269281703179031?comment_id=601709051675744&reply_comment_id=756738772267812
console.log('Setting up setTimeout stub');
window.setTimeout = function setTimeout(...args) { console.log('Prevented running', args[0].toString()) };
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment