Improve the display of file names in GitHub Releases with the word-wrap feature so that long file names are fully visible on mobile displays.
GitHub Release Filename Wrap is a simple but powerful Userscript that fixes the display of filenames on the GitHub Releases page, especially when accessed via mobile devices or small screens.
By default, the GitHub interface truncates long file names with ellipsis (...). This is very annoying when crucial information is at the end of the file name.
Example of the Problem: You want to download an application, but all you see is:
app-release-v1.0.2-stable-android-arch...You don't know if it's the arm64, x86, or universal version without clicking on each one.
This script forces GitHub's CSS to perform Word Wrap (move to a new line) on asset file names, instead of truncating them.
.... All architecture details (arm64, v8a, x86_64) and file extensions are clearly visible.document-start so that the display is correct before the page finishes loading (prevents display glitches).| Before (Default) ❌ | After (Script Active) ✅ |
|---|---|
app-v2.0-really-long-name-arch... |
app-v2.0-really-long-name-architecture-arm64.apk |
| Important information is missing. | All text is clearly visible. |
This script works by overriding GitHub's default CSS classes:
.Box-row a.Truncate so that white-space becomes normal.word-break: break-word for neat word wrapping.