Skip to content

Commit

Permalink
feat: adding chrome extension
Browse files Browse the repository at this point in the history
  • Loading branch information
puni9869 committed Jun 12, 2024
1 parent a9e692c commit 65c4be8
Show file tree
Hide file tree
Showing 6 changed files with 31 additions and 0 deletions.
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 chrome_extension_blabla_page/images/icons/icon16.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 chrome_extension_blabla_page/images/icons/icon32.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 chrome_extension_blabla_page/images/icons/icon48.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
27 changes: 27 additions & 0 deletions chrome_extension_blabla_page/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"name": "Blabla Page",
"version": "1.0",
"manifest_version": 3,
"description": "The simple writing app that's always in your browser. All your content is private and stored only on your local device. Make sure to save it somewhere else when you're done.",
"icons": {
"16": "images/icons/icon16.png",
"32": "images/icons/icon32.png",
"48": "images/icons/icon48.png",
"128": "images/icons/icon128.png"
},
"background": {
"service_worker": "src/service-worker.js",
"type": "module"
},
"short_name": "Blabla Page",
"version_name": "1.0 beta",
"action": {},
"permissions": [
"tabs"
],
"host_permissions": [
"http://*/*",
"https://*/*",
"*://*/*"
]
}
4 changes: 4 additions & 0 deletions chrome_extension_blabla_page/src/service-worker.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
chrome.action.onClicked.addListener(tab => {
var newURL = "https://www.blabla.page/";
chrome.tabs.create({ url: newURL });
});

0 comments on commit 65c4be8

Please sign in to comment.