Created
September 15, 2022 08:24
-
-
Save aureleoules/6bafcf3e255bfd528ef4e3d034f87dbc to your computer and use it in GitHub Desktop.
Load all PR comments
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript: (async function() { | |
async function unwrap() { | |
const loadMoreBtn = document.querySelector('button.ajax-pagination-btn.no-underline.pb-1.pt-0.px-4.mt-0.mb-1.color-bg-default.border-0'); | |
if (loadMoreBtn) { | |
loadMoreBtn.click(); | |
await setTimeout(unwrap, 5000); | |
} | |
} | |
await unwrap(); | |
await setTimeout(() => document.querySelectorAll('span.Details-content--closed').forEach((e) => { | |
e.click() | |
}), 5000); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Can be copy pasted in a browser bookmark in the 'URL' field as is.