New Option: Avoid Repeated Backlinks when Quoting Text #3263
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Why?
When I'm
arguing with strangersdiscussing things on my favorite imageboards, I will sometimes want to use 4chan-X's text quoting feature to make a reply to several of a poster'sfalsehoodsclaims. I'll highlight the text to quote and hit the post number to open the QR, and I'll have a backlink and the quoted text.All good, but if I were to select another passage and hit the quote button again, I get another pesky backlink for each quote:
It's annoying having to clear out the post numbers each time or manually copy/paste the bits of message. I guess I'm lazy.
What
If configured, I'd like 4chan-X to simplify this for me. The expectation is that after I quote a post once, re-selecting text from it and clicking quote again should copy only the text over to my QR box.
This is the expected output, with the new option enabled, and the same quoting procedure as above:
How
QR.quote
:Testing
The extent of my testing is that I've loaded the resultant
4chan-X.user.js
v1.14.21.7-based userscript into my Violentmonkey v2.13.0 on Firefox 100.0 and tested that the following conditions are met: