Skip to content
No description, website, or topics provided.
JavaScript HTML CSS
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
_locales/en
icons
music
src
.gitignore
LICENSE.md
README.md
manifest.json

README.md

Chrome Buy Mode

Install via Chrome Web Store

Purpose

This Chrome extension gives you the power to play appropriate music when you go to websites.

In other words: you can choose a website's theme tune.

Initial configuration

By default: the behaviour of this plugin is that it will play sweet royalty-free elevator music† when you navigate to Birchlabs.co.uk.

† From BenSound

The config begins like this:

{
	"rules": [
	{
		"match": [
	    "*://*.birchlabs.co.uk/*",
	    "*://birchlabs.co.uk/*"
		],
		"playlist":
		[
		"../../music/elevator.mp3"
		],
		"playlistMode": "noShuffle"
	}
	]
}

There is one rule configured in the rules array.

Upon navigating to any URL matching any pattern in the match array: Chrome Buy Mode will start playing its playlist.

'../../music/elevator.mp3' is a relative filepath that points to an mp3 bundled inside this extension.

To point to an mp3 on your computer, use something like:

  • 'file:///Users/birch/Documents/some folder/coolsong.mp3' (Mac)
  • 'file:///C:/Documents%20and%20Settings/birch/coolsong.mp3' (Windows)

For more examples, refer to:

Remember to click "Save changes".

License

Chrome Buy Mode is licensed under CC-BY-4.0 (Creative Commons Attribution 4.0 International Public License).

Elevator music bundled with this extension is sourced from BenSound, and is licensed under Creative Commons Attribution-NoDerivs 3.0 Unported.

You can’t perform that action at this time.