Can I customize popup camera permission default of browser? - aframe

I'm using A-Frame with ARjs, when access camera from the phone, we have a popup ask permission and I want to customize the popup with my text, have a beautiful styles with CSS like SweetAlert. Is it possible. Thanks for your help!

No, you can't. Permission dialogues are trusted browser UI not customizable by content.

Related

How to customize text in permission dialog in Xamarin.forms for Android?

I make a Xamarin.Forms App and making permissions for location,camera etc. I made custom text permission dialog in IOS for location like this:
<key>NSLocationWhenInUseUsageDescription</key>
<string>Test Message.</string>
but i can't find how to make it in Android. Any suggestion?
The short answer is, you can't.
As per Android's documentation:
Note: Your app cannot customize the dialog that appears when you call launch(). To provide more information or context to the user, change your app's UI so that it's easier for users to understand why a feature in your app needs a particular permission. For example, you might change the text in the button that enables the feature.
What you can do, and they advise the developers to do, is to adjust your UI or display a pop-up describing why you'll require the specified permission.

Hover on a href view screenshot of site

I have some links like "domain"
i want to have a preview image of the url link when i mouseover it.
is this possible with something like an iframe?
can someone help me with this?
sincerely Rene,
You are probably looking for a mouse over that displays an image (thumbnail of domain.com). For the mouse over, there are many scripts available: search for "javascript tooltip" (jQuery tools for example).
To get a thumbnail of "domain.com", you need to use a web service like URL2PNG or Browshot.

apprequests popup window css

Can you style with css the Requests Dialog of Facebook to your own look and HOW?
see Request Dialog Image
No, you can't.
See "Display mode" section of documentation for dialogs.
Dialog can be show in three modes: page (which is full page on facebook.com), popup (which is really first option but tailored to be opened as popup window) or iframe.
All of the options are out of question, since in iframe mode content of dialog is still document on domain owned by Facebook and cannot be styled by anyone except Facebook.
Currently they do not provide any ability to style dialogs (and I believe it's not going to change).

favorite icon in the address bar

Does anybody know how Google load the favorite icon on their homepage?
There is no link tag in the head. So, I thought that the icon is loaded through JavaScript but that is not the case. I've cleared the cache and disabled the JavaScript and still there is a favorite icon in the address bar.
Thanks,
Teo
A favicon.ico file in the root of the website will be displayed in most modern browsers - you don't need to explicitly link to it.

How do I skin an Adobe Flash Player Settings pop up and is it even possible?

I am trying to create a professional chat application using Flex. Unfortunately, the security window that pops up asking the user to allow or deny the application access to the web cam, (the Adobe Flash Player Settings Window) doesn't really look that great and I'd like to be able to skin it.
I'd really love to make this window look nicer. Is it even possible to skin this window?
No, there is no way to skin the security settings popup.
You'll just have to make do with the default.
Also, remember that if for any reason your Flash movie is smaller in size than the popup itself, it won't show up and just silently deny (safest for the user).
I learnt that the hard way : )

Resources