View Code? Open in Web Editor
NEW
The new rising trend (literally) that changes the browser game completely.
Home Page: https://github.com/SimonStnn/pop-a-loon#installation
License: Apache License 2.0
TypeScript 94.60%
CSS 1.55%
HTML 0.18%
JavaScript 3.63%
Shell 0.04%
pop-a-loon's Introduction
pop-a-loon's People
Contributors
Watchers
pop-a-loon's Issues
An error is raised when you first load the package because balloonCount
is not defined in the storage
Use number abbriviation in the extension badge to ensure the text in the badge isn't to long.
Abbriviation converts 1200
to 1.2k
After closing #1 , the balloons aren't clickable because all pointer events are disabled. They should be reenabled for the balloon.
I think the balloon's position is relative to the position of the other balloons.
Make a .png of kenrie's head and add to ./recources
An event listener needs to be added that listens to chrome.runtime.onStartup
to set the badge and do other necessary checks.
Remove the following line from webpack.config.js
.
The stylesheet for the popup isn't being imported for the popup.
Set a standard extension badge color.
Maybe a transparent color.
I got this error when building the dist files.
ERROR in \p op-a-loon\s rc\b alloon.ts
./src/balloon.ts 2:9-24
[tsl] ERROR in \p op-a-loon\s rc\b alloon.ts(2,10)
TS2305: Module ' "./const"' has no exported member ' balloonImageUrl' .
Add the screenshot from the chrome web store to the README
When you pop a balloon with a headset on. It is to loud.
A button that asks to confirm the reset.
Ex. ''Are you sure want to reset your balloons?''
Rename build-dev
-> dev
Rename build-dev-watch
-> dev-watch
Rename build-production
-> build
E.g. add a isRising(): bool
method
"web_accessible_resources" : [
{
"matches" : [
" https://*/*" ,
" http://*/*"
],
"resources" : [
" resources/audio/pop.mp3"
]
},
{
"matches" : [
" https://*/*" ,
" http://*/*"
],
"resources" : [
" resources/icons/icon-128.png"
]
}
],
This should become:
"web_accessible_resources" : [
{
"matches" : [
" https://*/*" ,
" http://*/*"
],
"resources" : [
" resources/audio/pop.mp3" ,
" resources/icons/icon-128.png"
]
}
],
Add kenrie as an balloon easter egg to pop up rarely
ex. when kenrie balloon is poppen there will appear a kenrie counter
This needs to revert some changes from #48
The store id of the extension has changed, so update the shields.io badge in the readme
This causes balloons to stop spawning.
The balloons popped badge only loads when you click the extension icon.
chrome . runtime . onInstalled . addListener ( async ( ) => {
const balloonCount = ( await storage . get ( 'balloonCount' ) ) ?. balloonCount ;
if ( balloonCount === undefined ) {
resetCounter ( ) ;
}
setBadgeNumber ( ( await storage . get ( 'balloonCount' ) ) ?. balloonCount ) ;
updateBadgeColors ( ) ;
} ) ;
When you scroll down on the website, the balloons will scroll of screen. And you can see the balloons spawn in.
Balloons should not scroll with the page, they should be static over the whole page.
Adding a counter for how many balloons that are pop in the last 24h.
Make it possible to switch the counter in the extention bar to total pops or last 24h.
badge disappears after some time until new balloon is clicked
Make url matches more specific in manifest and add the "activeTab" permission
This could be a problem with building the files with webpack
The popup has a black background on Opera GX. This only occurs when the device is in light mode.
Balloons should spawn at random intervals.