this post was submitted on 18 Dec 2024
12 points (100.0% liked)

Ask Experienced Devs

1254 readers
1 users here now

Icon base by Delapouite under CC BY 3.0 with modifications to add a gradient

founded 2 years ago
MODERATORS
12
Blocking Copilot on Github? (discuss.tchncs.de)
submitted 1 month ago* (last edited 1 week ago) by [email protected] to c/ask_experienced_devs
 

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.ActionList-sectionDivider:has-text(Copilot)
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.

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here