22< html lang ="en " dir ="auto ">
33
44< head >
5- < meta name ="generator " content ="Hugo 0.151.2 "> < meta charset ="utf-8 ">
5+ < meta name ="generator " content ="Hugo 0.151.2 "> < script src =" /livereload.js?mindelay=10&v=2&port=1313&path=livereload " data-no-instant defer > </ script > < meta charset ="utf-8 ">
66< meta http-equiv ="X-UA-Compatible " content ="IE=edge ">
77< meta name ="viewport " content ="width=device-width, initial-scale=1, shrink-to-fit=no ">
8- < meta name ="robots " content ="index, follow ">
8+ < meta name ="robots " content ="noindex, nofollow ">
99< title > WinterArch's WebLog</ title >
1010
1111< meta name ="description " content ="">
1212< meta name ="author " content ="">
13- < link rel ="canonical " href ="https ://winterarch.github.io / ">
13+ < link rel ="canonical " href ="http ://localhost:1313 / ">
1414< link crossorigin ="anonymous " href ="/assets/css/stylesheet.a090830a421002426baafbd314e38f149d77b4c48a12ee9312700d770b27fb26.css " integrity ="sha256-oJCDCkIQAkJrqvvTFOOPFJ13tMSKEu6TEnANdwsn+yY= " rel ="preload stylesheet " as ="style ">
15- < link rel ="icon " href ="https ://winterarch.github.io /favicon.ico ">
16- < link rel ="icon " type ="image/png " sizes ="16x16 " href ="https ://winterarch.github.io /favicon-16x16.png ">
17- < link rel ="icon " type ="image/png " sizes ="32x32 " href ="https ://winterarch.github.io /favicon-32x32.png ">
18- < link rel ="apple-touch-icon " href ="https ://winterarch.github.io /apple-touch-icon.png ">
19- < link rel ="mask-icon " href ="https ://winterarch.github.io /safari-pinned-tab.svg ">
15+ < link rel ="icon " href ="http ://localhost:1313 /favicon.ico ">
16+ < link rel ="icon " type ="image/png " sizes ="16x16 " href ="http ://localhost:1313 /favicon-16x16.png ">
17+ < link rel ="icon " type ="image/png " sizes ="32x32 " href ="http ://localhost:1313 /favicon-32x32.png ">
18+ < link rel ="apple-touch-icon " href ="http ://localhost:1313 /apple-touch-icon.png ">
19+ < link rel ="mask-icon " href ="http ://localhost:1313 /safari-pinned-tab.svg ">
2020< meta name ="theme-color " content ="#2e2e33 ">
2121< meta name ="msapplication-TileColor " content ="#2e2e33 ">
22- < link rel ="alternate " type ="application/rss+xml " href ="https ://winterarch.github.io /index.xml " title ="rss ">
23- < link rel ="alternate " hreflang ="en " href ="https ://winterarch.github.io / ">
22+ < link rel ="alternate " type ="application/rss+xml " href ="http ://localhost:1313 /index.xml " title ="rss ">
23+ < link rel ="alternate " hreflang ="en " href ="http ://localhost:1313 / ">
2424< noscript >
2525 < style >
2626 # theme-toggle ,
5757 }
5858
5959 </ style >
60- </ noscript > < meta property ="og:url " content ="https://winterarch.github.io/ ">
61- < meta property ="og:site_name " content ="WinterArch's WebLog ">
62- < meta property ="og:title " content ="WinterArch's WebLog ">
63- < meta property ="og:locale " content ="zh-CN ">
64- < meta property ="og:type " content ="website ">
65- < meta name ="twitter:card " content ="summary ">
66- < meta name ="twitter:title " content ="WinterArch's WebLog ">
67- < meta name ="twitter:description " content ="">
68-
69- < script type ="application/ld+json ">
70- {
71- "@context" : "https://schema.org" ,
72- "@type" : "Organization" ,
73- "name" : "WinterArch's WebLog" ,
74- "url" : "https://winterarch.github.io/" ,
75- "description" : "" ,
76- "logo" : "https://winterarch.github.io/favicon.ico" ,
77- "sameAs" : [
78-
79- ]
80- }
81- </ script >
60+ </ noscript >
8261</ head >
8362
8463< body class ="list " id ="top ">
9675< header class ="header ">
9776 < nav class ="nav ">
9877 < div class ="logo ">
99- < a href ="https ://winterarch.github.io / " accesskey ="h " title ="WinterArch's WebLog (Alt + H) "> WinterArch's WebLog</ a >
78+ < a href ="http ://localhost:1313 / " accesskey ="h " title ="WinterArch's WebLog (Alt + H) "> WinterArch's WebLog</ a >
10079 < div class ="logo-switches ">
10180 < button id ="theme-toggle " accesskey ="t " title ="(Alt + T) " aria-label ="Toggle theme ">
10281 < svg id ="moon " xmlns ="http://www.w3.org/2000/svg " width ="24 " height ="18 " viewBox ="0 0 24 24 "
127106< main class ="main ">
128107
129108< article class ="first-entry ">
109+ < header class ="entry-header ">
110+ < h2 class ="entry-hint-parent "> 清除github幽灵通知 火狐浏览器
111+ </ h2 >
112+ </ header >
113+ < div class ="entry-content ">
114+ < p > Notifications这个网址里有某个仓库的通知无法被选中, 于是搜索并山风阁拿到了两行JavaScript,在FireFox上运行之后清掉了。 文章中描述的是Chrome的用法,之前我因为Feedbro被禁用搬到FireFox,所以这里重点说明如何在FireFox里使用。 把JavaScript片段贴到这里防止找不到:
115+ document.querySelector('.js-notifications-mark-all-actions').removeAttribute('hidden'); document.querySelector('.js-notifications-mark-all-actions form[action="/notifications/beta/archive"] button').removeAttribute('disabled'); 来到github的通知页面,在通知页面左侧,选中当前正在发送通知的幽灵仓库,这使得github的通知搜索栏里显示repo:开头的标签 点击“全选”(Select all) 按F12打开或从“工具”选项打开“开发者工具” 点击控制台,按Ctrl+B(或Command+B)打开切换到多行模式 尝试点击左边的栏目并粘贴代码,输入allow pasting确认粘贴代码 点击代码上方、控制台下方的运行按钮运行代码,这使得“全选”(Select all)之后的操作面板显示出来 点击Done,完成清除,等待刷新响应或手动刷新网页,该幽灵仓库应当不再产生通知圆点 </ p >
116+ </ div >
117+ < footer class ="entry-footer "> < span title ='2025-10-27 16:12:49 +0800 CST '> October 27, 2025</ span > </ footer >
118+ < a class ="entry-link " aria-label ="post link to 清除github幽灵通知 火狐浏览器 " href ="http://localhost:1313/posts/%E6%B8%85%E9%99%A4github%E5%B9%BD%E7%81%B5%E9%80%9A%E7%9F%A5-%E7%81%AB%E7%8B%90%E6%B5%8F%E8%A7%88%E5%99%A8/ "> </ a >
119+ </ article >
120+
121+ < article class ="post-entry ">
130122 < header class ="entry-header ">
131123 < h2 class ="entry-hint-parent "> 基于MVVM模式手把手写出可测试性强的SwiftUI代码
132124 </ h2 >
@@ -138,7 +130,7 @@ <h2 class="entry-hint-parent">基于MVVM模式手把手写出可测试性强的S
138130...</ p >
139131 </ div >
140132 < footer class ="entry-footer "> < span title ='2025-10-21 15:43:57 +0800 CST '> October 21, 2025</ span > </ footer >
141- < a class ="entry-link " aria-label ="post link to 基于MVVM模式手把手写出可测试性强的SwiftUI代码 " href ="https ://winterarch.github.io /posts/%E5%9F%BA%E4%BA%8Emvvm%E6%A8%A1%E5%BC%8F%E6%89%8B%E6%8A%8A%E6%89%8B%E5%86%99%E5%87%BA%E5%8F%AF%E6%B5%8B%E8%AF%95%E6%80%A7%E5%BC%BA%E7%9A%84swiftui%E4%BB%A3%E7%A0%81/ "> </ a >
133+ < a class ="entry-link " aria-label ="post link to 基于MVVM模式手把手写出可测试性强的SwiftUI代码 " href ="http ://localhost:1313 /posts/%E5%9F%BA%E4%BA%8Emvvm%E6%A8%A1%E5%BC%8F%E6%89%8B%E6%8A%8A%E6%89%8B%E5%86%99%E5%87%BA%E5%8F%AF%E6%B5%8B%E8%AF%95%E6%80%A7%E5%BC%BA%E7%9A%84swiftui%E4%BB%A3%E7%A0%81/ "> </ a >
142134</ article >
143135
144136< article class ="post-entry ">
@@ -151,12 +143,12 @@ <h2 class="entry-hint-parent">HelloWorld
151143</ p >
152144 </ div >
153145 < footer class ="entry-footer "> < span title ='2025-10-21 14:58:51 +0800 CST '> October 21, 2025</ span > </ footer >
154- < a class ="entry-link " aria-label ="post link to HelloWorld " href ="https ://winterarch.github.io /posts/helloworld/ "> </ a >
146+ < a class ="entry-link " aria-label ="post link to HelloWorld " href ="http ://localhost:1313 /posts/helloworld/ "> </ a >
155147</ article >
156148 </ main >
157149
158150< footer class ="footer ">
159- < span > © 2025 < a href ="https ://winterarch.github.io / "> WinterArch's WebLog</ a > </ span > ·
151+ < span > © 2025 < a href ="http ://localhost:1313 / "> WinterArch's WebLog</ a > </ span > ·
160152
161153 < span >
162154 Powered by
0 commit comments