Skip to content

Commit

Permalink
1.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
ArtskydJ committed May 14, 2019
1 parent f29e757 commit a418766
Show file tree
Hide file tree
Showing 12 changed files with 35 additions and 19 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
src.pem
4 changes: 2 additions & 2 deletions build.bat
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@echo off
del dist.xpi
del dist.zip
pushd .\src
"C:\Program Files\7-Zip\7z.exe" a ..\dist.xpi
"C:\Program Files\7-Zip\7z.exe" a ..\dist.zip
popd
12 changes: 12 additions & 0 deletions description.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
Copy and paste the following into Mozilla's Add-on Description box when submitting a new version...

===================================================================================================

Replaces the word "Abortion" with the word "Infanticide" on all your websites.

If you're mad about this add-on, then don't use it. Or start using it, and realize the way some pro-lifers see the world. Around 15% of unborn children never get to see their parents because their parents murder them!

Some phrases won't really make sense. That is a cost to using this add-on.
E.g. Celeb got an abortion -> Celeb got an infanticide.

If you have a better replacement strategy, that reads better, feel free to submit any ideas or code <a href="https://github.com/ArtskydJ/abortion-is-infanticide-ff-addon/issues">here.</a>
Binary file removed dist.xpi
Binary file not shown.
Binary file added dist.zip
Binary file not shown.
23 changes: 12 additions & 11 deletions readme.md
Original file line number Diff line number Diff line change
@@ -1,30 +1,31 @@
Abortion is Infanticide (Firefox Add-On)
========================================
Abortion is Infanticide (Browser extension)
===========================================

Add this extension to Firefox, and the word "abortion" will be replaced with the word "infanticide" in all your websites.
Add this extension to your browser, and the word "abortion" will be replaced with the word "infanticide" in all your websites.

### Browsers

- [Firefox](https://addons.mozilla.org/en-US/firefox/addon/abortion-is-infanticide/)
- Chrome (Pending review)

### Credit

Original code by [m59](https://github.com/m59peacemaker).
He used the word "murder".
I am using the word "infanticide", because I think it more closely captures what abortion is.
(Murder covers all ages, whereas infanticide covers a smaller age range.)
(Murder covers all ages, whereas infanticide covers a narrower age range.)

Also, if you read an article, and you see that someone does not want to outlaw murder, you might get confused.
But if you see the word "infanticide", then hopefully you will not get confused, and you will remember this extension.

As a slight bonus, I don't need to replace a/an.

The only downside I see is that "infancide" might not evoke as strong of emotions.
The only downside I see is that "infanticide" might not evoke as strong of emotions.
(That's the reason to switch away from the term "abortion". It likely does not evoke as strong of emotions as the word "murder".)

### Build

To build, follow these steps:
### Build to a zip file

1. Open `abortion-is-infanticide-ff-addon/src`
2. Select all files/folders, Right-Click, and choose `Send to > Compressed (zipped) folder)`
3. Rename from `whatever.zip` to `whatever.xpi`
Run `build.bat`

### License

Expand Down
Binary file added screenshot-640x400.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed src/abortion-is-infanticide-48.png
Binary file not shown.
2 changes: 1 addition & 1 deletion src/abortion-is-infanticide.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

var changeAbortionToInfanticide = function cati(text) {
return text.replace(/(abortion)(ist)?/ig, (_, abortion) => {
return `${abortion[0] === 'A' ? 'I' : 'i'}nfanticide`
return (abortion[0] === 'A' ? 'I' : 'i') + 'nfanticide'
})
}

Expand Down
Binary file added src/icon-128.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/icon-48.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 7 additions & 5 deletions src/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,16 @@
"description": "Replaces the word \"Abortion\" with the word \"Infanticide\" on all your websites",
"manifest_version": 2,
"name": "Abortion is Infanticide",
"version": "1.0.0",
"version": "1.0.1",
"author": "Joseph Dykstra",
"homepage_url": "https://github.com/ArtskydJ/abortion-is-infanticide-ff-addon",
"homepage_url": "https://github.com/ArtskydJ/abortion-is-infanticide",
"icons": {
"48": "abortion-is-infanticide-48.png"
"48": "icon-48.png",
"128": "icon-128.png"
},
"content_scripts": [{
"matches": ["*://*/"],
"js": ["abortion-is-infanticide.js"]
"matches": ["*://*/*"],
"js": ["abortion-is-infanticide.js"],
"run_at": "document_end"
}]
}

0 comments on commit a418766

Please sign in to comment.