Skip to content

Commit

Permalink
add store-related resources
Browse files Browse the repository at this point in the history
  • Loading branch information
yshrsmz committed Apr 22, 2023
1 parent 4594d62 commit 235c1f2
Show file tree
Hide file tree
Showing 8 changed files with 31 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,4 @@ dist-ssr
*.njsproj
*.sln
*.sw?
dist.zip
2 changes: 1 addition & 1 deletion manifest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export default defineManifest(async (env) => {
permissions: ['tabs', 'notifications', 'storage'],
host_permissions: [],
content_security_policy: {
extension_pages: "script-src 'self'; object-src 'self'; img-src 'self'",
extension_pages: "script-src 'self'; object-src 'self';",
},
}
})
1 change: 0 additions & 1 deletion public/vite.svg

This file was deleted.

12 changes: 12 additions & 0 deletions store_assets/description.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
Create a post to Bluesky, without leaving your current tab. You can just update status from the Omnibox(a.k.a. URL bar or Address bar)!


Type 'at' + [space/tab] in the omnibox, then write your status & hit Enter to post.
Type 'at' + [space/tab] + ':share' to share currently browsing page.
Type 'at' + [space/tab] + ':share' + [space] + [type anything] to share url with your comment.
Type 'at' + [space/tab] + ':options' to open options page.
Type 'at' + [space/tab] + ':version' to check version.

Once you install the extension, the options page is automatically opend, and you needd to sign in to Bluesky.

OmniATP is an open source software, you can access its code from https://github.com/yshrsmz/omniatp
Binary file added store_assets/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.
17 changes: 17 additions & 0 deletions store_assets/privacy.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
## Single purpose

Create a post to Bluesky, without leaving your current tab. You can just update status from the Omnibox(a.k.a. URL bar or Address bar)!

## Permission justification

### tabs

tabs is used to get a current tab's title and url so that the extension can share these to Bluesky. "activeTab" permission does not work in this case as this extension is triggered via the omnibox, with "at" hot word. And in this scenario we can't retrieve active tab's URL & title with "activeTab" permission.

### notifications

notification is only used to let users know that status is successfully updated.

### storage

storage is necessary to store user's access token and other settings.
Binary file added store_assets/screenshot_1.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 store_assets/screenshot_2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 235c1f2

Please sign in to comment.