Disable automatic Dark Mode of Browsers - browser

I have a problem where Samsung Internet tries to render my page in Dark mode, even tho it already has one. This causes the text to be black on a dark gray background, which is unusable. You can disable that in the settings of Samsung Internet, but that is not a good solution, as it requires user action.
Is there a way to indicate to the browser, that the website already has a dark mode and doesn't need to be adjusted?

Related

How to remove touchpad 2 finger scrolling ofsetting page?

I'm trying to learn the tauri gui toolkit with rust but ran into an issue with 2 finger scrolling on my laptop touchpad on the displayed page (in dev mode at least, havn't tried the release mode yet). The frontend is written in vuejs using the vue router.
If I use a two finger horizontal scroll on my touch pad, that causes the usual "back animation" that we can see in chrome, and it also changes the view to the last open router page (killing any running functions and processes on the front end)
Image of the issue, the white part is not a part of the frontend
I tried googling and going through the docs but found no information about this.

Flutter web UI does not zoom in properly

I just starting using flutter web since it's stable release. One thing I observed about this is the UI is not zoomed in like other web app.
Below is the default starter app which appears on creating a new flutter project. I've just changed the body color of Scaffold to notice the issue properly.
It's good the it's zoom is not responsive to scroll wheel of a mouse but when I use the touchpad of my laptop to zoom in, it responds to it. The result of zoom is a bit unexpected.
Below is the result.
In this case I kept my cursor to the center of screen and zoomed it. Keeping the cursor anywhere leads to almost same kind of UI.
Any workaround for it? Or maybe if I can disable this pinch zoom feature ?

Why does the Wii U display websites weirdly?

So I was messing with my Wii U's web browser and found their cool little developer tools feature. I enabled it and loaded up my website.
While inspecting it, I found something weird - the website's body displays as 980 pixels wide, even though the gamepad is only 854 pixels wide according to Wikipedia.
If it matters, here's a link to my site, but I'm pretty sure it's not my code that's doing this. Any ideas?
The viewport of the browser is 980 pixels wide. This is most often seen on mobile browsers, where emulating desktop dimensions would be troublesome; not sure why they would feel the need to do the same in this situation. Perhaps they ported an existing mobile browser? You can control this behaviour by using the <meta> element on your website.

Disable Chromium Ctrl+T, Ctrl+N, Ctrl+W, Alt+F4, etc on Linux in kiosk mode?

Is there a way to disable Chormium's shortcut keys in Linux? I've tried the --app and --kiosk flags but they don't disable the shortcuts, you can still create a new (though unusable) tab with Ctrl+T and can create a new (fully functional) window with Ctrl+N. Also, Chromium appears to do it's own check for Alt+F4 because even though I have it disabled in the window manager it will close Chromium. How do I disable all the shortcuts within Chromium? Window manager is matchbox, started with xorg + nodm (the default lightdm+openbox system didn't allow me to auto-restart the session or get rid of Alt+Tab).
This is for an embedded system using node.js in the background to handle hardware io, but it will need a network connection to function so I want to ensure users are locked out of the browsers (the various Ctrl+Alt+F* shortcuts have already been removed, Chromium is all that remains in making it a real kiosk system). Alt+F4 isn't a major concern (though it would be really nice to get rid of) because when Chromium crashes nodm will automatically restart it and it handles the Alt+F4 somewhat reasonably (black screen, flashing white, then it's back up - it's not a security concern just a severely ugly "feature" people might stumble accross).
I don't think chromium has an inbuilt interface for disabling os keyboard shortcuts like ALT+F4, but what you could do is intercept those key-presses with javascript and that should be enough to stop the key-presses from working.
To enable such a script on all your pages, you'd need something like greasemonkey, which chromium has a support for out of the box, you can read about it here.
Custom Keyboard Shortcuts - Chromium extensions

Font-face embed (on website using CMS Made Simple) disappearing randomly on IE6

I made a website with custom fonts embedded on the website using font-face. The font embed works fine across all major browsers on Windows, including IE7. However in IE6 the embedded fonts tend to disappear from time to time.
This only occurs on the website after I have implemented on CMS Made Simple however (and then it only occurs on IE6 during navigation between pages).
Template: http://www.vdpwebsites.com.au/tony/2011/bindara/index.html
(pages available: home, about us, stallions)
CMSMS: http://203.98.84.170/~bindara/
I think it might be a loading problem or something. On my template when I navigate/go between pages I can see the font first appearing in arial, before being replaced by the embedded font.
when you first go to the website on CMSMS the embedded font shows, but when you switch pages it gets stuck on arial. The only way to get it to show the embedded font again is to reload the page (ctrl F5) or clear the cache. Refresh doesn't do anything but replace the embedded font with arial if it was showing.
I'm running windows 7, and the IE6 is running off a Virtual PC. I'm not sure if the same would occur for someone who were using IE6 on their actual machine. Can anyone test this for me?
Cheers
I checked the site on a remote IE6 machine. I did not ever see the embedded font fail to load. Though I did see Arial at first, after a few seconds the embedded font loaded.

Resources