File tree Expand file tree Collapse file tree 2 files changed +1
-8
lines changed
Expand file tree Collapse file tree 2 files changed +1
-8
lines changed Original file line number Diff line number Diff line change 11{
22 "manifest_version" : 3 ,
3- "version" : " 1.0 " ,
3+ "version" : " 1.1 " ,
44 "name" : " ghcss-extension" ,
55 "description" : " A simple extension that allows users to view custom css on GitHub profiles." ,
66 "author" : " Bims-sh" ,
77 "permissions" : [
8- " webNavigation" ,
98 " tabs" ,
109 " activeTab"
1110 ],
Original file line number Diff line number Diff line change 44 } ) ;
55}
66
7- // Listen for history state changes (SPA navigation)
8- chrome . webNavigation . onHistoryStateUpdated . addListener ( ( details : chrome . webNavigation . WebNavigationTransitionCallbackDetails ) => {
9- console . log ( "History state updated" ) ;
10- handleCssInjection ( details . tabId ) ;
11- } , { url : [ { urlMatches : 'github.com' } ] } ) ;
12-
137// Listen for tab updates (page load or refresh)
148chrome . tabs . onUpdated . addListener ( ( tabId : number , changeInfo : chrome . tabs . TabChangeInfo ) => {
159 if ( changeInfo . status === 'complete' ) {
You can’t perform that action at this time.
0 commit comments