Commit Graph

4 Commits

Author SHA1 Message Date
Jonny Buchanan
c401ecb219 Update local messages script now supports message strings or an object
Made error logging in options and content scripts consistent
Sorted translation labels in options
2025-06-09 08:42:44 +10:00
Jonny Buchanan
15b33a6d55 Change content, options and page scripts to use the new v5 config storage format
- 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
2025-06-01 18:18:27 +10:00
Jonny Buchanan
83c9bd8e4a Added a locales/update-translations script to copy translations from Twitter locale files to tranlations.json 2024-04-21 00:11:59 +10:00
Jonny Buchanan
df40859999 "Hide Twitter Blue replies" no longer show accounts with over 1 million followers by default
"Hide Twitter Blue replies" now hides "verified" org accounts by default (these tend to be crypto or other engagement farming accounts)
Added an option to show "verified" org account replies when hiding Twitter Blue replies

Added a script which makes it easier to add new translations to all _locales/**/messages.json files at once
This also automatically sorts the messages.json files when making changes
2023-09-27 16:46:27 +10:00