- В Chromium Portable отсутствует Google API-Key
- 3 ответа 3
- 15 марта в некоторых браузерах на Chromium сломается синхронизация: Google меняет доступ к приватным API
- Google API Keys Missing Warning Message when using Chromium Portable
- 5 Answers 5
- В Chromium Portable отсутствует Google API-Key
- 3 ответа 3
- API Reference
- API conventions #
- Stable APIs
- Beta APIs
- Dev APIs
- Platform Apps APIs
В Chromium Portable отсутствует Google API-Key
Я использую Chromium Portable в Windows в среде, которая не сохраняет вещи после перезагрузки. При каждом запуске программы он жалуется на какой-то недостающий API-ключ (см. Скриншот на немецком языке). Ссылка на дополнительную информацию ведет на вики-страницу chromium, где говорится, что первое требование для получения такого ключа говорит о Make sure you are a member of chromium-dev@chromium.org что говорит мне о том, что это не то, что я хочу, так как я только хочу использовать этот браузер. Я просмотрел несколько выпусков этого портативного пакета, и он уже довольно долго без меня ничего настраивал. Это что-то, что разработчики пакетов забыли отключить? Как я могу избавиться от этого?
3 ответа 3
Из Chromium Portable Help.html:
Chromium Portable имеет несколько настроек, которые влияют на поведение программы запуска и браузера. Их можно установить, создав файл с именем ChromiumPortable.ini вместе с ChromiumPortable.exe.
Файл ChromiumPortable.ini состоит из строк в формате ключ = значение. Действительные ключи перечислены ниже.
Ключи доступа для API Google. Более подробная информация доступна на веб-сайте разработки Chromium. Обратите внимание, что разделители (::) окружены одним пробелом с каждой стороны.
Создайте свои ключи API, как описано здесь (http://www.chromium.org/developers/how-tos/api-keys), и создайте INI-файл для использования их в Chromium Portable. Работал на меня! Синхронизация активна сейчас.
Portable X-Chromium 37.0.2007.0 не имеет этой проблемы.
15 марта в некоторых браузерах на Chromium сломается синхронизация: Google меняет доступ к приватным API
Google сообщила в блоге разработчиков, что с 15 марта 2021 года компания ограничит использование Google API в сторонних браузерах на основе движка Chromium. Среди заблокированных функций внутреннего API Google будут: привязка к учетной записи в Google, механизм Click to Call, а также сервис синхронизации настроек и данных пользователя. Google не пояснила, какие именно браузеры на базе движка Chromium лишаться доступа к приватным API компании.
Google в ходе недавнего аудита выяснила, что сторонние разработчики успешно используют данные функции в своих версиях браузеров для интеграции с сервисами Google. Тем самым они фактически злоупотребляют службой Chrome Sync и без разрешения хранят данные, закладки и истории просмотров пользователей на серверах Google. С середины марта эти сервисы API Google будут доступны только в браузере Chrome.
Если пользователи браузеров на основе Chromium ранее заходили из них в свою учетную запись Google Account и сохранили там свои персональные данные, то они смогут продолжать управлять ими на странице My Google Activity (Мои действия в Google) или загрузить с помощью сервиса Google Takeout (Google Архиватор).
В начале 2019 года объявила о введении новых API в Chromium. Через месяц Google отказалась от планируемых изменений в API браузера Chromium, из-за которых становилась нефункциональными большинство блокировщиков рекламы и некоторые другие расширения.
Google API Keys Missing Warning Message when using Chromium Portable
When i use the new Chromium Portable browser it always shows «Google API keys are missing.Some functionality of Chromium Portable will be disabled» after starting up.
How do i get rid of this warning message and what does it mean?.
5 Answers 5
To get rid of the message.
. on Windows, you can use the command prompt to set the following environment variables to «no»:
Windows’ environment variables can also be set from the «Advanced System Settings» tab of the «System» control panel. After setx . relaunching the browser should no longer have the message. Setting the variables through the «Advanced System Settings» tab may require a log-out before it takes effect.
. on Linux you can use the terminal to set the environment variables to «no» in the bash shell:
A subsequent launch of the browser from the terminal will not show the missing API key message. To make this setting permanent and to cover invocations from clicking on an icon, follow the directions here for setting environment variables that affect terminal as well as graphical logins.
. on macOS, you can add the following key-value pairs to the LSEnvironment dictionary in Chromium.app > Contents > Info.plist:
(Note that macOS may have cached the existing Info.plist file, so changes may not take effect immediately. See this answer for some ways around that.)
As for the meaning, I think Dragomir Goranov’s answer gives sufficient information.
В Chromium Portable отсутствует Google API-Key
Я использую Chromium Portable в Windows в среде, которая не сохраняет вещи после перезагрузки. При каждом запуске программы он жалуется на какой-то недостающий API-ключ (см. Скриншот на немецком языке). Ссылка на дополнительную информацию ведет на вики-страницу chromium, где говорится, что первое требование для получения такого ключа говорит о Make sure you are a member of chromium-dev@chromium.org что говорит мне о том, что это не то, что я хочу, так как я только хочу использовать этот браузер. Я просмотрел несколько выпусков этого портативного пакета, и он уже довольно долго без меня ничего настраивал. Это что-то, что разработчики пакетов забыли отключить? Как я могу избавиться от этого?
3 ответа 3
Из Chromium Portable Help.html:
Chromium Portable имеет несколько настроек, которые влияют на поведение программы запуска и браузера. Их можно установить, создав файл с именем ChromiumPortable.ini вместе с ChromiumPortable.exe.
Файл ChromiumPortable.ini состоит из строк в формате ключ = значение. Действительные ключи перечислены ниже.
Ключи доступа для API Google. Более подробная информация доступна на веб-сайте разработки Chromium. Обратите внимание, что разделители (::) окружены одним пробелом с каждой стороны.
Создайте свои ключи API, как описано здесь (http://www.chromium.org/developers/how-tos/api-keys), и создайте INI-файл для использования их в Chromium Portable. Работал на меня! Синхронизация активна сейчас.
Portable X-Chromium 37.0.2007.0 не имеет этой проблемы.
API Reference
Chrome provides extensions with many special-purpose APIs like chrome.runtime and chrome.alarms .
API conventions #
Unless the doc says otherwise, methods in the chrome.* APIs are asynchronous: they return immediately, without waiting for the operation to finish. If you need to know the outcome of an operation, then you pass a callback function into the method. For more information, watch this video.
Stable APIs
Release information is not available for APIs before Chrome 39, which was released in November 2014.
Name | Description | |||||
---|---|---|---|---|---|---|
accessibilityFeatures Use the chrome.accessibilityFeatures API to manage Chrome’s accessibility features. This API relies on the ChromeSetting prototype of the type API for getting and setting individual accessibility features. In order to get feature states the extension must request accessibilityFeatures.read permission. For modifying feature state, the extension needs accessibilityFeatures.modify permission. Note that accessibilityFeatures.modify does not imply accessibilityFeatures.read permission. Use the chrome.action API to control the extension’s icon in the Google Chrome toolbar. Use the chrome.alarms API to schedule code to run periodically or at a specified time in the future. Use the chrome.bookmarks API to create, organize, and otherwise manipulate bookmarks. Also see Override Pages, which you can use to create a custom Bookmark Manager page. Use browser actions to put icons in the main Google Chrome toolbar, to the right of the address bar. In addition to its icon, a browser action can have a tooltip, a badge, and a popup. Use the chrome.browsingData API to remove browsing data from a user’s local profile. Use this API to expose certificates to the platform which can use these certificates for TLS authentications. Use the commands API to add keyboard shortcuts that trigger actions in your extension, for example, an action to open the browser action or send a command to the extension. Use the chrome.contentSettings API to change settings that control whether websites can use features such as cookies, JavaScript, and plugins. More generally speaking, content settings allow you to customize Chrome’s behavior on a per-site basis instead of globally. Use the chrome.contextMenus API to add items to Google Chrome’s context menu. You can choose what types of objects your context menu additions apply to, such as images, hyperlinks, and pages. Use the chrome.cookies API to query and modify cookies, and to be notified when they change. The chrome.debugger API serves as an alternate transport for Chrome’s remote debugging protocol. Use chrome.debugger to attach to one or more tabs to instrument network interaction, debug JavaScript, mutate the DOM and CSS, etc. Use the Debuggee tabId to target tabs with sendCommand and route events by tabId from onEvent callbacks. Use the chrome.declarativeContent API to take actions depending on the content of a page, without requiring permission to read the page’s content. The chrome.declarativeNetRequest API is used to block or modify network requests by specifying declarative rules. This lets extensions modify network requests without intercepting them and viewing their content, thus providing more privacy. Desktop Capture API that can be used to capture content of screen, individual windows or tabs. Use the chrome.devtools.inspectedWindow API to interact with the inspected window: obtain the tab ID for the inspected page, evaluate the code in the context of the inspected window, reload the page, or obtain the list of resources within the page. Use the chrome.devtools.network API to retrieve the information about network requests displayed by the Developer Tools in the Network panel. Use the chrome.devtools.panels API to integrate your extension into Developer Tools window UI: create your own panels, access existing panels, and add sidebars. Use the chrome.documentScan API to discover and retrieve images from attached paper document scanners. Use the chrome.downloads API to programmatically initiate, monitor, manipulate, and search for downloads. Use the chrome.enterprise.deviceAttributes API to read device attributes. Note: This API is only available to extensions force-installed by enterprise policy. Use the chrome.enterprise.hardwarePlatform API to get the manufacturer and model of the hardware platform where the browser runs. Note: This API is only available to extensions installed by enterprise policy. Use the chrome.enterprise.networkingAttributes API to read information about your current network. Note: This API is only available to extensions force-installed by enterprise policy. Use the chrome.enterprise.platformKeys API to generate hardware-backed keys and to install certificates for these keys. The certificates will be managed by the platform and can be used for TLS authentication, network access or by other extension through chrome.platformKeys. The chrome.events namespace contains common types used by APIs dispatching events to notify you when something interesting happens. The chrome.extension API has utilities that can be used by any extension page. It includes support for exchanging messages between an extension and its content scripts or between extensions, as described in detail in Message Passing. The chrome.extensionTypes API contains type declarations for Chrome extensions. Use the chrome.fileBrowserHandler API to extend the Chrome OS file browser. For example, you can use this API to enable users to upload files to your website. Use the chrome.fileSystemProvider API to create file systems, that can be accessible from the file manager on Chrome OS. Use the chrome.fontSettings API to manage Chrome’s font settings. Use chrome.gcm to enable apps and extensions to send and receive messages through the Google Cloud Messaging Service. Use the chrome.history API to interact with the browser’s record of visited pages. You can add, remove, and query for URLs in the browser’s history. To override the history page with your own version, see Override Pages. Use the chrome.i18n infrastructure to implement internationalization across your whole app or extension. Use the chrome.identity API to get OAuth2 access tokens. Use the chrome.idle API to detect when the machine’s idle state changes. Use the chrome.input.ime API to implement a custom IME for Chrome OS. This allows your extension to handle keystrokes, set the composition, and manage the candidate window. Use chrome.instanceID to access the Instance ID service. Use the chrome.loginState API to read and monitor the login state. The chrome.management API provides ways to manage the list of extensions/apps that are installed and running. It is particularly useful for extensions that override the built-in New Tab page. Use the chrome.notifications API to create rich notifications using templates and show these notifications to users in the system tray. The omnibox API allows you to register a keyword with Google Chrome’s address bar, which is also known as the omnibox. Use the chrome.pageAction API to put icons in the main Google Chrome toolbar, to the right of the address bar. Page actions represent actions that can be taken on the current page, but that aren’t applicable to all pages. Page actions appear grayed out when inactive. Use the chrome.pageCapture API to save a tab as MHTML. Use the chrome.permissions API to request declared optional permissions at run time rather than install time, so users understand why the permissions are needed and grant only those that are necessary. Use the chrome.platformKeys API to access client certificates managed by the platform. If the user or policy grants the permission, an extension can use such a certficate in its custom authentication protocol. E.g. this allows usage of platform managed certificates in third party VPNs (see chrome.vpnProvider). Use the chrome.power API to override the system’s power management features. The chrome.printerProvider API exposes events used by print manager to query printers controlled by extensions, to query their capabilities and to submit print jobs to these printers. Use the chrome.printing API to send print jobs to printers installed on Chromebook. Use the chrome.printingMetrics API to fetch data about printing usage. Use the chrome.privacy API to control usage of the features in Chrome that can affect a user’s privacy. This API relies on the ChromeSetting prototype of the type API for getting and setting Chrome’s configuration. Use the chrome.proxy API to manage Chrome’s proxy settings. This API relies on the ChromeSetting prototype of the type API for getting and setting the proxy configuration. Use the chrome.runtime API to retrieve the background page, return details about the manifest, and listen for and respond to events in the app or extension lifecycle. You can also use this API to convert the relative path of URLs to fully-qualified URLs. Use the chrome.scripting API to execute script in different contexts. Use the chrome.search API to search via the default provider. Use the chrome.sessions API to query and restore tabs and windows from a browsing session. Use the chrome.storage API to store, retrieve, and track changes to user data. Use the system.cpu API to query CPU metadata. Use the system.display API to query display metadata. The chrome.system.memory API. Use the chrome.system.storage API to query storage device information and be notified when a removable storage device is attached and detached. Use the chrome.tabCapture API to interact with tab media streams. Use the chrome.tabGroups API to interact with the browser’s tab grouping system. You can use this API to modify and rearrange tab groups in the browser. To group and ungroup tabs, or to query what tabs are in groups, use the chrome.tabs API. Use the chrome.tabs API to interact with the browser’s tab system. You can use this API to create, modify, and rearrange tabs in the browser. Use the chrome.topSites API to access the top sites (i.e. most visited sites) that are displayed on the new tab page. These do not include shortcuts customized by the user. Use the chrome.tts API to play synthesized text-to-speech (TTS). See also the related ttsEngine API, which allows an extension to implement a speech engine. Use the chrome.ttsEngine API to implement a text-to-speech(TTS) engine using an extension. If your extension registers using this API, it will receive events containing an utterance to be spoken and other parameters when any extension or Chrome App uses the tts API to generate speech. Your extension can then use any available web technology to synthesize and output the speech, and send events back to the calling function to report the status. The chrome.types API contains type declarations for Chrome. Use the chrome.vpnProvider API to implement a VPN client. Use the chrome.wallpaper API to change the ChromeOS wallpaper. Use the chrome.webNavigation API to receive notifications about the status of navigation requests in-flight. Use the chrome.webRequest API to observe and analyze traffic and to intercept, block, or modify requests in-flight. Use the chrome.windows API to interact with browser windows. You can use this API to create, modify, and rearrange windows in the browser. Beta APIsThese APIs are only available in the Chrome Beta and Dev channels:
|