4chan XT uses a different user script namespace than 4chan X, so to migrate you need to export settings from 4chan X, and import them in XT.
- Removed the css for the header for widths above 1300px, because it was preventing long custom navigation lists from wrapping. #120 I don't know what the purpose was of the different style, the commit where that was added isn't really descriptive: c396db49b9d8fe1becad2fd9c8b29e88ead7b587? So let me know if I broke something.
- Limit subject input to 100 characters. #128
- Added ws and nsw classes for work safe and not work safe boards. #129
- Using shift click to hide a post no longer selects half the page. #131
- The file select dialog for the settings import will only show json files.
- Upstream came back, so I had to port those new features.
- Fix for unwanted sorting of catalog under certain settings. ccd0#3212, 7dfba22042d01fde1e762af68e92109d80d0164d
- Turn JS Whitelist functionality off by default. 419e90c38eddc65a5a32e4a17a8211b3157ae61e
- Better way of turning off JS Whitelist. 7df2750fadffe0b5cc441b21034563c95c8500bd
- Update documentation. 62e4ccf1e869ab4757fa2b9107d1a52b1890a1fc
- Fallback when XPCNativeWrapper is unavailable ccd0#3430
- Add ability to clear whole thread watcher ccd0#2926
- The quick reply now supports mp4. #124
- Updated the build to rollup 4, which removed the
$1
that was added for some variables, so the diff with the previous version is bigger than necessary. Now there are no morenpm audit
vulnerabilities.
- Tweak stub-icon CSS to undo increased padding. #117
- Update x.com embed regex to include FxTwitter, VxTwitter, and nitter links. #123
- Thread Watcher: Prune Read Dead Threads and Open Unread Dead Threads. #122
- Split post functionality in the quick reply, thanks to @paradox460. #116
- Do not run on the home page, to fix the cloudflare error. #113
- Fixed crash on sauce urls using
%hMD5
. #115
- Fixed parsing of filter entries where options are used before the regex. #112
- Added discernible classes and names to stubs. #111
- Removed alt-chans that no longer exist from the
@include
list.
- Fixed filter for poster ID not hiding new posts of that poster.
- #108 (comment)
- Put filter reasons in spans for easier customization with user styles.
- Fixed thread stubs in the index not showing the reason.
- Added subject to thread stubs. ccd0#3371
- Filter updates
- Stubs will now show the reason a post was hidden. You can set a custom reason per filter. #108, ccd0#126
- You can hide all posts of a poster ID that hit a filter. #94
- Filters can now hide posts recursively, like manually hidden posts.
- You can now apply a hide and highlight on the same filter. The highlight class will apply to the stub.
- You can now export the settings without exporting your history. #69
- Notification sound fixes:
- Fixed wrong default value for the volume.
- The volume is now corrected when set to the audio in case a wrong value is given.
- Preview in the settings now works on pages that aren't a thread, like the catalog.
- Added
anonymous: true
to cross-origin gmOptions to fix failing requests when first-party isolation is enabled on Firefox. #105 - Allow setting a custom thread update sound and volume in the advanced settings. #103
- Cleaned up code related importing settings from older versions, in this case from versions before 1.14.15 (released at the end of 2019), and the loadLetter fork. If you want to import setting from there, use an older version as an intermediate.
- Fixed thread expansion in the index again. #97 (comment)
- Fixed keybinds not working the first time. #101
- Fixed sound posts on images and gifs not looping. #89
- Fixed thread expansion in the index. #97
- Fixed dead posts restored from arch.b4k.co having wrong image URLs. #99
- Restored the button to remove an entry from the dump list and the spoiler checkbox on the thumbnail. #90
- Fixed Tegaki integration in the quick reply. #93
- Future proofing: a manifest V3 version is now available. #83
- This version only works on chromium.
- The V2 version is still the default: to use the V3 version, go to the crx directory, rename or delete
manifest.json
, and then renamemanifestV3.json
tomanifest.json
.
- Fixed "Auto-load captcha". #42
- Fixed double controls when expanding a video the second time. #87
- Ignore "Randomize Filename" if it's a soundpost. #78
- Allow custom header positioning. #84
- Fixed duplicated thread stats in the index. #71 (comment)
- Added handling for b4k image redirects. #77
- Updated archives list, removing TokyoChronos.
- Added
from-archive
CSS class for posts restored from archives, andfrom-archive-link
for quote links linking to them. For use in custom styles. #74
- From #76:
- Fixed errors on /f/. The captcha should load again.
- Fixed video thumbnails not being generated in the quick reply.
- Video preview now auto plays.
- Hovering over an OP in the index now also shows the number of replies and images in the thread. #71 (comment)
- Automatic conversion of invalid image files in the quick reply.
- When encountering an invalid image format, like webp, it will convert to png, depending on browser support.
- When the resolution of an image is too large, it will be shrunk.
- When an image file is too big, it will be converted to jpg with increasingly lower quality until it fits.
#72
- There is a button to convert to jpg manually in the quick reply.
- A warning will be shown is an image was changed automatically.
- There is a new preview button on the quick reply modal to check the result before posting.
- This uses build-in functionality of the browser, so only image formats that the browser supports can be converted, and no videos can be converted.
- File thumbnails are now always opened when a file is added in the quick reply. #75
- Post filtering and highlighting aren't mutually exclusive anymore. Stubs are affected by the highlight class. 4chan-x#3359
- Handle the case of a Youtube URL formatted using /watch/ without any ?v= parameter. #73
- Fixed reply and like count being switched in fxTwitter embeds. #60 (comment)
- Fixed wrong link on dead links to other threads. #70
- Fixed quoted OPs not showing reply and image count. #71 Might be a new feature, since it seems it was never supported, but I'm counting it as a bug fix because native 4chan has it.
- Address wobbly spin animation. #65
- Remove dead link to Mayhem archive documentation. #66
- Switch menu-button to FA icon. #68
- Fix quick reply dialog remembering styles outside it's position after dragging. #62
- Fix errors when hovering over a dead link to a post that would be filtered in the archive.
- Improve FxTwitter embeds. #60
- Improve style.
- Link @names and #hashtags.
- Move some settings to the advanced setting: you can now choose which language to translate into instead of English or nothing.
- Remember QR size option is no longer Firefox only. #61
- CSS custom properties, also known as CSS variables, used by 4chan XT are now documented in src/css/README.md.
- Now that 4chan redirects to https, http support is dropped. #61 (comment)
- Also dropped 4channel.org in the list of supported sites.
- FxTwitter embeds. Has some extra functionality in the settings. Twitframe is also still available in the settings. #57
- Fixed youtube shorts embeds. #58
- Fixed the extension version not displaying the error message in case fetching the thread from an external archive failed. #8 (comment)
- Button to watch threads now uses an svg icon instead of a background image, and is now a button instead of an anchor. This should only be important if you use custom css to style it.
- PostHiding now waits for the board config, so the option to hide by poster ID should always appear on boards with those. #41 (comment)
- Restoring deleted posts from archives when reply threading is active no longer recalculates the threads. Turning reply threading off and on again still works. #55
- Fixed quick reply modal putting icon buttons in the wrong place in the catalog. #54
- Removed 'Work around CORB Bug', which was fixed in chrome 85, while this script is 90 and up.
- Because this meant a file had a dependency less, which in combination with the circular dependencies, caused some
files to be in a different order in the output, and caused some common variables to not have
$1
appended. So sorry for the giant diff.
- Because this meant a file had a dependency less, which in combination with the circular dependencies, caused some
files to be in a different order in the output, and caused some common variables to not have
- Code specific for the userscript isn't in the chrome extension anymore and vice versa.
- Fixed post hiding on poster ID not applying to new posts. #41 (comment)
- Fixed semicolon in Yotsuba B CSS #48
- Capitalized "Watcher" in the header for consistency. #49
- To address the restore from archive issues #51:
- Added an error message when fetching fails instead of failing silently.
- Added option to select archive to fetch from.
- Counting poster IDs is now used as a fallback for the missing IP count. #52
- Trying to fetch the captcha in /biz/ without verified email verification now shows the error to the user instead of failing silently. #53
- Right-align shortcut icons in header when header links are centered. #45
- OneeChan compatibility fixes:
- Fixed Expand/Contract All Images icon in the header. #47
- Re-added font-awesome for the header icons. This time I'm only importing the icons needed instead of the whole icon font. #38
- Added button to un-randomize the filename in the quick reply. #40
- Moved the icon buttons and submit to a new row to give the file input some space.
- Added option to hide posts by poster ID. #41
- Made the audio the source of truth for video sound posts. Should fix #36, but I didn't find a video to longer audio to test on.
- Added an option to Update stats more often and add purge position when a thread is close to getting purged, for anons who manage general threads. #39
- Fixed thread watcher icon not changing colors when somebody replies to your post in the tomorrow theme. #35
- Fixed header color in the futaba theme.
- Fixed missing semicolon in yotsuba.css. Thanks to @saxamaphone69's review.
- Quick MD5 filter on shift + click on a thumbnail or expanded file.
#32
- Can be turned off in the settings.
- Moved different themes to CSS variables.
- This shouldn't make a difference for the end user, but I have accidentally broking things before.
- Added
color-scheme: dark;
for tomorrow and spooky themes for dark scroll bars, inputs and buttons.
- Fixed inserted posts from external archives missing the hide button before it.
- Fixed hovering over a link to a hidden thread throwing an error. #30
- Fixed example of the type option on general filters. #29
- Fixed icons next to embed links. #28
- Updated some of those icons, and compressed some others.
- Updated CSS to remove older properties. #25
- Fixed image prefetching icon incorrectly showing it is enabled by default. #26
- Fixed mixing of line endings in the entire output. #24
- Fixed infinite loop when a thread from a tinyboard website is in the thread watcher. #23
- Fixed bug that ocurred on threads on websites without IP counter. #23
- Fixed mixing of line endings in the header comments. #24
- Fixed new Relative dates settings' interaction with elements that aren't the date info on posts, like the refresh button on the 4chan-XT catalog.
- Reworded 'Link Title in the catalog' setting's description. #21
- Relative times and full time stamps are no longer mutually exclusive. Setting was moved to the Time Formatting section of the advanced settings because the other settings because the Main settings only supports boolean settings.
- Build script: added a transformer on the TypeScript output to keep the script from getting bigger when moving files
from js to ts. If you think this is a waste of time on the build step you can use the
-no-format
flag.
- Fixed poster IDs not appearing on new posts. #20
- Fixed previewing posts from external archives inserting posts from other threads into the current thread. #18
- Improved interaction between restoring from the archive and reply threading.
- Known issue: parents from threads get put at the end instead of the correct place when reply threading is on.
- Previewing a deleted post from an external archive by hovering over a link no longer excludes it when restoring the
thread from the archive. It now gets added direly when you do that.
- Known issue: when reply threading is on, this moves the reply to the restored post, but doesn't scroll to it.
- Added a "Link Title in the catalog" setting for embeds as a workaround for ccd0/4chan-x#3427. Fetching titles in the catalog is off by default.
- Restored span around ➕︎ and ➖︎ icons in the index for user styles. #17.
- Fixed the settings import mistaking a 4chan XT config for a loadletter/4chan-x one and failing. #16
- Added
.fourchan-xt
class. #11 - Added
window.fourchanXT
with the version number inversion
and abuildDate
Date
object. - Version number is no longer prefixed with "XT ", and will now follow major.minor.bugfix.
- Fixed "Expand All Images" shortcut in the header. #13
- Ran the chrome extension version, and fixed a problem with the ajax function. How long has that been down? I use the user script version myself.
- Fixed header shortcuts with text instead of icons. #12
- Fixed posts scrolling under the header when navigated to by the id.
#10
- Now
scroll-margin-top
is used, which neededoverflow: clip;
instead of:hidden
, which is why the minimum chrome version is bumped to 90.
- Now
- Disabled automatic retry when captcha failed. ccd0/4chan-x#3134,
ccd0/4chan-x#3424.
- I think. I honestly had trouble reproducing this issue.
- Fixed Index, Archive and Catalog navbar links no longer bold on blue boards: ccd0/4chan-x#3424.
- Fixed error when "Force Noscript Captcha" is enabled.
- Fixed trying to get thread JSON from unsupported archives.
- Fixed thread not scrolling to last read post.
- Set default 'Exempt Archives from Encryption' to false. This setting will not change automatically when updating.
- Enabled automatic updates. If you don't want updates, turn them off in your user script manager.
- Added ability to restore deleted posts from an external archive. This can be found in the drop down menu at the top right. #8
- Also minify css in the minified build.
- Fix DataBoard class, should solve #7
- Fix Settings.upgrade to work with version numbers prepended with XT
- Embed x.com links.
- Settings no longer close when the mouse ends up outside of the modal when selecting text in an input or textarea.
- Fix inlining/previewing of archive links like quote links. #5
- Time formatting now falls back to browser locale instead of giving an error when the locale is not set.
- Update notification link now links to the changelog on the right branch on github.
- Limited support for audio posts: they work in threads but not yet in the gallery. Might add if there's demand.
- Can be disabled in the settings
- Small performance improvements
- Removed unnecessary
Array.from
s from coffeescript to js migration - Time module: cache Intl.DateTimeFormat objects
- callbackNodesDB: increase nr of callbacks because the setTimeout triggers a reflow, which in some of my tests took as long as the actual chunk of callbacks
- Removed unnecessary
This is the first XT release, which means this is after the migration from coffeescript to typescript, but there are some other changes as well. These changes aren't in the upstream PR.
- Optimized image filters: filters are in a Map with the hash as key, instead of iterating over all image filters
- I removed font awesome to make the script smaller, and used unicode icons instead. This might break some user scripts build in 4chan X that rely on them, and I only tested on windows.
- For even smaller user script size, there is a minified version available
- ccd0#3352, fix for ccd0#3349 was ported
For the original changelog, see original 4chan X CHANGELOG.md.