Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@kiwec
Created January 26, 2022 10:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kiwec/b2a6daa8fe2055a5a7a0ff741bafa9b7 to your computer and use it in GitHub Desktop.
Save kiwec/b2a6daa8fe2055a5a7a0ff741bafa9b7 to your computer and use it in GitHub Desktop.
// ==UserScript==
// @name RemoveFlash
// @namespace Ranze/RemoveFlash
// @author Ranze/RemoveFlash
// @match *://www.jeuxvideo.com/*
// @description Supprimer le flash lorsqu'un post est ajouté
// @version 1
// @grant none
// ==/UserScript==
//
const documentTITLE = document.title;
const documentHREF = window.location.href;
history.replaceState({}, documentTITLE, documentHREF.split('#')[0]);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment