Avoiding the Scunthorpe problem with FoxReplace Topic is solved
Moderators: Lootyhoof, FranklinDM
-
- Astronaut
- Posts: 542
- Joined: 2019-08-13, 00:30
- Location: Casumia
Avoiding the Scunthorpe problem with FoxReplace
I dislike profanity and use FoxReplace to substitute foul words with em dashes. However, as named in the title, this can result in false positives: eg one reads of the ancient ‘Cu—es’. Would anybody have advice on how I can hide bad language I do not want to see while avoiding embarrassing mistakes like this?
Browser: Pale Moon (official build, updated regularly)
Operating System: Linux Mint Debian Edition 4 (amd64)
※Receiving Debian 10 ELTS security upgrades
Hardware: HP Pavilion DV6-7010 (1400 MHz, 6 GB)
Ash is the best letter.
Operating System: Linux Mint Debian Edition 4 (amd64)
※Receiving Debian 10 ELTS security upgrades
Hardware: HP Pavilion DV6-7010 (1400 MHz, 6 GB)
Ash is the best letter.
-
- Fanatic
- Posts: 138
- Joined: 2025-02-03, 07:55
Re: Avoiding the Scunthorpe problem with FoxReplace
Would seems like an exercise in futility, as "bad" words can be highly individual (some people are offended by the word fat or master), and slang constantly evolves (like sheite or shite or type shi even scheize instead of shit).
That said, would surrounding the words in their entirety with spaces like %20shit%20 make it so that it doesn't affect the word inside of another word?
That said, would surrounding the words in their entirety with spaces like %20shit%20 make it so that it doesn't affect the word inside of another word?
-
- Moon Magic practitioner
- Posts: 2895
- Joined: 2012-08-19, 20:32
Re: Avoiding the Scunthorpe problem with FoxReplace
Doesn't that extension allow you to replace "whole words" only? I use the following userscript for replacing words (not "bad" ones, just annoying spelling mistakes on a few websites).
https://greasyfork.org/en/scripts/10976 ... n-webpages
https://greasyfork.org/en/scripts/10976 ... n-webpages
-
- Lunatic
- Posts: 347
- Joined: 2018-05-26, 18:13
Re: Avoiding the Scunthorpe problem with FoxReplace
Nope, it works on strings inside a word.back2themoon wrote: ↑2025-05-21, 11:51Doesn't that extension allow you to replace "whole words" only?
Win10home(1709), PM33.7.0-portable as of Apr 8, '25
-
- Lunatic
- Posts: 347
- Joined: 2018-05-26, 18:13
Re: Avoiding the Scunthorpe problem with FoxReplace
It's not what you're hoping for, but using a specific custom string you can recognize rather than dashes allows you to understand what was replaced. If the embarrassing part is when you're quoting someone else's text, just remember to proofread before posting, which is a good practice anyway.Mæstro wrote: ↑2025-05-21, 10:01I dislike profanity and use [url=https://j2team.dev/firefox-extension/foxreplace] Would anybody have advice on how I can hide bad language I do not want to see while avoiding embarrassing mistakes like this?
Win10home(1709), PM33.7.0-portable as of Apr 8, '25
-
- Pale Moon guru
- Posts: 37676
- Joined: 2011-08-28, 17:27
- Location: Motala, SE
Re: Avoiding the Scunthorpe problem with FoxReplace
Profanity by any other sequence of letters is still profanity.
"A dead end street is a place to turn around and go into a new direction" - Anonymous
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
-
- Astronaut
- Posts: 542
- Joined: 2019-08-13, 00:30
- Location: Casumia
Re: Avoiding the Scunthorpe problem with FoxReplace
I am implementing this for myself, so only what offends me counts.Gemmaugr wrote: ↑2025-05-21, 10:36Would seems like an exercise in futility, as "bad" words can be highly individual (some people are offended by the word fat or master), and slang constantly evolves[…]
That said, would surrounding the words in their entirety with spaces like %20[example]%20 make it so that it doesn't affect the word inside of another word?

As cursing has become more socially acceptable, I never encounter deliberate misspellings as you describe. Using spaces seems to work: ‘Cushite’ and ‘shitake’ do not trigger the filter, yet your own examples do, to my pleasant surprise. If I must add inflected expletives to the blacklist, I think I can manage this. Indeed, I managed it with this post, adding filters for expletives followed by a full stop, comma or question or exclamatory mark.
Browser: Pale Moon (official build, updated regularly)
Operating System: Linux Mint Debian Edition 4 (amd64)
※Receiving Debian 10 ELTS security upgrades
Hardware: HP Pavilion DV6-7010 (1400 MHz, 6 GB)
Ash is the best letter.
Operating System: Linux Mint Debian Edition 4 (amd64)
※Receiving Debian 10 ELTS security upgrades
Hardware: HP Pavilion DV6-7010 (1400 MHz, 6 GB)
Ash is the best letter.
-
- Lunatic
- Posts: 427
- Joined: 2019-03-16, 13:26
- Location: Qld, Aus.
Re: Avoiding the Scunthorpe problem with FoxReplace
I'm not sure what version you're using, as neither 2.6.2 (WebExtension) nor 1.1.3 (installed, but the options don't show up) worked. However, installing 2.6.2 in Firefox, you can click "Text" which drops down an option for "Whole words". As far as I can tell it's always supported that.
-
- Lunatic
- Posts: 347
- Joined: 2018-05-26, 18:13
Re: Avoiding the Scunthorpe problem with FoxReplace
Don't know about Maestro, but I'm using 0.17.3.
Win10home(1709), PM33.7.0-portable as of Apr 8, '25
-
- Lunatic
- Posts: 427
- Joined: 2019-03-16, 13:26
- Location: Qld, Aus.
Re: Avoiding the Scunthorpe problem with FoxReplace
I didn't actually test it, but it does at least offer "Whole words" (and RE, which could provide same).Michaell wrote: ↑2025-05-21, 21:01Nope, it works on strings inside a word.back2themoon wrote: ↑2025-05-21, 11:51Doesn't that extension allow you to replace "whole words" only?
You do not have the required permissions to view the files attached to this post.
-
- Pale Moon guru
- Posts: 37676
- Joined: 2011-08-28, 17:27
- Location: Motala, SE
Re: Avoiding the Scunthorpe problem with FoxReplace
Regexes are very powerful and will easily allow you to include all delimiters if "whole words" isn't working for you.
"A dead end street is a place to turn around and go into a new direction" - Anonymous
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
-
- Astronaut
- Posts: 542
- Joined: 2019-08-13, 00:30
- Location: Casumia
Re: Avoiding the Scunthorpe problem with FoxReplace
I use the same version as you. This version does not offer regular expressions or whole word filters.
Browser: Pale Moon (official build, updated regularly)
Operating System: Linux Mint Debian Edition 4 (amd64)
※Receiving Debian 10 ELTS security upgrades
Hardware: HP Pavilion DV6-7010 (1400 MHz, 6 GB)
Ash is the best letter.
Operating System: Linux Mint Debian Edition 4 (amd64)
※Receiving Debian 10 ELTS security upgrades
Hardware: HP Pavilion DV6-7010 (1400 MHz, 6 GB)
Ash is the best letter.
-
- Lunatic
- Posts: 408
- Joined: 2015-05-08, 14:30
- Location: Wichita, KS
Re: Avoiding the Scunthorpe problem with FoxReplace
It does, though. Look at the image adoxa shared. You click on the T next to the word "Replace" and it gives you the option.
-
- Astronaut
- Posts: 542
- Joined: 2019-08-13, 00:30
- Location: Casumia
Re: Avoiding the Scunthorpe problem with FoxReplace
I never realised this. Thank you!
Browser: Pale Moon (official build, updated regularly)
Operating System: Linux Mint Debian Edition 4 (amd64)
※Receiving Debian 10 ELTS security upgrades
Hardware: HP Pavilion DV6-7010 (1400 MHz, 6 GB)
Ash is the best letter.
Operating System: Linux Mint Debian Edition 4 (amd64)
※Receiving Debian 10 ELTS security upgrades
Hardware: HP Pavilion DV6-7010 (1400 MHz, 6 GB)
Ash is the best letter.