I am developing a program that opens google.com website inside a borderless GTK Window on linux.
Loaded inside is webkit that displays a website. Everything works nice, but I cannot scroll or click anything
(scrolling with arrow keys and using TAB to navigate the website works). How can I fix it?
I tried googling but found no information.
Related
I have to show a web project through a touch screen using Chrome in fullscreen and in Kiosk Mode.
People will be able to navigate a website in all its pages also pointing to external links. Since I don't want people to use a keyboard, I'd like to add a sticky button that points back to the home of the project and that is present in ALL the webpages that people open.
Can I do it with a Chrome Extension?
Do you know any existing solution that could solve my problem?
Many thanks! <3
I made an app for Chrome OS that launches a Crouton program in a window using xiwi. I would like to make the app automatically change the Crouton window's icon so I can know which app is what. I tried using chrome.browserAction.setIcon (which changes the icon in the toolbar) as well as adding an 'icon' entry to chrome.windows.create (which didn't work), but that still didn't work. I found that using chrome.app.window.create with the 'icon' entry works, but the Crouton extension is not an app. Is is possible to change the icon of a Chrome extension's window programmatically?
I am working on electron app where i open a child window which i want to be above all the windows (not above fullscreen windows though), I managed to do it by using
win.setAlwaysOnTop(true, "screen-saver");
It now stays on top of all other open apps and keynote app presentation mode, i want user to be able to click buttons inside my window but now the issue is as soon as user clicks on button or just window in my child window, keynote window minimizes (as focus shifts to my window).
What i tried : I tried almost all available window option given in electron docs with different variations, I also tried playing with modals, but obviously modals stay in window itself, i want to keep main app minimized and keep child window on top of other apps. I also found electron-modal package, but that also behaves same.
working example
I was trying different application to check is any other application is able to do it, and i found that zoom app window (in screen share mode) is able to stay on top of keynote app and you can click buttons inside that app, you can move window, and keynote app keeps running in the background with no issues. I am trying to achieve exactly same behaviour.
This is something that you won't be able to recreate with electron currently, except through a native node module that manipulates your window related OS flags.
You can follow this issue on the Electron repository, since the flags introduced there should resolve your issue, or at least give you a point of entry to make your own PR or node_module.
https://github.com/electron/electron/issues/10078
Here is the link to my extension code:
Trying to capture desktop image using getUserMedia and canvas
The problem is that when I use :
chrome.desktopCapture.chooseDesktopMedia(["screen", "window"],onAccessApproved);
It asks me to share contents of my screen. But it doesn't show all windows that are active on my desktop.
Example: Sometimes my skype is minimised and if click the extension icon it opens a sharing panel and asks me to share desktop contents but skype window is not shown in this panel. If I click on skype from my task bar, the sharing panel shows skype. Reason for this behaviour?
How to show all my windows on sharing screen?
Well, the behavior is consistent: on Windows, minimized windows are not shown as eligible capture targets. There is no way around it.
This limitation is not documented, which is regrettable; it may also be OS-specific.
Specifically, Windows implementation contains the following comment:
// Skip windows that are invisible, minimized, have no title, or are owned,
// unless they have the app window style set.
Interestingly, this seems more like a Mac limitation than a Windows one:
// Return a 1x1 black frame if the window is minimized, to match the behavior
// on Mac.
I am setting up a kiosk to be available for people to download files from a local web server. my base operating system is ubuntu server. On top of that is Sanickiosk which I used to create a kiosk environment, then I switched their choice of browser for firefox with the mKiosk extension.
The problem is that there is a vulnerability in that a file can be dragged from the dowload location chooser into firefox and then opened.
I tried searching for how to disable the drag and drop function in the x window manager and did not find any clues.
I am wondering if I can add something to the bash script that disables right click and starts the browser.
Edit: wondering if there is a way to instantly "release" the mouse click on mouse click thereby preventing drag and drop?
Any help would be appreciated. thanks.