Skip to content

Hide Compare & PR Prompt on Repositories by masp005

Screenshot of Hide Compare & PR Prompt on Repositories

Details

Authormasp005

LicenseCC0

Categorygithub

Created

Updated

Code size606 B

Code checksumf4f21daa

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Hides the "Compare & Pull Request" Prompt on the top of GitHub repositories that have multiple branches. You know you do. You don't care about them.

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name         Hide Compare & PR Prompt on Repositories
@version      20250412.22.27
@namespace    https://userstyles.world/user/masp005
@description  Hides the "Compare & Pull Request" Prompt on the top of GitHub repositories that have multiple branches. You know you do. You don't care about them.
@author       masp005
@license      CC0
==/UserStyle== */

@-moz-document regexp("^https?://github\\.com/.+?/.+?$") {
turbo-frame#repo-content-turbo-frame .Layout-main [data-target="react-partial.reactRoot"] > div > :first-child:has(div:first-child > a:nth-child(2)) {
    display:none;
}
}

Reviews

No reviews yet.