Appleのサポートコミュニティで教えてもらった方法で上手くいきました。
I have found a way to use the compact mode in macOS 15.7.macOS 15.7でコンパクトモードを使用する方法を見つけました。This enables the compact mode, i.e. removes the hostnames and descriptions (you need to quit Safari to see the effect):これにより、コンパクトモードが有効になります。つまり、ホスト名と説明が削除されます(効果を確認するにはSafariを終了する必要があります)。Code:defaults write -app Safari SidebarBookmarksCompactViewModePreference -bool YESThis disables the grouping of folders and bookmarks and also removes the "recently saved" sectionこれにより、フォルダとブックマークのグループ化が無効になり、「最近保存された」セクションも削除されます。Code:defaults write -app Safari SidebarBookmarksHierarchyViewPreference -bool YESYou can swap `YES` with `NO` to disable these settings again or use these commands to restore the Safari default:`YES`を`と`NO`に交換して、これらの設定を再度無効にするか、次のコマンドを使用してSafariのデフォルトを復元できます。Code:defaults delete -app Safari SidebarBookmarksCompactViewModePreferencedefaults delete -app Safari SidebarBookmarksHierarchyViewPreference
