Skip to content

Commit 5bfa310

Browse files
author
Yuval Greenfield
committed
Added icon, license, link to github
1 parent a43b2b5 commit 5bfa310

12 files changed

+38
-8
lines changed

LICENSE

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
Copyright 2020 Yuval Greenfield
2+
3+
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:
4+
5+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
6+
7+
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.
8+

README.md

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# default-scrollbar
2+
3+
Get your default scrollbar back!
4+
5+
This extension fixes the custom scrollbars that some sites have by deleting scrollbar CSS rules.
6+
7+
# Development
8+
9+
To regenerate icons:
10+
11+
```
12+
SIZE=48 ffmpeg -i wheel_128.png -vf scale=$SIZE:$SIZE wheel_$SIZE.png
13+
SIZE=32 ffmpeg -i wheel_128.png -vf scale=$SIZE:$SIZE wheel_$SIZE.png
14+
SIZE=16 ffmpeg -i wheel_128.png -vf scale=$SIZE:$SIZE wheel_$SIZE.png
15+
```
16+
17+
I followed this tutorial: https://developer.chrome.com/extensions/getstarted
18+
19+
# License
20+
21+
MIT

images/get_started128.png

-2.75 KB
Binary file not shown.

images/get_started16.png

-495 Bytes
Binary file not shown.

images/get_started32.png

-814 Bytes
Binary file not shown.

images/get_started48.png

-1.2 KB
Binary file not shown.

images/wheel_128.png

2 KB
Loading

images/wheel_16.png

955 Bytes
Loading

images/wheel_32.png

1.03 KB
Loading

images/wheel_48.png

1.15 KB
Loading

manifest.json

+8-8
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,17 @@
1616
"page_action": {
1717
"default_popup": "popup.html",
1818
"default_icon": {
19-
"16": "images/get_started16.png",
20-
"32": "images/get_started32.png",
21-
"48": "images/get_started48.png",
22-
"128": "images/get_started128.png"
19+
"16": "images/wheel_16.png",
20+
"32": "images/wheel_32.png",
21+
"48": "images/wheel_48.png",
22+
"128": "images/wheel_128.png"
2323
}
2424
},
2525
"icons": {
26-
"16": "images/get_started16.png",
27-
"32": "images/get_started32.png",
28-
"48": "images/get_started48.png",
29-
"128": "images/get_started128.png"
26+
"16": "images/wheel_16.png",
27+
"32": "images/wheel_32.png",
28+
"48": "images/wheel_48.png",
29+
"128": "images/wheel_128.png"
3030
},
3131
"content_scripts": [
3232
{

popup.html

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
<body>
1313
<p>Bringing back your default scrollbar by actively removing custom scrollbar CSS rules every few seconds.
1414
</p>
15+
<a href="https://github.com/ubershmekel/default-scrollbar">source on github</a>
1516
<script src="popup.js"></script>
1617
</body>
1718
</html>

0 commit comments

Comments
 (0)