Repository navigation
Expand file tree
/
Copy pathstorage-keys.js
More file actions
158 lines (145 loc) · 4.64 KB
/
Copy pathstorage-keys.js
File metadata and controls
158 lines (145 loc) · 4.64 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
export const KeyExtensionStatus = "extensionStatus";
export const KeyListsButton = "listsButton";
export const KeyCommunitiesButton = "communitiesButton";
export const KeyTopicsButton = "topicsButton";
export const KeyXPremiumButton = "xPremiumButton";
export const KeyVerifiedOrgsButton = "verifiedOrgsButton";
export const KeyTypefullyGrowTab = "typefullyGrowTab";
export const KeyGrokButton = "grokButton";
export const KeyTrendsHomeTimeline = "trendsHomeTimeline";
export const KeyRemoveTimelineTabs = "removeTimelineTabs";
export const KeyWriterMode = "writerMode";
export const KeyTimelineWidth = "timelineWidth";
export const KeyRemoveTimelineBorders = "timelineBorders";
export const KeyRemoveTweetBorders = "tweetBorders";
export const KeyStickyHeader = "stickyHeader";
export const KeySidebarLogo = "sidebarLogo";
export const KeyHomeButton = "homeButton";
export const KeyExploreButton = "exploreButton";
export const KeyNotificationsButton = "notificationsButton";
export const KeyMessagesButton = "messagesButton";
export const KeyBookmarksButton = "bookmarksButton";
export const KeyJobsButton = "jobsButton";
export const KeyArticlesButton = "articles";
export const KeyProfileButton = "profileButton";
export const KeyNavigationButtonsLabels = "navigationButtonsLabels";
export const KeyNavigationCenter = "navigationCenter";
export const KeyUnreadCountBadge = "unreadCountBadge";
export const KeyAllVanity = "allVanity";
export const KeyReplyCount = "replyCount";
export const KeyRetweetCount = "retweetCount";
export const KeyLikeCount = "likeCount";
export const KeyFollowCount = "followCount";
export const KeyTweetButton = "tweetButton";
export const KeySearchBar = "searchBar";
export const KeyTransparentSearch = "transparentSearch";
export const KeyRemovePromotedPosts = "removePromotedPosts";
export const KeyRemoveTopicsToFollow = "removeTopicsToFollow";
export const KeyTypefullyEnhancementsButtons = "typefullyEnhancementsButtons";
export const KeyInterFont = "interFont";
export const KeyTitleNotifications = "titleNotifications";
export const KeyCustomCss = "customCss";
export const KeyHideViewCount = "hideViewCount";
export const KeyHideGrokDrawer = "hideGrokDrawer";
export const allSettingsKeys = [
// Extension Status
KeyExtensionStatus,
// Timeline Features
KeyTimelineWidth,
KeyRemoveTimelineBorders,
KeyRemoveTweetBorders,
KeyStickyHeader,
KeyWriterMode,
KeyHideViewCount,
KeyTrendsHomeTimeline,
KeyRemovePromotedPosts,
KeyRemoveTopicsToFollow,
KeyRemoveTimelineTabs,
KeyTypefullyEnhancementsButtons,
KeyFollowCount,
KeyReplyCount,
KeyRetweetCount,
KeyLikeCount,
// Navigation Features
KeySidebarLogo,
KeyNavigationButtonsLabels,
KeyNavigationCenter,
KeyUnreadCountBadge,
KeyHideGrokDrawer,
// Interface Features
KeyInterFont,
KeySearchBar,
KeyTransparentSearch,
KeyTitleNotifications,
KeyTweetButton,
// Sidebar Features
KeyHomeButton,
KeyExploreButton,
KeyNotificationsButton,
KeyMessagesButton,
KeyGrokButton,
KeyXPremiumButton,
KeyListsButton,
KeyBookmarksButton,
KeyJobsButton,
KeyCommunitiesButton,
KeyArticlesButton,
KeyTopicsButton,
KeyVerifiedOrgsButton,
KeyTypefullyGrowTab,
KeyProfileButton,
// Advanced Features
KeyCustomCss,
// Legacy/Unused
KeyAllVanity,
];
export const defaultPreferences = {
// Extension Status
[KeyExtensionStatus]: "on",
// Timeline Features
[KeyTimelineWidth]: 700,
[KeyRemoveTimelineBorders]: "off",
[KeyRemoveTweetBorders]: "off",
[KeyStickyHeader]: "on",
[KeyWriterMode]: "off",
[KeyHideViewCount]: "off",
[KeyTrendsHomeTimeline]: "off",
[KeyRemovePromotedPosts]: "on",
[KeyRemoveTopicsToFollow]: "on",
[KeyRemoveTimelineTabs]: "off",
[KeyTypefullyEnhancementsButtons]: "on",
[KeyFollowCount]: "on",
[KeyReplyCount]: "on",
[KeyRetweetCount]: "on",
[KeyLikeCount]: "on",
// Navigation Features
[KeySidebarLogo]: "off",
[KeyNavigationButtonsLabels]: "never",
[KeyNavigationCenter]: "off",
[KeyUnreadCountBadge]: "off",
[KeyHideGrokDrawer]: "on",
// Interface Features
[KeyInterFont]: "off",
[KeySearchBar]: "on",
[KeyTransparentSearch]: "off",
[KeyTitleNotifications]: "on",
[KeyTweetButton]: "on",
// Sidebar Features
[KeyHomeButton]: "on",
[KeyExploreButton]: "on",
[KeyNotificationsButton]: "on",
[KeyMessagesButton]: "on",
[KeyGrokButton]: "on",
[KeyXPremiumButton]: "off",
[KeyListsButton]: "on",
[KeyBookmarksButton]: "on",
[KeyJobsButton]: "off",
[KeyCommunitiesButton]: "on",
[KeyArticlesButton]: "off",
[KeyTopicsButton]: "off",
[KeyVerifiedOrgsButton]: "off",
[KeyTypefullyGrowTab]: "on",
[KeyProfileButton]: "on",
// Advanced Features
[KeyCustomCss]: "",
};