mirror of
https://github.com/insin/control-panel-for-twitter.git
synced 2025-06-18 22:55:32 -04:00

- All page script settings are now stored in a single settings object - All other top-level config is for extension-internal settings - Renamed old settings which were marked with comments in types.d.ts Background script - Open welcome (new installs) or updated (v4 → v5) page post-install - Migrate v4 user settings to new v5 format on update Page script: - Removed userscript pragma - Renamed page script config variable to 'settings' Scripts: - Moved utility and script API functions to lib.js - Updated copy script to copy all *.mv*.* files in the root dir - Added a clean script and command to remove files which correspond to a *.mv*.* file
97 lines
2.7 KiB
JavaScript
97 lines
2.7 KiB
JavaScript
/** @type {import("./types").UserSettings} */
|
|
export const defaultSettings = {
|
|
// Shared
|
|
addAddMutedWordMenuItem: true,
|
|
defaultToFollowing: true,
|
|
defaultToLatestSearch: false,
|
|
disableHomeTimeline: false,
|
|
disabledHomeTimelineRedirect: 'notifications',
|
|
disableTweetTextFormatting: false,
|
|
dontUseChirpFont: false,
|
|
dropdownMenuFontWeight: true,
|
|
fastBlock: true,
|
|
followButtonStyle: 'monochrome',
|
|
hideAdsNav: true,
|
|
hideBookmarkButton: false,
|
|
hideBookmarkMetrics: true,
|
|
hideBookmarksNav: false,
|
|
hideCommunitiesNav: false,
|
|
hideComposeTweet: false,
|
|
hideExplorePageContents: true,
|
|
hideFollowingMetrics: true,
|
|
hideForYouTimeline: true,
|
|
hideGrokNav: true,
|
|
hideGrokTweets: false,
|
|
hideInlinePrompts: true,
|
|
hideJobsNav: true,
|
|
hideLikeMetrics: true,
|
|
hideListsNav: false,
|
|
hideMetrics: false,
|
|
hideMonetizationNav: true,
|
|
hideDiscoverSuggestions: true,
|
|
hideNotifications: 'ignore',
|
|
hideProfileRetweets: false,
|
|
hideQuoteTweetMetrics: true,
|
|
hideQuotesFrom: [],
|
|
hideReplyMetrics: true,
|
|
hideRetweetMetrics: true,
|
|
hideSeeNewTweets: false,
|
|
hideShareTweetButton: false,
|
|
hideSubscriptions: true,
|
|
hideProfileHeaderMetrics: true,
|
|
hideTweetAnalyticsLinks: false,
|
|
hidePremiumReplies: false,
|
|
hidePremiumUpsells: true,
|
|
hideUnavailableQuoteTweets: true,
|
|
hideVerifiedTabs: true,
|
|
hideViews: true,
|
|
hideWhoToFollowEtc: true,
|
|
listRetweets: 'ignore',
|
|
mutableQuoteTweets: true,
|
|
mutedQuotes: [],
|
|
quoteTweets: 'ignore',
|
|
redirectToTwitter: false,
|
|
reducedInteractionMode: false,
|
|
revertXBranding: true,
|
|
restoreLinkHeadlines: true,
|
|
restoreOtherInteractionLinks: false,
|
|
restoreQuoteTweetsLink: true,
|
|
restoreTweetSource: true,
|
|
retweets: 'separate',
|
|
showPremiumReplyFollowersCount: false,
|
|
showPremiumReplyFollowersCountAmount: '1000000',
|
|
showBookmarkButtonUnderFocusedTweets: true,
|
|
showPremiumReplyBusiness: true,
|
|
showPremiumReplyFollowedBy: true,
|
|
showPremiumReplyFollowing: true,
|
|
showPremiumReplyGovernment: true,
|
|
sortReplies: 'relevant',
|
|
tweakNewLayout: false,
|
|
tweakQuoteTweetsPage: true,
|
|
premiumBlueChecks: 'replace',
|
|
uninvertFollowButtons: true,
|
|
unblurSensitiveContent: false,
|
|
// Experiments
|
|
customCss: '',
|
|
// Desktop only
|
|
fullWidthContent: false,
|
|
fullWidthMedia: true,
|
|
hideAccountSwitcher: false,
|
|
hideExploreNav: true,
|
|
hideExploreNavWithSidebar: true,
|
|
hideLiveBroadcasts: false,
|
|
hideMessagesDrawer: true,
|
|
hideSidebarContent: true,
|
|
hideSpacesNav: false,
|
|
hideSuggestedFollows: false,
|
|
hideTimelineTweetBox: false,
|
|
hideToggleNavigation: false,
|
|
hideWhatsHappening: false,
|
|
navBaseFontSize: true,
|
|
navDensity: 'default',
|
|
showRelevantPeople: false,
|
|
// Mobile only
|
|
hideLiveBroadcastBar: false,
|
|
hideMessagesBottomNavItem: false,
|
|
preventNextVideoAutoplay: true,
|
|
} |