Posts

Showing posts with the label Firefox

How to route audio output to any app on Windows 10

Image
I needed to input audio to a browser on Windows 10. We were developing a HTML5 app and wanted to use audio to control it. Specifically, we wanted to route the audio we were listening to (from Spotify) to the browser (Firefox) for use as an input. On Linux, it's much easier to route the audio you're hearing to whatever program. But on Windows 10, this is not always possible without some effort. Some programs on Windows 10 allow you to choose the audio output as an input. An example of this is the Audacity sound editor / recorder. But browsers typically only allow you to choose the microphone as an audio input. Step 1: Routing audio output as an input to a program For this purpose, I found a piece of software called VB-CABLE . I didn't need ASIO in this case, as I was just playing music from Spotify. For ASIO output you should try the HiFi-Cable software instead. ASIO is necessary for those who want to route sound from a professional audio DAW software such as Ableton Live, ...

Create a sleep timer for Youtube, Twitch, Netflix etc. on Windows 10

Here are instructions on how to create a Windows 10 sleep timer that will close your browser after a specified time. It's great for those who like to watch Youtube at night. Just copy and paste this into notepad, then save the file with a .bat file extension, for example sleepbrowser.bat. The below script will close Firefox after 60 minutes. You can easily edit the delay in minutes. Just edit the row "SET SLEEPDELAYMIN=60". If you use Chrome, Opera, Internet explorer or Edge, just replace the part 'firefox.exe' with your browser's executable name. This works also as a sleep timer for any other type of program than just browsers. You could make it close Spotify or Winamp as well. Here is the batch script. echo off SET SLEEPDELAYMIN=60 SET /A SLEEPDELAY=60*SLEEPDELAYMIN echo Will close Firefox after %SLEEPDELAYMIN% minutes timeout /t %SLEEPDELAY% /nobreak echo Killing Firefox... taskkill /F /T /IM firefox.exe I use the script also to start t...

How to put Firefox in Kiosk mode with no scroll bars

Here's how to make Firefox run in kiosk mode. Just install the add-on R-Kiosk . From now on, Firefox will run in fullscreen with most of the user interface disabled. If you want to also disable the scroll bars, you have to create a userContent.css file. 1) go to your Profile folder . In Windows 7, it is a subfolder of "%APPDATA%\Mozilla\" with a random name. 2) if a subfolder "chrome" doesn't exist in your profile folder, create the subfolder 3) if the userContent.css file doesn't exist, create it with notepad 4) add this line to the userContent.css file: html { overflow: -moz-scrollbars-none; }