Skip to content

Birch-san/chrome-buy-mode

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
src
 
 
 
 
 
 
 
 

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published