Initial commit.

This commit is contained in:
Adrian Victor 2024-10-23 20:51:54 -03:00
commit b582390d2c
6 changed files with 51 additions and 0 deletions

9
LICENSE Normal file
View file

@ -0,0 +1,9 @@
MIT License
Copyright (c) 2024 adrianvictor
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

BIN
img/mango-48.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

BIN
img/mango-96.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

1
mango.html Normal file
View file

@ -0,0 +1 @@
<p>follow development at <a href="https://git.disroot.org/adrianvictor/mango">Git</a></p>

9
mango.js Normal file
View file

@ -0,0 +1,9 @@
var styles = `
* {
border-radius: 0 !important;
}
`
var injectedStyle = document.createElement("style")
injectedStyle.type = "text/css"
injectedStyle.innerText = styles
document.head.appendChild(injectedStyle)

32
manifest.json Normal file
View file

@ -0,0 +1,32 @@
{
"manifest_version": 2,
"name": "Mango",
"version": "1.0",
"description": "Obliterates rounded corners.",
"icons": {
"48": "img/mango-48.jpg",
"96": "img/mango-96.jpg"
},
"browser_specific_settings": {
"gecko": {
"id": "adrianvictor.mango@disroot.org"
}
},
"browser_action": {
"default_icon": "img/mango-96.jpg",
"default_title": "Mango",
"default_popup": "mango.html"
},
"content_scripts": [
{
"matches": ["<all_urls>"],
"js": ["mango.js"]
}
]
}