Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- document.querySelectorAll('.comment-body a').forEach(a => {
- const matches = a.href.match(/pivotaltracker.com\/story\/show\/(\d+)/);
- if (matches) {
- const pid = matches[1];
- document.getElementById('merge_title_field').value += ` [Delivers #${pid}]`;
- }
- });
Add Comment
Please, Sign In to add comment