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.
Related
These websites were working before and suddenly after a restart of my AWS Workspaces these websites are returning below error on all browsers. I have re-installed IIS and also deleted the files from C:\inetpub\history. When i run the same website from Visual Studio it works but the url would be like http://localhost:29740.
This site can’t be reachedThe webpage at http://localhost/xxx might be temporarily down or it may have moved permanently to a new web address.
ERR_CONNECTION_ABORTED
Are you using chrome browser? there are many reasons for this error, such as the website or service you are trying to access does not support the SSLv3 protocol (Secure Socket Layer Version 3 Protocol), some third-party program like your antivirus or an extension install on to your browser might be interrupting your connection to the website.
Before trying any fixes, try to access the same website from a different browser and preferably a different connection. Try to access the website from the browser in Incognito mode may help too. But if you still encounter this error, here is what you can do to fix it.
Disable SSLv3 in Google Chrome:
First, add a Chrome shortcut to the desktop, then right-click the Chrome desktop shortcut, select Properties, and click the Shortcut tab as below.
C:\Program Files (x86)\Google\Chrome\Application\chrome.exe” –ssl-version-min=tls1
Disable Antivirus and Firewall
In the System tray on the right corner of your taskbar, right-click on the icon of your Antivirus and then click on the option that refers to disabling your antivirus protection temporarily.If prompted, set the duration of antivirus to be disabled as per your choice.You may temporarily disable Windows Defender in you use iton Windows 10.
Now, you can check if your issue is resolved or not. Additionally, you can disable your Windows Firewall protection too. This is due to the fact that the Windows Firewall monitors and authorizes or denies and inward or outward connection from your computer.
Now, you can check again if your issue is resolved or not.
Reset Google Chrome
To reset Chrome browser, make sure that Google Chrome is not running anywhere in the background using the Task Manager.Now, hit the WINKEY + R combinations to open Run and then navigate to the following path,
%USERPROFILE%\AppData\Local\Google\Chrome\User Data
Now, select the folder named as Default and hit the Shift + Delete button combinations and then click on Yes for the confirmation prompt you get.
After deleting the Default folder, open Google Chrome and click on the Menu button denoted by three verticle dots in the top right corner.Then, click on Settings. In the Settings section, scroll down and click on Advanced to reveal the Advanced Settings.
Now, scroll down to the Restore Settings to their original defaults button and click on it.Click on Reset, and this will reset your Google Chrome browser.Now check if you issue is fixed or not.
Reinstall Google Chrome
If all the methods that are mentioned above do not work properly, the last and the ultimate fix would be reinstalling Google Chrome.
https://confluence.atlassian.com/display/CAPTURE/Taking+screenshots says
"Keyboard shortcut
Capture for JIRA allows you to configure a keyboard shortcut to take a screenshot at any time. This allows you to capture bugs that might only occur during mouse interaction.
The configuration can be set in the server settings overlay in the browser extension's sidebar."
I cannot figure this out.
It's a setting in the browser extension, not in the JIRA add-on.
In your JIRA, in the "Capture" menu at the top, there's a link to install the browser extension. Make sure you've installed the extension first.
Then, when you open the extension, you can click the settings icon at the bottom. That will display the settings panel where you can configure your shortcut keys:
I am working on asp.net application which is used in one specific machine. On launching this website, the website will be opened in full screen. Now, I should restrict user to use only this window. I should not allow user to open any window, app, anything else by keyboard, mouse.
Please help me in designing this.
Thanks,
Fayaz
Some trial and error helped me. Posting here so that would be helpful for who are looking for same...
Quoting from http://www.pcmag.com/article2/0,2817,1858713,00.asp
You can lock down these subversive key combinations using restrictions in the Registry. Launch RegEdit from the Start menu's Run dialog; navigate to HKEY_LOCAL_MACHINE\SOFTWARE\
Policies\Microsoft Internet Explorer\Restrictions; and find or create each of the following DWORD values, setting its data to 1 to enable the restriction:
NoBrowserClose (disables closing the browser window)
NoBrowserContextMenu (disables right-click context menu)
NoFileOpen (disables use of Ctrl-O or Ctrl-L to launch an arbitrary URL)
NoOpenInNewWnd (disables opening a link in a new window via Ctrl-N or Shift-click)
And below url helps in blocking other functionality
http://blogs.technet.com/b/askpfeplat/archive/2013/10/28/how-to-setup-assigned-access-in-windows-8-1-kiosk-mode.aspx
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.
When launching the Chrome Extension Google-Hangouts, a panel initially appears that lists members and a link/button to create a new Hangout.
This panel is initially pinned to the bottom right of the browser window. When pinned like this, it remains always on top as a browser navigation session continues: users can go to different URLs, change tabs, etc. and that panel stays at the bottom right and stays on top of all other windows (or at least on top of the main browser window).
Once it's unpinned, you can drag it around the window, but it no longer stays always on top.
My question is, how was that achieved - what code, or what functions, do i need to call to create that window/panel so that it stays initially pinned and always on top? Is there some binding to some native code that's involved? Some other approach?
If anyone know and can show or explain, i would be hugely grateful as this feature is key to an extension i'm trying to build.
Thanks a lot!
This may not be an answer but to get a clue of what is happening I extracted the crx file to view its content there are a few OS specific files : ace.dll , libace.so and ace. After researching a bit i found this. This is a plugin. Hangouts extension is using ace plugin which is actually running on your desktop(i'm not sure about this). You can check this article
I found this related post: How to build an chrome extension like Google Hangouts
ACE is actually not what makes the window, Chrome has that capability built in, apparently. Even if you don't enable panels, extensions from Google can still make them, provided your OS is capable.