CATALOG.md: Spotify: mention faking user agent may not be necessary

This commit is contained in:
Ronan Jouchet 2021-06-04 18:53:38 -04:00
parent 69bc3306f9
commit 16cacb0915
1 changed files with 1 additions and 1 deletions

View File

@ -58,13 +58,13 @@ Note: as for Udemy, `--widevine` + [app signing](https://github.com/nativefier/n
```sh
nativefier 'https://open.spotify.com/'
--widevine
--user-agent firefox
--inject spotify.js
--inject spotify.css
```
Notes:
- You might have to pass `--user-agent firefox` to circumvent Spotify's detection that your browser isn't a real Chrome. But [maybe not](https://github.com/nativefier/nativefier/issues/1195#issuecomment-855003776).
- [Inject](https://github.com/nativefier/nativefier/blob/master/API.md#inject) the following javascript as `spotify.js` to prevent "Unsupported Browser" messages.
```javascript
function dontShowBrowserNoticePage() {