Last active
July 8, 2020 13:31
-
-
Save alekseykarpenko/7db8721770d574daa87693db0cd7a4d2 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 Jira Scrolling Conflict Resolver | |
// @namespace http://alekseykarpenko.com | |
// @version 0.2 | |
// @description Resolve the conflict between scrolling and swipe back on Jira Addons | |
// @author Aleksey Karpenko <[email protected]> | |
// @match https://*.atlassian.net/* | |
// @grant none | |
// @downloadURL https://gist.githubusercontent.com/alekseykarpenko/7db8721770d574daa87693db0cd7a4d2/raw/jira_scrolling_swipe.user.js | |
// @updateURL https://gist.githubusercontent.com/alekseykarpenko/7db8721770d574daa87693db0cd7a4d2/raw/jira_scrolling_swipe.user.js | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
alert('modified body!'); | |
document.getElementsByTagName("body")[0].style.overscrollBehaviorX = "none"; | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment