diff --git a/global-review-summary/global-review-summary.user.js b/global-review-summary/global-review-summary.user.js index c6a3657..f03308a 100644 --- a/global-review-summary/global-review-summary.user.js +++ b/global-review-summary/global-review-summary.user.js @@ -1,6 +1,6 @@ // ==UserScript== // @name Stack Exchange Global Review Summary -// @version 0.2 +// @version 0.3 // @description Stack Exchange network wide review summary available in your network profile // @author Glorfindel // @attribution Floern (https://github.com/Floern) @@ -179,10 +179,13 @@ function showGlobalReviewSummaryLink() { if (tabs != null) { tabs.appendChild(link); } else { - var header = document.querySelector('#content .subheader'); - header.setAttribute('style', 'display: table'); - link.setAttribute('style', 'padding-left: 20px; display: table-cell; vertical-align: middle;'); - header.appendChild(link); + let header = document.querySelector('#content h1.fs-headline1'); + let button = $(`
`); + button.insertAfter(header); } }