- 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
Fixed the same Tweets being repeatedly re-checked in focused Tweet timelines when new Tweets are added
Refactored focused Tweet tweaks which were previously working around being called repeatedly
Hide UI elements we add to focused tweets when the extension is disabled after adding them
Closes#737
- Added an option to prevent the next video autoplaying on mobile - videos will loop instead
- Fixed hiding Views and the Share Tweet button in the mobile media viewer
- Fixed style of the Follow/Following button in the mobile media viewer, when uninverting them elsewhere
- Fixed processing premium checks in mobile media viewer video info
Removed a workaround for a now-fixed Twitter sticky title bug, as this was causing the mobile media viewer to be processed twice
Closes#714
Changes
- Added a new Notifications option to the Reduce "engagement" settings
- "Hide badges only" hides all notification count badges, the notification count in the page title and the notification favicon
- "Hide" also hides the Notifications nav item to discourage checking notifications
- Added display of Retweets and Likes counts when restoring links under your own Tweets
- The Likes link is now only restored under your own Tweets, as the Likes tab isn't visible for other people's Tweets
- Hid a new Premium upsell underneath your own focused Tweets
- Fixed a border left behind after hiding the Analytics link under your own Tweets
- Fixed Control Panel for Twitter clashing with the one sec extension when both are being used
New layout changes
- Enabling the Tweak new layout option now doesn't do anything if you don't have the new layout, so you can leave it enabled if only some of your accounts have it
- Fixed contrast of nav item text when navigation is expanded
- Made the "More" button larger to match the tweaked nav icons
- Added an option to hide the Toggle navigation button in the new layout
- "Hide badges only" hides all notification count badges, the notification count in document title and the notification favicon
- "Hide" also hides the Notifications nav item to discourage checking notifications
Improved the styling of the Quote Tweets link somewhat
Replaced the "Post engagements" heading with "Tweet interactions"
Fixed some Bulgarian translations which were using Arabic instead
- Renamed "Replace X logo and title" (again) to "Replace X branding changes"
- Post buttons are now replaced with Tweet buttons when "Replace X branding changes" is enabled
- Added an "Open Safari Extensions Preferences…" button to the iOS app
- Changes to hiding boosted Blue replies:
- Twitter Blue users who hide their checks are now detected
- Associates of "verified" business accounts are now treated like any other Blue user, e.g. the associates of "verified" crypto accounts who engagement farm in the replies of users with lots of followers
- Fixed adding the "Turn on/off Retweets" menu item to other people's lists