Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # copy bookmark
- javascript:(function(){
- const field1 = "[data-test-id='issue.views.issue-base.foundation.breadcrumbs.breadcrumb-current-issue-container'] a span";
- const field2 = "[data-test-id='issue.views.issue-base.foundation.summary.heading']";
- let key = document.querySelector(field1).innerText;
- let label = document.querySelector(field2);
- let comment = key + " " + label.innerText;label.innerText = comment;
- document.location.href = "https://ecocode.mite.yo.lk/#now?comment="+comment;
- })();
- # paste bookmark
- javascript:(function(){
- let comment = document.location.href.split("comment=")[1];
- document.getElementById("open_new").click();
- document.getElementById("time_entry_note").value = decodeURI(comment);
- })();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement