mirror of
https://github.com/Llewellynvdm/nativefier.git
synced 2025-04-02 04:51:49 +00:00
CATALOG.md: Spotify: mention faking user agent may not be necessary
This commit is contained in:
parent
69bc3306f9
commit
16cacb0915
@ -58,13 +58,13 @@ Note: as for Udemy, `--widevine` + [app signing](https://github.com/nativefier/n
|
|||||||
```sh
|
```sh
|
||||||
nativefier 'https://open.spotify.com/'
|
nativefier 'https://open.spotify.com/'
|
||||||
--widevine
|
--widevine
|
||||||
--user-agent firefox
|
|
||||||
--inject spotify.js
|
--inject spotify.js
|
||||||
--inject spotify.css
|
--inject spotify.css
|
||||||
```
|
```
|
||||||
|
|
||||||
Notes:
|
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.
|
- [Inject](https://github.com/nativefier/nativefier/blob/master/API.md#inject) the following javascript as `spotify.js` to prevent "Unsupported Browser" messages.
|
||||||
```javascript
|
```javascript
|
||||||
function dontShowBrowserNoticePage() {
|
function dontShowBrowserNoticePage() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user