Skip to content

HariSekhon/TamperMonkey

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

81 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hari Sekhon - TamperMonkey Scripts

GitHub stars GitHub forks LineCount Cocomo License My LinkedIn GitHub Last Commit

Codacy Badge CodeFactor Quality Gate Status Maintainability Rating Reliability Rating Security Rating

TamperMonkey JavaScript Linux Mac

CI Builds Overview Repo on GitHub Repo on GitLab Repo on Azure DevOps Repo on BitBucket

EsLint Validation Kics Grype Semgrep Semgrep Cloud SonarCloud Trivy

TamperMonkey Scripts

Copy and paste these scripts into your TamperMonkey browser extension to customize your browsing experience.

See the Knowlege-Base - TamperMonkey page for more general TamperMonkey info.

Install

Option 1 - Copy & Paste

Copy and paste the raw code into a new script in TamperMonkey.

Use the Raw button on on the top right of the file to copy from.

Option 2 - Import from URL

In TamperMonkey settings, go to Utilies at the top right, then at the bottom of that page see Import from URL.

Paste the Raw URL to the script into the box and click Install.

Raw URL looks like this, which can be obtained from the Raw button at the top right of the file on GitHub:

https://v-raw-githubusercontent-com.adclosenn.dev/HariSekhon/TamperMonkey/refs/heads/main/jira_description_autofill.js

Tel to WhatsApp

tel_to_whatsapp.js

Replaces +tel:... links to WhatsApp clickable links for convenience.

Jira Description Autofill

jira_description_autofill.js

Autofills the Jira ticket description field with HTML contents that you can then edit natively in the Jira UI.

Does not overwrite any already populated description for safety.

For Jira tickets with existing descriptions you can Ctrl-x / Cmd-x to cut your content out and press any key in the description box to trigger the script to fill in the description boilerplate text and then paste your content back in and tweak it.

You can edit the const descriptionHTML = line of code near the top to suit your tastes, currently it renders in the Jira UI as:

Summary

As a platform engineer
I want ...
So that ...

Acceptance Criteria

  • Criteria one...

  • Criteria two...

Engineering Notes & References

  • Put Notes here

  • Record design decisions

  • URLs to references and relevant docs


Troubleshooting

Logging added for debugging is visible in the Chrome Developer Tools -> Console -> All Levels drop down -> tick Verbose.

If the script isn't triggering, check you have copied & pasted it entirely correctly.

On one occasion, no scripts were triggering, and the solution was to remote the TamperMonkey Chrome extension and then re-add it fresh and then install the script back in again.

There was nothing wrong with the code itself, which is revision controlled and hadn't changed.

See the Knowledge-Base - TamperMonkey Troubleshooting section for more details.


More Core Repos

Knowledge

Knowledge-Base Diagrams-as-Code

DevOps Code

DevOps-Bash-tools DevOps-Python-tools DevOps-Perl-tools DevOps-Golang-tools

Containerization

Kubernetes-configs Dockerfiles

CI/CD

GitHub-Actions Jenkins

Databases - DBA - SQL

SQL-scripts

DevOps Reloaded

HAProxy-configs Terraform Packer Ansible Environments

Monitoring

Nagios-Plugins Nagios-Plugin-Kafka Prometheus

Templates

Templates Template-repo

Desktop

TamperMonkey Hammerspoon MPV-Scripts

Spotify

Spotify-tools Spotify-playlists

The rest of my original source repos are here.

Pre-built Docker images are available on my DockerHub and can be re-generated using the my Dockerfiles repo.

About

TamperMonkey Scripts - convert phone number +tel links to WhatsApp links, Jira auto-fill ticket description field to meet Agile requirements

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors