cross-posted from: https://programming.dev/post/23000833
I've absolutely grown to hate everything AI/LLM related.
It's sole marginal benefit is to senior devs,
with generating some boiler plate code,
which you usually still need to adjust.
For the rest it's been a waste of:
- Time during development, with wrong answers.
- Time during reviews, with garbage generated PRs from junior devs.
- Energy, contributing to global warming.
But lately M$ has been intrusively shoving Copilot down our throats on Github, which I'm quite unhappy with.
So if any of you have some uBlock Origin filters,
or any other ideas on how I can block this Copilot slop out,
please do enlighten me!
Edit:
Did some searching of my own.
Go to: https://github.com/settings/copilot
Block + disable everything you can under there.
Then go to uBlock Origin => Open the Dashboard => My Filters => Add:
github.com##.copilotPreview__container
github.com##.AppHeader-CopilotChat
github.com##li.ActionListItem:has-text(Copilot)
github.com##li.TimelineItem:has-text(Copilot)
github.com##div.pb-4:has-text(Copilot)
github.com###copilot_free_global
github.com###blob-view-header-copilot-icon
github.com##a[href*="/resources/articles/ai"]
github.com##a[href*="/settings/copilot"]
github.com##a[href*="/features/copilot"]
github.blog##a[href*="/features/copilot"]
github.blog##a[href*="/ai-and-ml"]
github.blog##article.changelog-label-copilot
github.blog##article.changelog-label-models
It's not perfect, but at least it's a start of getting rid of the unwanted content.
uBlock's source code is hosted on Github I think, so maybe they're not so keen on openly disrupting their dumb AI.
Github itself has a helpful guide though, on how your firewall may be blocking Copilot. Might be possible to just ban all traffic from these URLs and be rid of it?
Thank you, that's already a nice start! ๐
But I was mostly hoping to block the UI elements,
e.g. today they added a Copilot button,
and they also moved the search bar,
and replaced it's old position with "ask copilot".
Would be lovely get the feel of the old Github UI back
with all the Copilot references filtered out.
Edit: Figured it out, check my main post edit for the filters!