You can use Javascript or HTML5 automatically detect the location of the viewers? Degree of accuracy can be?

You can use Javascript or HTML5 automatically detect the location of the viewers? And if so, how specific can you be. . that is, down to the CITY, they are in? Or even the suburbs?

You can use Javascript or HTML5 automatically detect the location of the viewers?

Yes - it's called the geolocation API (http://www.w3.org/TR/geolocation-API/)

A few simple examples:

http://www.w3schools.com/HTML/html5_geolocation.asp

And if so, how specific can you be

In General, it is pretty accurate on GPS devices (mobile phone, for example) because they use GPS satellites to determine location. Peripheral WiFi use triangulation of access point, which is less accurate. If a device is connected via a cable (computer desktop for example), it will use the IP address, which is not at all accurate or completely wrong

NB. the user must allow access to the API first, because of the risk of privacy.

Demo:

http://html5demos.com/geo

--

Kenneth Kawamoto

http://www.materiaprima.co.UK/

Tags: Dreamweaver

Similar Questions

  • Window can not automatically detects the network proxy settings

    Original title: window could not automatically detect the network proxy settings
     
    Windows network diagnostics says constantly "" window could not automatically detect the network proxy settings"" How can I fix it I have a Windows laptop, 8 and I can't use the internet, most of the time, but the internet bars are full and there is no yellow triangle with a! next to him.  Usind Ethernet instead of WIFI makes not much difference if you please, help.

    Hello Sarandeep Singh,

    Thanks for your reply Sarandeep. Now, this problem has been resolved. I that follows the steps of: https://support.microsoft.com/en-us/help/15287/windows-why-can-not-get-connected ( run Networking command after using the convenience store network )

    Thanks again.

  • Can you still use stars to rate songs in the music app?

    Can you still use stars to rate songs in the music app?  That's how my itunes library is organized, and when I get new songs on my phone I would rate it.

    Hi Eric,.

    Yes, you can always classify a song with stars in the app music with iOS 9.2.   When you choose to start a song, the Miniplayer will appear.  Tap the song title to see the player Now Playing view (full-screen).  Tap the title again in this point of view and you will see five points.  Press the point that represents your side.  (Ex. If you type the fourth point, you will see four stars).

    The now playing view will remain open, it will be later songs of rate they play.  Pressing the arrow down in the upper left corner will take you back to the sight of MiniPlayer.

    Here is some additional information on the new music app:

    With the help of the new music app

    My Music & Playlists

    The My Music tab makes it easy to navigate through all of your music, everywhere where it is-on the iTunes Store, a rare import CD or your subscription to Apple's music. Whenever you add a song, album, or playlist, keep us at the top of my music in recently added. Press the category below picker recently added to sort and view your music by artists, Albums, songs, music videos, Genres, composers, and Compilations.

    Play your music

    When you play a song, you see the Miniplayer at the bottom of the screen. You can continue to browse other titles to find the next perfect song.

    Or you can tap or slide up on the Miniplayer to see the display of current playback and controls. Press on the in the upper left corner or sliding down to close the now playing screen.

    Happy new year!

  • 48 hours ago windows xp media played .m3u files, now get error Windows Media Player C00D1198 (automatically detect the proxy settings is selected)

    48 hours ago, I was able to play samples of the song from Amazon (.m3u files) using Windows XP SP3 Windows Media Player.  Yesterday and also today in an attempt to the same on Amazon, I get error C00D1198 on WMP-

    "windows media center cannot connect to the server the server name may be incorrect, the server may not be available, or your proxy settings are may not be incorrect.

    Automatically detect the proxy settings is enabled

    I did not bring any changes to the computer or downloaded codecs, not played any other player, and in the meantime has used another music site, etc.

    Thank you in advance for your help!

    http://Windows.Microsoft.com/en-GB/Windows7/c00d1198

    I guess you can still play all the other music ok?

  • "windows 8 cannot automatically detect the network proxy settings."

    Several times a day on my new Windows 8 I get the message "Windows could not automatically detect the network proxy settings." I then use the troubleshooting tool that detects the parameter and am back in business, but why should I have to do every hour or so? After being on the Windows Support, the same problem is triggered, but responses are always to Windows 7, nothing about Windows 8.  Sometimes the message is "the default gateway is not available. Using a wireless connection and had no problem at all when you use Windows 7, it's only been 8 download it has become a pain. Anyone out there have the answer please?

    Hi Chris,

    Thanks for posting your question on the Forums of community of Microsoft.
    Description of the question, we understand that you get "the default gateway is not available" error when access wireless network.
    Let us move forward and help the issue.
     
    If you could answer a few questions that would help us resolve this problem:
    1. don't you make changes to the computer before the show?
    2. What is the brand and model of the computer?
     
    Here is a link that you can follow to resolve the problem:
    Wireless and wired network problems
     
    I hope this helps. If you have any other queries/issues related to Windows, write us and we will be happy to help you further.
  • Windows could not automatically detects the network proxy settings

    Recently, I noticed a triangle appearing little attention with my network icon in the taskbar. When I right click and solve problems, it comes with this message. Windows could not automatically detect the network proxy settings. My internet has been really slow lately, but I wonder if there is a problem with my network? or is - something that my ISP has set?

    (This message is intended for all problem reports)

    Check the Internet Options (Internet Explorer tools or configuration panel / /Connections Options tab / LAN Settings and make sure that Proxy Server is not checked even if you use Firefox.)  Check the settings in Firefox Tools / Advanced connections / settings (should be use system proxy settings or no proxy).

    Search for malware, especially using malwarebytes.

    Try these commands in this order in an elevated command prompt.  Not the first first, then reboot and try.  If still bad, try the second.

    netsh winsock reset
    netsh int ipv4 reset

    If they do not help, please after the output of a command ipconfig/all-order

  • Why, after all these years, can not Thunderbird automatically detect the character encoding

    Judging by all existing messages and complaints on this issue, not to mention the erroneous messages that say that the problem is resolved when it is not, I must conclude Mozilla either does not believe it is a problem or doesn't care to fix it. The key is that there is no way to tell Thunderbird to automatically display the emails in the character encoding format that they were written in. I could understand the case where headers are not properly filled, but I see tons of emails in which coding is clearly in the headers in the message source. You can force, but if you do the menu VIEW-> encoding-> UTF8 character (for example) it doesn't 'glue' If you post another message. But who wants him 'stick' at all times even when? What the average user really wants is to be able to toggle the VIEW-> character encoding-> auto detect the default 'off' value simply "on" and don't have to bother with it more.

    This is a problem that seems to go on forever, and it NEVER happens with other e-mail clients. If there is some backdoor way to actually autodetect working, I would know about it. But more importantly, I think that all users would appreciate it if this was not some secret arrangement 'backdoor', but a choice of menus overall simple for all accounts. Can Mozilla if you please fix this problem once and for all?

    Can you tell us what you heard:
    Tools > Options > advanced > general tab
    Click on Config Editor

    At the top of the search page of type:
    Mailnews.force_charset_override; Value = "false".

    Do you like value... true or false?
    If Value = 'True', double click on the line to switch to "false".

    close window - top right X
    Click OK to save the changes to the Options.
    Close and reopen Thunderbird.

  • Hearing automatically detects the pitch correction key?

    Hello, I'm trying the automatic pitch correction in the hearing of the CP. I wonder if the tone of the piece is automatically detected. If not, is there a way to analyze the track to know what key it's in? The original recording was from iTunes, and I don't have any info on what key it was written in. Please help if you can.

    Thank you!

    Hearing is not analyze an entire publication and give the overall key.  It does not provide the pitch of individual notes or the average rating of a selection range, which MIGHT get you close to the key, but this is certainly no guarantee.

    Try to open the frequency analysis window, twirling to the bottom of the "Advanced" at the bottom section and then selecting your entire file or a single verse or passage.  You should see the 'general note' at the bottom:

  • Why LR5.7 cannot automatically detect the Pentax lens DA645 28-45mm ED AW SR as all other aggrieved Pentax 645?

    LR 5.7.1 detect all the objectives of the Pentax 645Z, except the Pentax 28-45mm ED AW SR F4.5 DA645 HD. No 'objective' line is shown in the EXIF. For the correction of the objective no automatic lens selection, you must choose the profile of first entering lens 'Pentax' in the Type of device (no), then lens corrections are running.

    See these messages:

    http://www.dpreview.com/forums/thread/3840584

    Lightroom: Pentax Lens undetected profiles

    Profile of lenses fails for Pentax D - FA Macro 100mm F2.8 WR

    Solution of having the lens automatically detected:

    (1) select a raw image taken with the lens in LR.

    (2) in correction lens to develop module > tab, select profile make the right model optical profile.

    3) click on Setup, then select "Save new lens profile by default is" as shown below.

    (4) you will need to do this for each goal that is not automatically detected.

    The correct lens profile should now automatically assigned when importing raw files.

    Unfortunately, this does solve the problem of the lack of the objective data used by LR for the filter toolbar and Panel metadata.

  • automatically detect the format of delivery

    format of delivery automatic detection is not introduced to HTML format, when a picture/photo is pasted in the body of the email

    problem was present in a first version of TB (sry can't remember which) then was fixed, but has reappeared on 38.4.0 (don't know if he started this version, just realised 38.4.0 has this problem again)

    If delivery format HTML option so it works (pasted image is sent)

    See the attached screenshots

    OK, I see the problem now,

    sound in the Send Options, he defined the message convert to text format if TB is not able recipients of HTML (mine are all set to unknown) so he removed all the updated html in shape including images... grrrrr!

  • When you open a new window, it automatically loads the last content pop up (?) and I'm unable to type in the address bar or open a new tab in the new window.

    I don't know if they are technically pop-up windows (for example, if you perform a search on kayak.com, it will automatically open a new window of priceline.com with the search results), but that happens with Blocker on or off. Other examples are a little info to a financial site window or .edu, which opens a session is about to expire, or answer a FAQ (with the exception of the priceline example, these windows have an address bar or view a URL). In any case, once these windows are closed, if I try to open a new window, it will automatically load the content of this "pop-up". Whenever he does, I'm unable to type in the address bar or open a new tab in this window.

    How can I fix it? What I want is to open a new window which is empty, not load the previous contents.

    No, I just realized that I was holding Command-Shift-N rather than command-N

  • How to use javascript or formcalc to reference the child controls (no name)

    Hello world

    I've created a ton of reports in the past, and I am now looking to create some reusable objects so that other people can use features of advanced form without having to learn to use scripts.

    A lot of the coding was done using this, .parent, etc. so that they can rename controls and subforms without having to worry about breaking the scripts. A question that I have is that some of my code looks at the child controls and refers to their name (for example, I have a code that uses setfocus to move the user to the first field of a subform).

    In most languages, there are ways to refer to child controls through an indexer or an array of elements or children. i.e. Subform.items [0] .rawValue.

    I know that this would cause some problems, but I think I could sort it out, if I only knew where to start. Is it possible to reference a child control without a name?

    Thanks for your help!

    -Scott

    Hi Scott,.

    The subform has a collection of nodes, you can run a loop though, as you suspected him.  If could show more than you want, but you can test the className to see if it is a field, then ui.oneOfChild.className to the type of the field. Then;

    for (var i = 0; i)< subform1.nodes.length;="">

    {

    var n = Subform1.nodes.item (i);

    Console.println (n.className + "" + n.name + "" + n.ui.oneOfChild.className);

    }

    I hope this helps.

    Bruce

  • Now, my POP email accounts must have "automatically detect the e-mail settings" unchecked in order to work.  Why?

    My POP email accounts received by e-mail only periodically. They show offline otherwise (good to send however).  When I uncheck "automatically detect and maintain the settings for the account, everything works.  When I check once again, they're going offline.  What is going on?

    PS I upgraded to El Capitan 10.11.3 for a while but this shoing only problem upward in the last days with 2 different email & accounts providers

  • When you try to export data into a program that we use, it does not automatically recognize the file as .xml format. Anyone know what I can do to fix this?

    I tried to uninstall version 3.6 and reinstall. Also, I provided in the workstation image, but it still does not work. The OS is Windows 7 32 bit. This process runs automatically on a XP workstation. In fact, the machine that I've reconfigured was a XP box, but it did not work on this particular machine. Therefore, the reason for the new image.

    See:

  • How to "automatically detect the proxy for this network settings" and "Use system proxy settings" work behind the scenes?

    How can I see what the firefox proxy actually uses when I check either of these two options?
    There go to Internet Explorer?
    They are stored somewhere in the registry?

    Hi conectionist,
    This is taken if there is a proxy configured in the network settings on your operating system. If you want to test there may be further on:

    Please feel free to research to find a better if necessary.

Maybe you are looking for

  • em326g output 3.5 mm at the entrance to auxilarry car does not work

    Scenario 1: em326g-cord-helmet-> work > > Scenario 2: em326g-> cord-> factory auxilarry entry on Ford Escape-> does not work Scenario 3: em326g-> cord-> auxilarry after-market entry on car-> does not work When it does work the music keeps playing thr

  • HP Pavilion 23-a200a all-in-One desktop PC

    critical error is not going past this error tried to let him do a repair via windows repair work not to go in front of her and is not reding any our external dvd player usb If I can get the data off hd can someone help please

  • Cannot install drivers windows 7

    Windows 7-64 installing drivers for one D110a wireless network. Drivers were very nice, someday, that nothing prints. In devices and printers, the machine had a warning. Solving the said MC teredo Tunneling adapter could be solved by installing the d

  • XP does not recognize CD Vista

    A picture made using Windows Vista CD does not work on my other computer that uses XP Home. The message says that the CD is empty.

  • Compress files old option in the disk cleanup tool does not seem to do anything

    original title: compress old files How to compress old files? When I run Disk Cleanup, the compress old files is checked, but the cleaning does not remove the 13, 464KO here. How can I get rid of this?