Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
NecdetYavas committed Aug 2, 2024
1 parent f170622 commit 0bcb07e
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 0 deletions.
Binary file added images/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 images/icon-16.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 images/icon-32.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 images/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.
21 changes: 21 additions & 0 deletions manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"manifest_version": 3,
"name": "Custom Scrollbar",
"version": "1.0",
"description": "Force custom scrollbar CSS styling on websites.",
"icons": {
"16": "images/icon-16.png",
"32": "images/icon-32.png",
"48": "images/icon-48.png",
"128": "images/icon-128.png"
},
"content_scripts": [
{
"matches": ["*://*/*"],
"css": ["scrollbar.css"],
"all_frames": true,
"run_at": "document_end"
}
],
"permissions": ["activeTab", "scripting"]
}
4 changes: 4 additions & 0 deletions scrollbar.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
::-webkit-scrollbar{background-color:#111; border:solid 1px #333; border-radius: 10px;}
::-webkit-scrollbar-thumb{background-color:#333; border-radius:10px;}
::-webkit-scrollbar-thumb:hover{background-color:#666;}
::-webkit-scrollbar-thumb:active{background-color:black; border: solid 1px #666;}

0 comments on commit 0bcb07e

Please sign in to comment.