- Right Click on the Bookmarks bar
- Click on Add Page
- Copy the contents of script.js and paste it as the value of URL text box. Hit Save.
- Navigate to JIRA issues filter page and click on the saved bookmark once. You will get an alert. Hover over any issue number or title in and Enjoy the awesomeness.. 🎊
Last active
November 22, 2018 11:17
-
-
Save sidthesloth92/296a2ea2e148826def57ee4cfb13883c to your computer and use it in GitHub Desktop.
NVE - Three Finger Tap JS
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
javascript:(function() { | |
var link = document.createElement('link'); | |
link.setAttribute('rel', 'stylesheet'); | |
link.setAttribute('href', 'https://unpkg.com/[email protected]/dist/css/threeFingerTap.min.css'); | |
document.body.appendChild(link); | |
var script = document.createElement('script'); | |
script.src = 'https://unpkg.com/[email protected]/dist/js/threeFingerTap.min.js'; | |
script.onload = mainFunction; | |
document.body.appendChild(script); | |
function mainFunction() { | |
var ticketLinks = [ ...Array.from(document.querySelectorAll(".summary a.issue-link")), | |
...Array.from(document.querySelectorAll(".issuekey a.issue-link"))]; | |
ticketLinks.forEach((ticketLink) => { | |
ticketLink.classList.add('three-finger-tap'); | |
}); | |
threeFingerTap.init({ | |
name : 'three-finger-tap', | |
hoverTimeout : 1000 | |
}); | |
alert("Three Finger Tap JS Initialized"); | |
} | |
})() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment