Geolocation是HTML5标准下的一个Web API,利用它可以获取设备的当前位置信息(坐标),此API具有三个方法:getCurrentPosition、watchPosition和clearWatch,其中最常用的是getCurrentPosition方法,剩下两个方法需要搭配使用!
该api通过navigator.geolocation对象发布,只有在此对象存在的情况下,才可以使用它的地理定位服务,检测方法如下:
| // Available variables: | |
| // - Machine | |
| // - interpret | |
| // - assign | |
| // - send | |
| // - sendParent | |
| // - spawn | |
| // - raise | |
| // - actions |
| { | |
| "ruleType": "COMMON_RULE", | |
| "operator": "IN", | |
| "rules": [ | |
| // 左值 | |
| { | |
| "ruleType": "FIELD", | |
| "fieldName": "memberId", | |
| "array": false, | |
| "dataType": "Selector", |
| // @flow | |
| import * as React from 'react' | |
| import { withEmotionCache } from './context' | |
| import { ThemeContext } from './theming' | |
| import { insertStyles } from '@emotion/utils' | |
| import { isBrowser } from './utils' | |
| import { StyleSheet } from '@emotion/sheet' | |
| import { serializeStyles } from '@emotion/serialize' |
Privacy Policy for URL Lens GPT Action
Last updated: 2025-04-02
This privacy policy explains how the URL Lens API (the backend service used by the URL Lens GPT) handles data when you use the GPT.
Data Received: When you provide a URL to the URL Lens GPT, that URL is sent to our backend API hosted on Vercel for processing. No other personal information is sent.
Data Processing: The API fetches the content from the provided URL solely for the purpose of parsing it (extracting title, summary, text, etc.) to return the results back to the GPT and then to you.
| {} |