We are using a Silverlight application together with a third party dashboard tool, both running in separate tabs.
When we click in the dashboard we use SignalR to communicate with the Silverlight application.
Whenever this happens, we want to highlight the tab of the Silverlight application, however we do not want to use an alert box because this requires the user to do an extra click.
Is there a way we can trigger an alert box in the Silverlight application (or html page it is running in) to do an alert that disappears after x seconds?
Either we want a focus on the tab of the Silverlight application (however this is browser blocked) or have a tab highlight which, besides clicking the tab, does not require any user interaction.
The application is browser independent.
Create a child window that pops up and will close after a certain amount of time. You can make it look like an alert if you need to.
How about a solution that attracts the user's attention like web basted applications as Google Talk and Facebook Chat? They change the title on interval basis.
In my opinion you won't find any other, better, cross-browser solution at this moment.
You could hook a dedicated piece of javscript to a SignalR hub on every page you'd like. As soon as you focus on the tab you'll stop flashing.
Here you'll find a jQuery plugin that does what I just suggested
Related
I am developing a cross-browser MVC web app with a javascript browser extension that uses a background script, is it possible to hide the address bar/navigation, the browser window menus, side bar and other toolbars?
The only thing I really want to keep is the tabs, though I would like to hide the add tab button as well.
This web app will run by itself a browser window, I have already got the extension doing that, so it won't affect other website functionality.
Question: Is this possible, if so, how and what api's should I focus on?
There are two ways to hide a browser's UI:
1) In any environment, you can popup a 'chomeless window' popup, which is discussed here: How do I create a chromeless window?
2) In a mobile environment, primarily Android, you can develop a Progressive Web App which will be able to open the mobile browser without the UI. See: Create a PWA in under 5 min's
Given your use case, it sounds like option 1 is your best bet, but likely it won't satisfy all your requirements.
When the user opens the website to the mobile device, the browser should ask Add To Home Screen or Add Bookmark To Screen like PWA for every single page I mean different for every URL.
Note: Here I'm not talking about PWA (Progressive Web App), I know how to create PWA and I've created it.
I just want to know that what I am asking is possible or not to ask the user to add a bookmark on every single page he opens just like PWA.
No. You cant. Here is my detailed answer on why.
That would be so annoying to a user and no browser will let you do that (even if you think its a valid use case for your scenario).
Thats why browsers don't give control over how the install prompt event is triggered. Install prompt can be caught and shown once in the right time when you think user will be convinced to install it. If the user defers to install, you need to wait for a long time to catch the same event again to show the prompt again. How long is something depends on the browser and there is no standard time defined by any browser vendor.
Basically, if browser thinks user might like to add again based on the length and frequency of usage, then it will trigger the prompt event again. But that wont be in the same session/day for sure.
I am trying to automatestrong text a certain task and the procedure of it is as follows:
Open web browser (Google Chrome)
Go to a certain site
Put in username then jump to another field (like pressing the Tab
button.. it automatically log ins since I am connected to the
office network)
Type again on a certain field
Click search button etc etc
Is it better to code a windows service? Are there any other ways to do the above task? I wanted to automate it because the job is just more about Click, Type, Click, and Wait. The values are also somehow fixed so it could really be automated.
I am going to make an Outlook add-in very soon.
It has the option, that if a user press a button, a browser should be opened, and the user should fill out the required forms on the URL.
Now I don't imagine it is any problem to open a browser from Outlook itself. But I suppose that if you just open a link, then the whole browser will be loaded up, with all tabs, full size and so on.
Is it possible to just open a small browser window, almost like a popup? No tabs or anything. It should just use the users default browser.
I hope you understand my question, and can guide me to a solution :)
To answer you question, take a look at the WebBrowser class. You can put it in a simple windows forms application.
However, unless you have specific requirements to use a specialized browser, I would simply let the system default browser handle any links.
Create and display a custom form. You can use a browser control in that window.
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