(Not) Recently, GitHub updated its UI. Now, when viewing a code file, dragging the mouse to select text, or simply clicking anywhere on the page, a blinking cursor appears, similar to caret browsing in browsers. If you select a code or accidentally click on the code page, you have to find an off-screen area to click before you can use the back/forward buttons. This makes browsing code files quite annoying.
Disable via GitHub itself
- Click on the horizontal dot icon.
- Enable
Wrap Lines
, and it’s done.
- That useless feature is gone, but you need to enable Wrap Lines every time if you delete cookies from your browsers.
Using AdBlocker
You can block this useless feature with an AdBlocker such as AdBlock, AdBlock Plus, AdGuard, or uBlock Origin (uBo).
- Just add this
filter
to your AdBlocker:
|
|
- Save it, and it’s done.
Using userstyles
You can disable this useless feature using CSS userContent.css
in Firefox or Stylus Extensions.
- Create a new style that only applies to github.com.
- Paste this line:
|
|
- Save it.