I caught myself wanting to make a cross-tab sound controller and i have done some research on this, but i can't really find a good way to go about controlling the sound for all elements in all open tabs.
Does anyone know of any way with jq, js, or anything else that can run in a browser that can be used to controll the volume of all open (and new) tabs?
The use-case would eks be muting all tabs with one button, adjusting up or down the total "browser volume" in one place, and such.
I haven't been able to find any support for this so far, so does that mean it really is impossible after all?
Edit:
The main thing is that this needs to be "cross-tab" and not just a way to adjust a single audio player / audio source playing in a single tab. Say you have 5 tabs with Youtube open and i want to be able to mute / lower volume / raise volume of all those tabs from one single tab.
It depends what you mean by "In the browser". I think that you will only really be able to accomplish this as a browser plug-in or extension. That may not be what you're looking for, but browser extensions can implement that functionality.
See: https://developer.chrome.com/extensions/samples and look at the chrome sounds sample. That might give you a good place to start.
I did find a solution for lowering the volume on one given tab. You could simply repeat it for each tab.
Check this please: Javascript: control Google Chrome's open tab audio volume control
Related
I have about 10+ tabs open in my browser with each containing a button I need to click, in intervals of about 20-30 minutes.
I am looking for some kind of autoclick solution so that I don't have to go back to my browser every 20-30 minutes and manually click the button.
I downloaded an extension for Firefox called Autoclick but this didn't work. I'm thinking if there is maybe a better solution so that I can program these buttons in advance to be clicked in the interval I specify.
I am not sure here what the best solution would be. I'm wondering if anyone would have an idea.
I do not own this domain by the way so altering the source code of the form that needs to be sent is no solution.
You can give Selenium a try. It can be installed as a plugin/extension in your browser.
Selenium for chrome for example can record your actions and then playback them for you automatically.
Not sure about multiple tabs, but it should be possible.
I have a requirement where a few users are required to keep a watch over a dashboard browser page.
My first thought was use some javascript magic that reloads the page, switches to it if it is not active and being the browser window to front. I quickly realized how difficult this (accept for reload) is and that browsers do everything possible to prevent it, with good reason.
On the other hand, I have err, seen some "websites" which show a pop-up telling me that my browser is affected and I need to call the given 800 number. These pop-ups are pretty much impossible to kill. I could use that if I knew how.
I have also considered utilities like ergociser which sit in the taskbar and open a browser window periodically. This could work but it opens a new pop-up window every time, while I am keen to reload it in the same window.
The closest I have come so far is to use alert which does not bring the window to front but it does flash the taskbar.
I am thinking of a chrome extension or firefox add-on that brings named pop-up tab. But I am open to any other ideas. It can be a browser specific solution, and it is ok to require white-listing in pop-up blockers
What is a best way to do this?
UPDATE
There are two close votes for "Too Broad". It is true that I am looking for the right technology to use for this problem, so I cannot refine it with technology-specific details. But short of that, appreciate if someone can give suggestion for narrowing down the problem statement.
I have also asked this question here at the chromium Google group.
I would like to be able to keep a context menu open even after a user checks, or unchecks, a checkbox. My plugin allows users to check which devices they are using when testing and when testing multiple devices, it is frustrating to open the context menu several times to tick each device.
Does anyone know of a way to do this? It does not seem to be supported natively. I don't really want to use some magic to re-open the menu, if possible, after a user checks a given device, hence the question here. If it is the best (yet hacky) way, then fair enough. I hope it's not! I think menu flickering would also look bad.
No, there is nothing in the API to allow that.
It might be an interesting feature request - if you're willing to spend time to formulate it at https://crbug.com/
Is there a way to accomplished this on browser?
Disable opening another web page
or disable switch current tab functionality in browser
when certain page (in this case my page) is still open?
I want to make a quiz in web, but i want to eliminated the posibility for user search on internet for the answer, but have no idea how to accomplished that.
plis give me a solution..
regards..
No, this isn't possible, for (what I hope are) obvious reasons.
This not possible.
Even if it was possible in theory, how would you stop the user opening another browser (different brand to the current one)?
How would you stop the user from using their mobile phone to search the web?
If this quiz is being run in a controlled environment (like a classroom) you could run the web browser in some sort of kiosk mode with strict policy setup against opening other tabs etc. But if it is being run in a classroom, then you already have someone supervising anyway. Why bother then
I am creating a firefox extension that should give a notification when the user hits specific sites. I do not want the same kind of notification that firefox gives for pop-ups. I don't want the user to have to go through the hassle of clicking the X in order to close the notification. Instead, I would like it to look like what happens when a normal firefox download is completed - a notification comes up, and automatically goes after a few seconds. On a mac, it looks like a growl notification, and I love the way it looks. Is there an easy way to implement this feature?
Thanks
I think you want this type of notification.
I'm not sure how to implement "Download Complete" type one - but since entire FF AFAIK is implemented in XUL, probably it's doable.
I have found the following:
chrome://global/content/alerts/alert.xul F Window used for stuff like "download complete" that shows in lower right
Haowever, if you don't find a way to do that, why not implement banner-notifications, the way StackOverflow does? They are not obtrusive as far as site functionality, don't require extra work to get rid of (well, SO ones do but you can rig yours to automatically fade away after a time), and very visible/noticeable with the right styling.