Provides additional functionality when playing Spot The Ball at botb.com
Crosshair Extension
When playing Spot The Ball at botb.com with this extension installed, you will now have access to additional features:
1. Calculate an average of all Co-ordinates in play and shows a cross on the picture to show the average
2. Hides the Co-ordinates in play.
3. Reveals all hidden Co-ordinates.
4. Shows/Hides a draggable target (the same one used when showing the results when a competition finishes, but with a highly transparent centre).
5. New from V1.2: Practice mode - This allows you to load up pictures from previous competitions on botb.com and place your co-ordinate. You can then show the judged co-ordinate of that picture to test your skill.
I created this extension in the hopes it will help players the same way it helps me.
V1.3: Fixed an issue with the practice tool selector.
V1.4: Fixed issue with practice mode not responding once you start drawing lines. Made a performance improvement.
V1.5: Average cross will now scale to the size of the preview image and show in the correct place, Draggable target size will scale to the size of the preview image, Practice mode judges cross will also scale to the preview image.
V1.6: Change practice mode to allow user to input text instead of using selection boxes. This gives flexibility to try any competition, but doesn't work with some of the older competitions.
Read more
1. Calculate an average of all Co-ordinates in play and shows a cross on the picture to show the average
2. Hides the Co-ordinates in play.
3. Reveals all hidden Co-ordinates.
4. Shows/Hides a draggable target (the same one used when showing the results when a competition finishes, but with a highly transparent centre).
5. New from V1.2: Practice mode - This allows you to load up pictures from previous competitions on botb.com and place your co-ordinate. You can then show the judged co-ordinate of that picture to test your skill.
I created this extension in the hopes it will help players the same way it helps me.
V1.3: Fixed an issue with the practice tool selector.
V1.4: Fixed issue with practice mode not responding once you start drawing lines. Made a performance improvement.
V1.5: Average cross will now scale to the size of the preview image and show in the correct place, Draggable target size will scale to the size of the preview image, Practice mode judges cross will also scale to the preview image.
V1.6: Change practice mode to allow user to input text instead of using selection boxes. This gives flexibility to try any competition, but doesn't work with some of the older competitions.
Source Manifest.json
{"update_url": "https://clients2.google.com/service/update2/crx", "manifest_version": 3, "name": "Crosshair", "description": "Provides additional functionality when playing Spot The Ball at botb.com", "version": "1.6", "permissions": ["activeTab"], "icons": { "16": "/assets/icons/icon_16.png", "19": "/assets/icons/icon_19.png", "38": "/assets/icons/icon_38.png", "48": "/assets/icons/icon_48.png", "128": "/assets/icons/icon_128.png", "256": "/assets/icons/icon_256.png" }, "action": { "default_popup": "popup.html", "default_icon": { "16": "/assets/icons/icon_16.png", "19": "/assets/icons/icon_19.png", "38": "/assets/icons/icon_38.png", "48": "/assets/icons/icon_48.png", "128": "/assets/icons/icon_128.png", "256": "/assets/icons/icon_256.png" } }, "content_scripts": [ { "matches": [ "https://www.botb.com/spot-the-ball*", "https://botb.com/spot-the-ball*" ], "js": ["content.js"] } ], "host_permissions": ["https://www.botb.com/spot-the-ball*"], "web_accessible_resources": [ { "resources": [ "/assets/images/bigredmarker.png", "/assets/images/bigpurplemarker.png", "/assets/images/bigyellowmarker.png", "/assets/images/bigcyanmarker.png", "/assets/images/biggreenmarker.png", "/assets/images/Targetwithcrosshair_cropped.png", "/assets/fonts/LTWave-Regular.ttf", "/assets/images/winnercross.png" ], "matches": [""] } ]}
Read more