Skip to content

Commit 4e745be

Browse files
committed
Deleted hide GF notice on GitHub
1 parent 3a259e5 commit 4e745be

File tree

5 files changed

+5
-40
lines changed

5 files changed

+5
-40
lines changed

github/github-star-history/github-star-history.user.js

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
// @description:zh-TW 將明星曆史圖表添加到 GitHub 存儲庫的側邊欄
1414
// @author Adam Lui
1515
// @namespace https://github.com/adamlui
16-
// @version 2025.7.28.4
16+
// @version 2025.7.31
1717
// @license MIT
1818
// @icon https://github.githubassets.com/favicons/favicon.png
1919
// @compatible chrome
@@ -43,13 +43,6 @@
4343

4444
localStorage.alertQueue = '[]' ; window.config = { bgAnimationsDisabled: false }
4545

46-
// Hide GF alert on GitHub if found
47-
if (location.pathname.includes('github-star-history')) {
48-
const gfAlert = [...document.querySelectorAll('.markdown-alert')]
49-
.find(alert => alert.textContent.includes('Greasy Fork'))
50-
if (gfAlert) gfAlert.style.display = 'none'
51-
}
52-
5346
// Init ENV context
5447
window.env = {
5548
browser: {

github/github-widescreen/github-widescreen.user.js

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
// @description:zh-TW 自動隱藏 GitHub 上引人注目的側面板
1414
// @author Adam Lui
1515
// @namespace https://github.com/adamlui
16-
// @version 2025.7.28.3
16+
// @version 2025.7.31
1717
// @license MIT
1818
// @icon https://github.githubassets.com/favicons/favicon.png
1919
// @match *://github.com/*
@@ -36,13 +36,6 @@
3636

3737
localStorage.alertQueue = '[]' ; window.config = { bgAnimationsDisabled: false }
3838

39-
// Hide GF alert on GitHub if found
40-
if (location.pathname.includes('github-widescreen')) {
41-
const gfAlert = [...document.querySelectorAll('.markdown-alert')]
42-
.find(alert => alert.textContent.includes('Greasy Fork'))
43-
if (gfAlert) gfAlert.style.display = 'none'
44-
}
45-
4639
// Init ENV context
4740
window.env = {
4841
browser: {

hide-forum-images/hide-forum-images.user.js

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// ==UserScript==
22
// @name Hide Forum Images
3-
// @version 2025.4.11
3+
// @version 2025.7.31
44
// @author Adam Lui
55
// @namespace https://adamlui.com
66
// @description Hides images/videos from XenForo, vBulletin & Discourse forums.
@@ -20,13 +20,6 @@
2020
// @contributionURL https://github.com/sponsors/adamlui
2121
// ==/UserScript==
2222

23-
// Hide GF alert on GitHub if found
24-
if (location.host == 'github.com' && location.pathname.includes('hide-forum-images')) {
25-
const gfAlert = [...document.querySelectorAll('.markdown-alert')]
26-
.find(alert => alert.textContent.includes('Greasy Fork'))
27-
if (gfAlert) gfAlert.style.display = 'none'
28-
}
29-
3023
if (document.querySelector('[src*="vbulletin"], [src*="discourse"]') || /xenforo/i.test(document.querySelector('.copyright').textContent)) {
3124
const css = 'img, [style*="background-image"], [class*="avatar"], [class*="player"] { display:none !important; }'
3225
const styleNode = document.createElement('style') ; styleNode.innerText = css

highlight-radio-bubbles/highlight-radio-bubbles.user.js

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// ==UserScript==
22
// @name Highlight Radio Bubbles
3-
// @version 2025.4.11
3+
// @version 2025.7.31
44
// @author Adam Lui
55
// @namespace https://adamlui.com
66
// @description Makes radio bubbles bigger & more colorful when brought to focus.
@@ -20,13 +20,6 @@
2020
// @contributionURL https://github.com/sponsors/adamlui
2121
// ==/UserScript==
2222

23-
// Hide GF alert on GitHub if found
24-
if (location.host == 'github.com' && location.pathname.includes('highlight-radio-bubbles')) {
25-
const gfAlert = [...document.querySelectorAll('.markdown-alert')]
26-
.find(alert => alert.textContent.includes('Greasy Fork'))
27-
if (gfAlert) gfAlert.style.display = 'none'
28-
}
29-
3023
const styleNode = document.createElement('style')
3124
styleNode.innerHTML = 'input[type=radio]:focus { outline-color: red !important ; width: 25px !important ; height: 25px !important ; }'
3225
document.head.appendChild(styleNode)

youtube-classic/youtube-classic.user.js

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// ==UserScript==
22
// @name YouTube™ Classic 📺 — (Remove rounded design + Return YouTube dislikes)
3-
// @version 2025.7.28
3+
// @version 2025.7.31
44
// @author Adam Lui, Magma_Craft, Anarios, JRWR, Fuim & hoothin
55
// @namespace https://github.com/adamlui
66
// @description Reverts YouTube to its classic design (before all the rounded corners & hidden dislikes) + redirects YouTube Shorts
@@ -30,13 +30,6 @@
3030

3131
(() => {
3232

33-
// Hide GF alert on GitHub if found
34-
if (location.host == 'github.com' && location.pathname.includes('youtube-classic')) {
35-
const gfAlert = [...document.querySelectorAll('.markdown-alert')]
36-
.find(alert => alert.textContent.includes('Greasy Fork'))
37-
return !gfAlert ? undefined : gfAlert.style.display = 'none'
38-
}
39-
4033
// Init ENV context
4134
const env = {
4235
scriptManager: {

0 commit comments

Comments
 (0)