samsung-internet

How to detect darkmode on Samsung Internet browser?

喜欢而已 提交于 2020-05-26 09:54:10
问题 If this can be detected - is there a possibility to influence colors by CSS classes or JavaScript? With the dark reader extension, it is also possible to submit adjustments. Hope that it is also possible here, if nothing else could change it. 回答1: Samsung Internet does strange things with colors in night mode. If you’re aware of them, you can sort of workaround any issues. I’ve not found a way to detect it, though. The color filtering takes place late in the rendering process so APIs aren’t

How to detect darkmode on Samsung Internet browser?

十年热恋 提交于 2020-05-26 09:54:07
问题 If this can be detected - is there a possibility to influence colors by CSS classes or JavaScript? With the dark reader extension, it is also possible to submit adjustments. Hope that it is also possible here, if nothing else could change it. 回答1: Samsung Internet does strange things with colors in night mode. If you’re aware of them, you can sort of workaround any issues. I’ve not found a way to detect it, though. The color filtering takes place late in the rendering process so APIs aren’t

Firebase Cloud Messaging not working with Samsung Internet

爱⌒轻易说出口 提交于 2020-04-17 06:03:39
问题 I'm setting up Firebase Cloud Messaging to do push notifications on the web. It works but only with Chrome (Windows and Android) and Firefox(Android) so far. It's not working on Samsung Internet Browser (the browser that comes pre-installed on Samsung's phones) and I haven't gotten a chance to test on iOS so far. I've tried adding the sender id as gcm_sender_id to the Cloud Function I'm using as well as to the manifest.json file to no avail. Below is how the notification body is set up. //