Skip to content

Instantly share code, notes, and snippets.

@harunonsystem
Last active February 4, 2023 10:59
Show Gist options
  • Save harunonsystem/47b5bbbefc9b1ab4565ff250c505ab78 to your computer and use it in GitHub Desktop.
Save harunonsystem/47b5bbbefc9b1ab4565ff250c505ab78 to your computer and use it in GitHub Desktop.
減るもんじゃないので公開する
// https://note.com/harunon/n/n6d6b9ea68b6d
module.exports = {
defaultBrowser: 'Microsoft Edge',
rewrite: [
{
match: ({ url }) => url.protocol === 'http',
url : { protocol: 'https' }
},
{
match: ['youtube.com/*', finicky.matchDomains(/.*\.youtube.com/),],
url: { host: 'www.youtube.com.'},
},
],
handlers: [
{
//match: finicky.matchHostnames([“youtube.com”, “facebook.com”]),
match: ['youtube.com*', 'zube.io*', 'miro.com*',],
browser: 'Google Chrome',
},
{
match: ['apple.com*', ],
browser: 'Safari',
},
{
match: ['sentry.io*','github.com/harunonsystem*', '*.harunonsystem.com'],
browser: {
name: 'Brave Browser',
profile: 'Profile 1',
},
},
{
match: ['sketch.com*', ],
browser: 'Google Chrome',
},
]
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment