Browser's tiny Swiss Army knife

Latest Version

Version
1.1
Update
November 5, 2024
Size
165KiB
Developer
Category
Users
10
Rating
5 ★
Manifest Version
3
Web Store Status
Languages Support
English
See more
Permissions
Tabs
ActiveTab
TabCapture
Scripting
Offscreen
See more

PWRToy Extension

PWRToy is an extension comprising a collection of vanilla JS scripts which provide your browser with custom features. It utilizes only native Manifest V3 APIs and ships with no third-party code.

Features:
* Recording - PWRToy provides a simple way to record audio from one of the browser's tabs. Toggle recording on or off with a single button click and save it in `.wav` format.
* Visualizers & Filters - When capturing audio from a tab, three live visualizers are available - a moving spectrogram, a jumping volume bar chart and a waveform graph. They can be opened in a pop-out window and cycled through with a click. The extension also offers a high-pass and a low-pass filter, which you can control with two sliders to cut out unwanted frequencies from the sound.
* Volume Duck - Have you ever encountered a website, which played annoyingly loud sounds with no way of turning them down, forcing you to lower the volume in your device's settings? PWRToy has got you covered! Use the Volume Duck feature to configure a volume multiplier for each pesky website.
* Mouse Macros - This feature allows you to record a sequence of mouse clicks on a website and play it back - either once or in a loop. Keyboard shortcuts can be configured to trigger macro playback conveniently. Both the recording and the playback will be maintained across page loads within the same website.
* Maxscroll - This one enables you to quickly traverse a page with lazily loaded content by forcing it to constantly scroll up or down as fast as possible.
* Page CSS - The extension injects any user-provided CSS into a webpage each time it loads, applying the styles across the entire domain. This can be used to hide unwanted elements or to customize the website's design.
* Content Edit - This feature provides a quick way to edit any text on a page without using the developer tools. Simply click the \"Content Edit On\" button, place your cursor at the desired text location and start typing. Essentially, it activates the `contenteditable` HTML attribute for the entire document body.
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "manifest_version": 3, "name": "PWRToy", "description": "Browser's tiny Swiss Army knife", "version": "1.1", "icons": { "16": "images/icon16.png", "32": "images/icon32.png", "48": "images/icon48.png", "128": "images/icon128.png" }, "action": { "default_popup": "chrome-pwr.html" }, "permissions": [ "tabs", "activeTab", "tabCapture", "scripting", "offscreen" ], "background": { "service_worker": "service-worker.js", "type": "module" }, "content_scripts": [ { "matches": ["*://*/*", "file:///*/*"], "js": ["blades/passive/forced-css-passive.js"] }, { "matches": ["*://*/*"], "js": ["blades/passive/macro-recorder-passive.js"], "css": ["blades/passive/macro-recorder-passive.css"] }, { "matches": ["*://*/*"], "js": ["blades/passive/node-picker-passive.js"], "css": ["blades/passive/node-picker-passive.css"] }, { "matches": ["*://*/*"], "js": ["blades/passive/volume-duck-passive.js"], "css": ["blades/passive/volume-duck-passive.css"] } ], "web_accessible_resources": [ { "matches": ["*://*/*"], "resources": ["font/8bitwonder.ttf"] } ], "commands": { "macroRecorderPlayOnce": { "suggested_key": { "default": "Alt+1" }, "description": "Play the recorded macro once" }, "macroRecorderPlayLoopStart": { "suggested_key": { "default": "Alt+2" }, "description": "Start playing the recorded macro in a loop" }, "macroRecorderStopPlayback": { "suggested_key": { "default": "Alt+X" }, "description": "Stop macro playback" } }}
Read more

Similar Extensions