Skip to content

Commit

Permalink
bitbucket-copy-commit-reference: BitbucketCloud: getTargetSelector: u…
Browse files Browse the repository at this point in the history
…se more robust selector
  • Loading branch information
rybak committed Jul 25, 2024
1 parent f94eece commit 39447da
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bitbucket-copy-commit-reference.user.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// ==UserScript==
// @name Bitbucket: copy commit reference
// @namespace https://github.com/rybak/atlassian-tweaks
// @version 9
// @version 10
// @description Adds a "Copy commit reference" link to every commit page on Bitbucket Cloud and Bitbucket Server.
// @license AGPL-3.0-only
// @author Andrei Rybak
Expand Down Expand Up @@ -92,7 +92,7 @@
* Box with "Jane Doe authored and John Doe committed deadbeef"
* "YYYY-MM-DD"
*/
return '.css-tbegx5.e1tw8lnx2';
return '[data-testid="profileCardTrigger"] + div';
}

getFullHash() {
Expand Down

0 comments on commit 39447da

Please sign in to comment.