Created
August 6, 2022 05:46
-
-
Save kaichii/dbe28760b6ebc7bed0f93cfbc55319cf to your computer and use it in GitHub Desktop.
userscript github disable turbolinks
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Disable GitHub Turbolinks | |
// @version 0.1 | |
// @description A userscript to disable GitHub turbolinks to force full page navigations | |
// @license MIT | |
// @author Jamie Kyle | |
// @namespace https://github.com/jamiebuilds | |
// @match https://github.com/* | |
// @match https://gist.github.com/* | |
// @run-at document-end | |
// @grant none | |
// @icon https://github.githubassets.com/pinned-octocat.svg | |
// @updateURL https://raw.githubusercontent.com/jamiebuilds/userscript-github-disable-turbolinks/main/userscript-github-disable-turbolinks.js | |
// @downloadURL https://raw.githubusercontent.com/jamiebuilds/userscript-github-disable-turbolinks/main/userscript-github-disable-turbolinks.js | |
// @supportURL https://github.com/jamiebuilds/userscript-github-disable-turbolinks/issues | |
// ==/UserScript== | |
(() => { | |
'use strict' | |
document.body.dataset.turbo = 'false' | |
})() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment