Skip to content

gokhanmeteerturk/fix-jira-ctrl-c-on-linux

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

Fix "Copy doesn't work on Jira" issue

On some linux machines, copy function doesn't work on Jira.

This script is an equally nasty solutions to Jira's nasty navigator.clipBoard override.

You can inject the js code from solution.js to Jira web pages with the help of an extension like JS Injector or Resource Override for Chrome.

Script basically overrides document.oncopy so when you use ctrl+c or Copy command from the context menu, it memorizes selected text, opens a new window, runs navigator's writeText method with the memorized text and closes the window.

Only tested in Chrome v102 to v109 on Ubuntu machine.

If you use Resource Override extension, https://companyname.atlassian.net/browse/* should be sufficient as the Tab Url (Don't forget the asterix).

About

On some linux distros, copy function doesn't work on Jira. This script is an equally nasty solutions to Jira's nasty navigator.clipBoard override.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published