diff --git a/_archive/apps/README.md b/_archive/apps/README.md index e5fb7a13ab..f056df9b9f 100644 --- a/_archive/apps/README.md +++ b/_archive/apps/README.md @@ -4,7 +4,6 @@ Official samples for deprecated Chrome Apps platform. If you want to learn about 1. look at the source code of the samples below. Most samples have a "Try it now" button that allows you to install and play with it. 2. read the [official docs](http://developer.chrome.com/apps) -3. follow the [official Codelab](http://goo.gl/UHCS8) presented at Google I/O If you have questions, [search](http://stackoverflow.com/questions/tagged/google-chrome-app) or [ask at StackOverflow](http://stackoverflow.com/questions/ask?tags=google-chrome-app) (observe the google-chrome-app tag) or join the [Chromium Apps](https://groups.google.com/a/chromium.org/forum/?fromgroups#!forum/chromium-apps) Google group. @@ -15,94 +14,94 @@ If you have questions, [search](http://stackoverflow.com/questions/tagged/google Sample | API or feature | Link --- | --- |:---: -analytics | storage
ios
android
| Try it now -appengine-channelapi/app | webview
| Try it now -appsquare | geolocation
identity
storage
| Try it now -appview/embedded-app | getUserMedia
| Try it now -appview/host-app | appview
| Try it now -blink1 | hid
usb
| Try it now -bluetooth-samples/battery-service-demo | bluetooth
| Try it now -bluetooth-samples/device-info-demo | bluetooth
| Try it now -bluetooth-samples/heart-rate-sensor | bluetooth
| Try it now -calculator | clipboard
ios
android
| Try it now -camera-capture | getUserMedia
| Try it now -clock | framelessWindows
geolocation
richNotifications
storage
| Try it now -context-menu | contextMenu
| Try it now -dart | dart
ios
| Try it now -desktop-capture | desktopCapture
| Try it now -dialog-element | | Try it now -diff | clipboard
fileSystem
storage
| Try it now -filesystem-access | fileSystem
storage
| Try it now -frameless-window | framelessWindows
| Try it now -gcm-notifications | gcm
richNotifications
storage
| Try it now -gdrive | framelessWindows
identity
| Try it now -github-auth | identity
| Try it now -hello-world | ios
android
| Try it now -hello-world-sync | storage
ios
android
| Try it now -hid | hid
| Try it now -identity | identity
android
| Try it now -image-edit | fileSystem
storage
| Try it now -instagram-auth | identity
| Try it now -io2012-presentation | framelessWindows
getUserMedia
serial
storage
webview
| - -io2012-presentation/helloworld | | - -io2012-presentation/servo | getUserMedia
serial
| - -ioio | bluetooth
| Try it now -keyboard-handler | | Try it now -managed-in-app-payments | in-app-payments
| - -manga-cam | framelessWindows
getUserMedia
syncFileSystem
| Try it now -mdns-browser | framelessWindows
sockets
systemInfo
| Try it now -media-gallery | mediaGallery
| Try it now -messaging/app1 | messaging
| Try it now -messaging/app2 | messaging
| Try it now -messaging/extension | messaging
richNotifications
| Try it now -mini-code-edit | commands
contextMenu
fileSystem
| Try it now -multicast | framelessWindows
messaging
sockets
storage
| Try it now -one-time-payment | identity
storage
| Try it now -optional-permissions | optionalPermissions
| Try it now -parrot-ar-drone | old_sockets
sockets
android
| Try it now -platform-title | framelessWindows
| Try it now -printing | print
storage
systemInfo
| Try it now -restarted-demo | storage
ios
| Try it now -rich-notifications | richNotifications
android
| Try it now -sandbox | sandbox
| Try it now -sandboxed-content | sandbox
| Try it now -serial-control-signals | serial
| Try it now -serial/adkjs/app | serial
| Try it now -serial/espruino | serial
| Try it now -serial/ledtoggle | serial
| Try it now -servo | getUserMedia
serial
| Try it now -storage | | Try it now -syncfs-editor | syncFileSystem
| Try it now -systemInfo | systemInfo
| Try it now -tasks | identity
android
| Try it now -tcpserver | sockets
systemInfo
webview
| Try it now -telnet | sockets
| Try it now -text-editor | clipboard
fileSystem
| Try it now -todomvc | alarms
fileSystem
richNotifications
storage
syncFileSystem
android
| - -tts | tts
| - -udp | sockets
ios
| Try it now -url-handler | storage
webview
| Try it now -usb-label-printer | fileSystem
getUserMedia
optionalPermissions
usb
| Try it now -usb/device-info | usb
| Try it now -usb/knob | optionalPermissions
usb
| Try it now -weather | geolocation
storage
ios
| Try it now -web-store | fileSystem
identity
storage
webstore
| Try it now -webgl-pointer-lock | framelessWindows
pointerLock
| Try it now -webserver | sockets
systemInfo
android
| Try it now -websocket-server | sockets
ios
| Try it now -webview-samples/browser | webview
| Try it now -webview-samples/declarative-web-request | storage
webview
| Try it now -webview-samples/insert-css | storage
webview
| Try it now -webview-samples/local-resources | webview
| Try it now -webview-samples/multi-tab-browser | contextMenu
webview
| Try it now -webview-samples/new-window | webview
| Try it now -webview-samples/new-window-user-agent | contextMenu
webview
| Try it now -webview-samples/shared-script | webview
| Try it now -webview-samples/user-agent | webview
| Try it now -webview-samples/webview | geolocation
getUserMedia
pointerLock
webview
| Try it now -window-options | fullscreen
| Try it now -window-state | fullscreen
| Try it now -windows | framelessWindows
| Try it now +analytics | storage
ios
android
| Try it now +appengine-channelapi/app | webview
| Try it now +appsquare | geolocation
identity
storage
| Try it now +appview/embedded-app | getUserMedia
| Try it now +appview/host-app | appview
| Try it now +blink1 | hid
usb
| Try it now +bluetooth-samples/battery-service-demo | bluetooth
| Try it now +bluetooth-samples/device-info-demo | bluetooth
| Try it now +bluetooth-samples/heart-rate-sensor | bluetooth
| Try it now +calculator | clipboard
ios
android
| Try it now +camera-capture | getUserMedia
| Try it now +clock | framelessWindows
geolocation
richNotifications
storage
| Try it now +context-menu | contextMenu
| Try it now +dart | dart
ios
| Try it now +desktop-capture | desktopCapture
| Try it now +dialog-element | | Try it now +diff | clipboard
fileSystem
storage
| Try it now +filesystem-access | fileSystem
storage
| Try it now +frameless-window | framelessWindows
| Try it now +gcm-notifications | gcm
richNotifications
storage
| Try it now +gdrive | framelessWindows
identity
| Try it now +github-auth | identity
| Try it now +hello-world | ios
android
| Try it now +hello-world-sync | storage
ios
android
| Try it now +hid | hid
| Try it now +identity | identity
android
| Try it now +image-edit | fileSystem
storage
| Try it now +instagram-auth | identity
| Try it now +io2012-presentation | framelessWindows
getUserMedia
serial
storage
webview
| - +io2012-presentation/helloworld | | - +io2012-presentation/servo | getUserMedia
serial
| - +ioio | bluetooth
| Try it now +keyboard-handler | | Try it now +managed-in-app-payments | in-app-payments
| - +manga-cam | framelessWindows
getUserMedia
syncFileSystem
| Try it now +mdns-browser | framelessWindows
sockets
systemInfo
| Try it now +media-gallery | mediaGallery
| Try it now +messaging/app1 | messaging
| Try it now +messaging/app2 | messaging
| Try it now +messaging/extension | messaging
richNotifications
| Try it now +mini-code-edit | commands
contextMenu
fileSystem
| Try it now +multicast | framelessWindows
messaging
sockets
storage
| Try it now +one-time-payment | identity
storage
| Try it now +optional-permissions | optionalPermissions
| Try it now +parrot-ar-drone | old_sockets
sockets
android
| Try it now +platform-title | framelessWindows
| Try it now +printing | print
storage
systemInfo
| Try it now +restarted-demo | storage
ios
| Try it now +rich-notifications | richNotifications
android
| Try it now +sandbox | sandbox
| Try it now +sandboxed-content | sandbox
| Try it now +serial-control-signals | serial
| Try it now +serial/adkjs/app | serial
| Try it now +serial/espruino | serial
| Try it now +serial/ledtoggle | serial
| Try it now +servo | getUserMedia
serial
| Try it now +storage | | Try it now +syncfs-editor | syncFileSystem
| Try it now +systemInfo | systemInfo
| Try it now +tasks | identity
android
| Try it now +tcpserver | sockets
systemInfo
webview
| Try it now +telnet | sockets
| Try it now +text-editor | clipboard
fileSystem
| Try it now +todomvc | alarms
fileSystem
richNotifications
storage
syncFileSystem
android
| - +tts | tts
| - +udp | sockets
ios
| Try it now +url-handler | storage
webview
| - +usb-label-printer | fileSystem
getUserMedia
optionalPermissions
usb
| Try it now +usb/device-info | usb
| Try it now +usb/knob | optionalPermissions
usb
| Try it now +weather | geolocation
storage
ios
| Try it now +web-store | fileSystem
identity
storage
webstore
| Try it now +webgl-pointer-lock | framelessWindows
pointerLock
| Try it now +webserver | sockets
systemInfo
android
| Try it now +websocket-server | sockets
ios
| Try it now +webview-samples/browser | webview
| Try it now +webview-samples/declarative-web-request | storage
webview
| Try it now +webview-samples/insert-css | storage
webview
| Try it now +webview-samples/local-resources | webview
| Try it now +webview-samples/multi-tab-browser | contextMenu
webview
| - +webview-samples/new-window | webview
| Try it now +webview-samples/new-window-user-agent | contextMenu
webview
| - +webview-samples/shared-script | webview
| Try it now +webview-samples/user-agent | webview
| Try it now +webview-samples/webview | geolocation
getUserMedia
pointerLock
webview
| Try it now +window-options | fullscreen
| Try it now +window-state | fullscreen
| Try it now +windows | framelessWindows
| Try it now @@ -157,25 +156,25 @@ href="https://github.com/MobileChromeApps/mobile-chrome-apps/blob/master/README. - - - - - - - - - - - - - - - + + + + + + + + + + + + + + +
SampleAndroid supportiOS support
analyticsSupported.Supported.
calculatorSupported. Visual issues caused by fixed-size layoutSupported. Visual issues caused by fixed-size layout
dartSupported. Visual issues caused by fixed-size layout
hello-worldSupported.Supported.
hello-world-syncSupported. sync storage doesn't actually sync - works localSupported. sync storage doesn't actually sync - works local
identitySupported. You need to add an Android OAuth app in the Cloud API console of the OAuth project. The app's SHA1 can be the debug one (see more here), and the package name is org.chromium.identity.MyApp. If you don't add the Android OAuth app and tries to use the OAuth client-id from the Chrome app, you will get a generic message GoogleAuthException
parrot-ar-droneSupported. Communication to the Drone works, but the UI requires a connected gamepad.
restarted-demoSupported. Restart must be done via Safari remote debugging.
rich-notificationsSupported.
tasksSupported.
todomvcSupported.
udpSupported.
weatherSupported.
webserverSupported. Directory picking doesn't work on some versions of Android
websocket-serverSupported.
analyticsSupported.Supported.
calculatorSupported. Visual issues caused by fixed-size layoutSupported. Visual issues caused by fixed-size layout
dartSupported. Visual issues caused by fixed-size layout
hello-worldSupported.Supported.
hello-world-syncSupported. sync storage doesn't actually sync - works localSupported. sync storage doesn't actually sync - works local
identitySupported. You need to add an Android OAuth app in the Cloud API console of the OAuth project. The app's SHA1 can be the debug one (see more here), and the package name is org.chromium.identity.MyApp. If you don't add the Android OAuth app and tries to use the OAuth client-id from the Chrome app, you will get a generic message GoogleAuthException
parrot-ar-droneSupported. Communication to the Drone works, but the UI requires a connected gamepad.
restarted-demoSupported. Restart must be done via Safari remote debugging.
rich-notificationsSupported.
tasksSupported.
todomvcSupported.
udpSupported.
weatherSupported.
webserverSupported. Directory picking doesn't work on some versions of Android
websocket-serverSupported.
# Libraries and tools -* [Google APIs client library for Chrome Apps](https://github.com/GoogleChrome/chrome-app-samples/tree/master/libraries/gapi-chrome-apps-lib) +* [Google APIs client library for Chrome Apps](https://github.com/GoogleChrome/chrome-extensions-samples/blob/main/_archive/apps/libraries/gapi-chrome-apps-lib) * [Google Analytics for Chrome Apps and Extensions](https://github.com/GoogleChrome/chrome-platform-analytics) diff --git a/_archive/apps/libraries/gapi-chrome-apps-lib/README.md b/_archive/apps/libraries/gapi-chrome-apps-lib/README.md index 595ae99f91..89dd44262d 100644 --- a/_archive/apps/libraries/gapi-chrome-apps-lib/README.md +++ b/_archive/apps/libraries/gapi-chrome-apps-lib/README.md @@ -18,7 +18,7 @@ To be expanded upon, but essentially: ## Examples: -* [Tasks app using GAPI](https://github.com/GoogleChrome/chrome-app-samples/tree/master/tasks) +* [Tasks app using GAPI](https://github.com/GoogleChrome/chrome-extensions-samples/tree/main/_archive/apps/samples/tasks) ## Resources diff --git a/_archive/apps/samples/analytics/README.md b/_archive/apps/samples/analytics/README.md index 9900c850cd..895577b07c 100644 --- a/_archive/apps/samples/analytics/README.md +++ b/_archive/apps/samples/analytics/README.md @@ -1,10 +1,10 @@ -![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/master/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") +![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/main/_archive/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") # Analytics This example demonstrates how to include support for Google Analytics in your -packaged application. It uses the +packaged application. It uses the [chrome-platform-analytics](https://github.com/GoogleChrome/chrome-platform-analytics) library, which allows tracking app views or any arbitrary event to Google Analytics. See more at the [project wiki](https://github.com/GoogleChrome/chrome-platform-analytics/wiki) @@ -13,11 +13,11 @@ See more at the [project wiki](https://github.com/GoogleChrome/chrome-platform-a ## Resources -* [Runtime](http://developer.chrome.com/apps/app.runtime.html) -* [Window](http://developer.chrome.com/apps/app.window.html) +* [Runtime](https://developer.chrome.com/docs/extensions/reference/app_runtime) +* [Window](https://developer.chrome.com/docs/extensions/reference/app_window) * [chrome-platform-analytics](https://github.com/GoogleChrome/chrome-platform-analytics/wiki) - + ## Screenshot -![screenshot](/apps/samples/analytics/assets/screenshot_1280_800.png) +![screenshot](/_archive/apps/samples/analytics/assets/screenshot_1280_800.png) diff --git a/_archive/apps/samples/appengine-channelapi/README.md b/_archive/apps/samples/appengine-channelapi/README.md index 714c4f3145..498d6da14e 100644 --- a/_archive/apps/samples/appengine-channelapi/README.md +++ b/_archive/apps/samples/appengine-channelapi/README.md @@ -1,4 +1,4 @@ -![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/master/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") +![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/main/_archive/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") @@ -22,7 +22,7 @@ To run: * [Appengine Channel API](https://developers.google.com/appengine/docs/python/channel) * [Webview](https://developer.chrome.com/apps/tags/webview) - + ## Screenshot -![screenshot](/apps/samples/appengine_channelapi/app/assets/screenshot_1280_800.png) +![screenshot](/_archive/apps/samples/appengine_channelapi/app/assets/screenshot_1280_800.png) diff --git a/_archive/apps/samples/appengine-channelapi/app/README.md b/_archive/apps/samples/appengine-channelapi/app/README.md index d824993775..3d70340112 100644 --- a/_archive/apps/samples/appengine-channelapi/app/README.md +++ b/_archive/apps/samples/appengine-channelapi/app/README.md @@ -1 +1 @@ -![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/master/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") +![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/main/_archive/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") diff --git a/_archive/apps/samples/appengine-channelapi/app/main.js b/_archive/apps/samples/appengine-channelapi/app/main.js index cc597174d1..8cabe35dc7 100644 --- a/_archive/apps/samples/appengine-channelapi/app/main.js +++ b/_archive/apps/samples/appengine-channelapi/app/main.js @@ -1,8 +1,8 @@ /** * Listens for the app launching then creates the window * - * @see http://developer.chrome.com/apps/app.runtime.html - * @see http://developer.chrome.com/apps/app.window.html + * @see https://developer.chrome.com/docs/extensions/reference/app_runtime + * @see https://developer.chrome.com/docs/extensions/reference/app_window */ chrome.app.runtime.onLaunched.addListener(function() { chrome.app.window.create('index.html', { diff --git a/_archive/apps/samples/appsquare/README.md b/_archive/apps/samples/appsquare/README.md index 9c67baa42d..d0fae5c96e 100644 --- a/_archive/apps/samples/appsquare/README.md +++ b/_archive/apps/samples/appsquare/README.md @@ -1,11 +1,11 @@ -![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/master/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") +![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/main/_archive/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") # AppSquare This is a basic Foursquare client implemented as a packaged app. -It just displays recent checkins of the logged in user's friends. To log into Foursquare, it uses the [identity API](http://developer.chrome.com/apps/identity.html) (specfically, the `launchWebAuthFlow` method). Once it gets the OAuth token, it uses the [storage API](http://developer.chrome.com/apps/storage.html) to persist it. It also uses the [W3C Geolocation API](http://www.w3.org/TR/geolocation-API/) to pass in the current location to the Foursquare API. +It just displays recent checkins of the logged in user's friends. To log into Foursquare, it uses the [identity API](http://developer.chrome.com/apps/identity.html) (specfically, the `launchWebAuthFlow` method). Once it gets the OAuth token, it uses the [storage API](http://developer.chrome.com/apps/storage) to persist it. It also uses the [W3C Geolocation API](http://www.w3.org/TR/geolocation-API/) to pass in the current location to the Foursquare API. When running it unpacked, it will normally have a different ID (the unpacked extension ID is a hash of the path on disk). However, this will result in the @@ -19,10 +19,10 @@ The key *must* be removed before uploading it to the store. ## Resources -* [Identity](http://developer.chrome.com/apps/app.identity.html) -* [Runtime](http://developer.chrome.com/apps/app.runtime.html) -* [Window](http://developer.chrome.com/apps/app.window.html) - +* [Identity](https://developer.chrome.com/docs/apps/app_identity/) +* [Runtime](https://developer.chrome.com/docs/extensions/reference/app_runtime) +* [Window](https://developer.chrome.com/docs/extensions/reference/app_window) + ## Screenshot -![screenshot](/apps/samples/appsquare/assets/screenshot_1280_800.png) +![screenshot](/_archive/apps/samples/appsquare/assets/screenshot_1280_800.png) diff --git a/_archive/apps/samples/appview/README.md b/_archive/apps/samples/appview/README.md index 803c18b68e..1869dc8a7b 100644 --- a/_archive/apps/samples/appview/README.md +++ b/_archive/apps/samples/appview/README.md @@ -14,4 +14,4 @@ Add `host-app` and `embedded-app` and embed the `embedded-app` inside * [videoCapture](https://developer.chrome.com/apps/declare_permissions) ## Screenshot -![screenshot](/apps/samples/appview/assets/screenshot_1280_800.png) +![screenshot](/_archive/apps/samples/appview/assets/screenshot_1280_800.png) diff --git a/_archive/apps/samples/appview/embedded-app/README.md b/_archive/apps/samples/appview/embedded-app/README.md index 2382dbb941..f2f3d656dd 100644 --- a/_archive/apps/samples/appview/embedded-app/README.md +++ b/_archive/apps/samples/appview/embedded-app/README.md @@ -1 +1 @@ -![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/master/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") +![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/main/_archive/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") diff --git a/_archive/apps/samples/appview/host-app/README.md b/_archive/apps/samples/appview/host-app/README.md index 1c0a4eadc5..b8e3068f93 100644 --- a/_archive/apps/samples/appview/host-app/README.md +++ b/_archive/apps/samples/appview/host-app/README.md @@ -1 +1 @@ -![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/master/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") +![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/main/_archive/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") diff --git a/_archive/apps/samples/appview/host-app/main.js b/_archive/apps/samples/appview/host-app/main.js index 8571299528..8c941bc707 100644 --- a/_archive/apps/samples/appview/host-app/main.js +++ b/_archive/apps/samples/appview/host-app/main.js @@ -1,8 +1,8 @@ /** * Listens for the app launching then creates the window * - * @see http://developer.chrome.com/apps/app.runtime.html - * @see http://developer.chrome.com/apps/app.window.html + * @see https://developer.chrome.com/docs/extensions/reference/app_runtime + * @see https://developer.chrome.com/docs/extensions/reference/app_window */ chrome.app.runtime.onLaunched.addListener(function() { chrome.app.window.create('index.html', { diff --git a/_archive/apps/samples/blink1/README.md b/_archive/apps/samples/blink1/README.md index 5e37ceb5f9..d9947a5a20 100644 --- a/_archive/apps/samples/blink1/README.md +++ b/_archive/apps/samples/blink1/README.md @@ -1,4 +1,4 @@ -![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/master/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") +![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/main/_archive/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") # Blink(1) @@ -13,10 +13,10 @@ This sample demos the `chrome.hid` API by controlling a [ThingM blink(1) mk2](ht ## Running this app on Linux -On Linux a udev rule must be added to allow Chrome to open the blink(1) device. Copy the file [`udev/61-blink1.rules`](https://raw.githubusercontent.com/GoogleChrome/chrome-app-samples/master/blink1/udev/61-blink1.rules) to `/etc/udev/rules.d`. It contains the following rule which allows anyone in the `plugdev` group read/write access the `hidraw` node for this device. See [USB Caveats](https://developer.chrome.com/apps/app_usb#caveats) for more details. +On Linux a udev rule must be added to allow Chrome to open the blink(1) device. Copy the file [`udev/61-blink1.rules`](https://raw.githubusercontent.com/GoogleChrome/chrome-extensions-samples/main/_archive/apps/samples/blink1/udev/61-blink1.rules) to `/etc/udev/rules.d`. It contains the following rule which allows anyone in the `plugdev` group read/write access the `hidraw` node for this device. See [USB Caveats](https://developer.chrome.com/apps/app_usb#caveats) for more details. # Make the blink(1) accessible to plugdev via hidraw. SUBSYSTEM=="hidraw", SUBSYSTEMS=="usb", ATTRS{idVendor}=="27b8", ATTRS{idProduct}=="01ed", MODE="0660", GROUP="plugdev" ## Screenshot -![screenshot](/apps/samples/blink1/assets/screenshot_1280_800.png) +![screenshot](/_archive/apps/samples/blink1/assets/screenshot_1280_800.png) diff --git a/_archive/apps/samples/bluetooth-samples/battery-service-demo/README.md b/_archive/apps/samples/bluetooth-samples/battery-service-demo/README.md index 0e605f8bc5..c23016e7d4 100644 --- a/_archive/apps/samples/bluetooth-samples/battery-service-demo/README.md +++ b/_archive/apps/samples/bluetooth-samples/battery-service-demo/README.md @@ -1,4 +1,4 @@ -![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/master/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") +![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/main/_archive/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") Bluetooth Low-Energy Battery Service Demo @@ -10,4 +10,4 @@ with the Generic Attribute Profile (GATT) based Battery Service. ## Screenshot -![screenshot](/apps/samples/bluetooth-samples/battery-service-demo/assets/screenshot_1280_800.png) +![screenshot](/_archive/apps/samples/bluetooth-samples/battery-service-demo/assets/screenshot_1280_800.png) diff --git a/_archive/apps/samples/bluetooth-samples/device-info-demo/README.md b/_archive/apps/samples/bluetooth-samples/device-info-demo/README.md index cc4f18a278..0148bfca7f 100644 --- a/_archive/apps/samples/bluetooth-samples/device-info-demo/README.md +++ b/_archive/apps/samples/bluetooth-samples/device-info-demo/README.md @@ -1,4 +1,4 @@ -![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/master/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") +![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/main/_archive/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") Bluetooth Low-Energy Device Information Service Demo @@ -10,4 +10,4 @@ chrome.bluetoothLowEnergy API. ## Screenshot -![screenshot](/apps/samples/bluetooth-samples/device-info-demo/assets/screenshot_1280_800.png) +![screenshot](/_archive/apps/samples/bluetooth-samples/device-info-demo/assets/screenshot_1280_800.png) diff --git a/_archive/apps/samples/bluetooth-samples/heart-rate-sensor/README.md b/_archive/apps/samples/bluetooth-samples/heart-rate-sensor/README.md index 93679eb75d..d4aff1eb13 100644 --- a/_archive/apps/samples/bluetooth-samples/heart-rate-sensor/README.md +++ b/_archive/apps/samples/bluetooth-samples/heart-rate-sensor/README.md @@ -1,4 +1,4 @@ -![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/master/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") +![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/main/_archive/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") Low-Energy Heart Rate Sensor @@ -10,4 +10,4 @@ Bluetooth Low Energy heart rate sensor. ## Screenshot -![screenshot](/apps/samples/bluetooth-samples/heart-rate-sensor/assets/screenshot_1280_800.png) +![screenshot](/_archive/apps/samples/bluetooth-samples/heart-rate-sensor/assets/screenshot_1280_800.png) diff --git a/_archive/apps/samples/calculator/README.md b/_archive/apps/samples/calculator/README.md index 2ee07809e5..09c1724798 100644 --- a/_archive/apps/samples/calculator/README.md +++ b/_archive/apps/samples/calculator/README.md @@ -1,4 +1,4 @@ -![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/master/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") +![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/main/_archive/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") # Calculator @@ -11,10 +11,10 @@ DOM manipulation. ## APIs -* [Runtime](http://developer.chrome.com/apps/app.runtime.html) -* [Window](http://developer.chrome.com/apps/app.window.html) +* [Runtime](https://developer.chrome.com/docs/extensions/reference/app_runtime) +* [Window](https://developer.chrome.com/docs/extensions/reference/app_window) + - ## Screenshot -![screenshot](/apps/samples/calculator/assets/screenshot_1280_800.png) +![screenshot](/_archive/apps/samples/calculator/assets/screenshot_1280_800.png) diff --git a/_archive/apps/samples/calculator/main.js b/_archive/apps/samples/calculator/main.js index 4c69ae1f2d..f7eac6f788 100644 --- a/_archive/apps/samples/calculator/main.js +++ b/_archive/apps/samples/calculator/main.js @@ -8,7 +8,7 @@ /** * Listens for the app launching then creates the window * - * @see http://developer.chrome.com/apps/app.window.html + * @see https://developer.chrome.com/docs/extensions/reference/app_window */ chrome.app.runtime.onLaunched.addListener(function() { chrome.app.window.create('calculator.html', { diff --git a/_archive/apps/samples/camera-capture/README.md b/_archive/apps/samples/camera-capture/README.md index 5488caafd0..6aff52f99a 100644 --- a/_archive/apps/samples/camera-capture/README.md +++ b/_archive/apps/samples/camera-capture/README.md @@ -1,4 +1,4 @@ -![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/master/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") +![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/main/_archive/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") # Camera Capture @@ -8,11 +8,11 @@ the `videoCapture` permissions to be set in the manifest file. ## APIs -* [Runtime](http://developer.chrome.com/apps/app.runtime.html) -* [Window](http://developer.chrome.com/apps/app.window.html) +* [Runtime](https://developer.chrome.com/docs/extensions/reference/app_runtime) +* [Window](https://developer.chrome.com/docs/extensions/reference/app_window) * [videoCapture](https://developer.chrome.com/apps/declare_permissions) - + ## Screenshot -![screenshot](/apps/samples/camera-capture/assets/screenshot_1280_800.png) +![screenshot](/_archive/apps/samples/camera-capture/assets/screenshot_1280_800.png) diff --git a/_archive/apps/samples/camera-capture/app.js b/_archive/apps/samples/camera-capture/app.js index 67a9360191..5d5f958809 100644 --- a/_archive/apps/samples/camera-capture/app.js +++ b/_archive/apps/samples/camera-capture/app.js @@ -21,7 +21,7 @@ Author: Eric Bidelman (ericbidelman@chromium.org) * video from the selected device. Requires the permissions * for videoCapture to be set in the manifest. * - * @see http://developer.chrome.com/apps/manifest.html#permissions + * @see http://developer.chrome.com/apps/manifest#permissions */ var curStream = null; // keep track of current stream diff --git a/_archive/apps/samples/camera-capture/background.js b/_archive/apps/samples/camera-capture/background.js index 6aae99ef7c..0095c716d7 100644 --- a/_archive/apps/samples/camera-capture/background.js +++ b/_archive/apps/samples/camera-capture/background.js @@ -1,8 +1,8 @@ /** * Listens for the app launching then creates the window * - * @see http://developer.chrome.com/apps/app.runtime.html - * @see http://developer.chrome.com/apps/app.window.html + * @see https://developer.chrome.com/docs/extensions/reference/app_runtime + * @see https://developer.chrome.com/docs/extensions/reference/app_window */ chrome.app.runtime.onLaunched.addListener(function() { chrome.app.window.create('index.html', { diff --git a/_archive/apps/samples/clock/README.md b/_archive/apps/samples/clock/README.md index ddd5d590fe..92786af984 100644 --- a/_archive/apps/samples/clock/README.md +++ b/_archive/apps/samples/clock/README.md @@ -1,17 +1,17 @@ -![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/master/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") +![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/main/_archive/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") # Clock -A widget-like application that provides a world clock, an alarm, a timer and a stopwatch. +A widget-like application that provides a world clock, an alarm, a timer and a stopwatch. ## APIs -* [Sync Storage API](http://developer.chrome.com/apps/storage.html) -* [Runtime](http://developer.chrome.com/apps/app.runtime.html) -* [Window](http://developer.chrome.com/apps/app.window.html) +* [Sync Storage API](http://developer.chrome.com/apps/storage) +* [Runtime](https://developer.chrome.com/docs/extensions/reference/app_runtime) +* [Window](https://developer.chrome.com/docs/extensions/reference/app_window) + - ## Screenshot -![screenshot](/apps/samples/clock/assets/screenshot_1280_800.png) +![screenshot](/_archive/apps/samples/clock/assets/screenshot_1280_800.png) diff --git a/_archive/apps/samples/clock/main.js b/_archive/apps/samples/clock/main.js index 1a889d1b69..3c6d1b173a 100644 --- a/_archive/apps/samples/clock/main.js +++ b/_archive/apps/samples/clock/main.js @@ -8,7 +8,7 @@ /** * Listens for the app launching then creates the window * - * @see http://developer.chrome.com/apps/app.window.html + * @see https://developer.chrome.com/docs/extensions/reference/app_window */ chrome.app.runtime.onLaunched.addListener(function() { chrome.app.window.create('index.html', { diff --git a/_archive/apps/samples/context-menu/README.md b/_archive/apps/samples/context-menu/README.md index 430cade837..35b677f6b3 100644 --- a/_archive/apps/samples/context-menu/README.md +++ b/_archive/apps/samples/context-menu/README.md @@ -1,4 +1,4 @@ -![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/master/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") +![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/main/_archive/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") # Context menus @@ -10,7 +10,7 @@ Sample that shows how to use the [context menu API](http://developer.chrome.com/ * [Context menu API](http://developer.chrome.com/apps/contextMenus) * [Runtime](http://developer.chrome.com/apps/app_runtime) * [Window](http://developer.chrome.com/apps/app_window) - + ## Screenshot -![screenshot](/apps/samples/context-menu/assets/screenshot_1280_800.png) +![screenshot](/_archive/apps/samples/context-menu/assets/screenshot_1280_800.png) diff --git a/_archive/apps/samples/dart/README.md b/_archive/apps/samples/dart/README.md index 711efd003a..f564247787 100644 --- a/_archive/apps/samples/dart/README.md +++ b/_archive/apps/samples/dart/README.md @@ -1,18 +1,18 @@ -![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/master/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") +![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/main/_archive/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") # Using DART in a Chrome Packaged App -A simple Dart sample transformed into a Chrome packaged app. Please, use Dart version equal or greater than +A simple Dart sample transformed into a Chrome packaged app. Please, use Dart version equal or greater than 0.1.2.0_15284_chrome-bot (Fri Nov 23 05:26:52 2012) if you want to recompile dart to JS. See the correct, CSP compatible, command-line parameter in the compile.sh script. ## APIs -* [Runtime](http://developer.chrome.com/apps/app.runtime.html) -* [Window](http://developer.chrome.com/apps/app.window.html) +* [Runtime](https://developer.chrome.com/docs/extensions/reference/app_runtime) +* [Window](https://developer.chrome.com/docs/extensions/reference/app_window) + - ## Screenshot -![screenshot](/apps/samples/dart/assets/screenshot_1280_800.png) +![screenshot](/_archive/apps/samples/dart/assets/screenshot_1280_800.png) diff --git a/_archive/apps/samples/dart/js/main.js b/_archive/apps/samples/dart/js/main.js index 15e13bbcf1..095ed63fd4 100644 --- a/_archive/apps/samples/dart/js/main.js +++ b/_archive/apps/samples/dart/js/main.js @@ -1,8 +1,8 @@ /** * Listens for the app launching then creates the window * - * @see http://developer.chrome.com/apps/app.runtime.html - * @see http://developer.chrome.com/apps/app.window.html + * @see https://developer.chrome.com/docs/extensions/reference/app_runtime + * @see https://developer.chrome.com/docs/extensions/reference/app_window */ chrome.app.runtime.onLaunched.addListener(function() { chrome.app.window.create('clock.html', diff --git a/_archive/apps/samples/desktop-capture/README.md b/_archive/apps/samples/desktop-capture/README.md index e5e9d29012..8310d9ee3b 100644 --- a/_archive/apps/samples/desktop-capture/README.md +++ b/_archive/apps/samples/desktop-capture/README.md @@ -1,4 +1,4 @@ -![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/master/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") +![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/main/_archive/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") # Desktop Capture @@ -8,10 +8,10 @@ the appropriate permissions (`desktopCapture`) to be set in the manifest file. ## APIs -* [Runtime](http://developer.chrome.com/apps/app.runtime.html) -* [Window](http://developer.chrome.com/apps/app.window.html) +* [Runtime](https://developer.chrome.com/docs/extensions/reference/app_runtime) +* [Window](https://developer.chrome.com/docs/extensions/reference/app_window) * [desktopCapture](https://developer.chrome.com/apps/desktopCapture) ## Screenshot -![screenshot](/apps/samples/desktop-capture/assets/screenshot_1280_800.png) \ No newline at end of file +![screenshot](/_archive/apps/samples/desktop-capture/assets/screenshot_1280_800.png) diff --git a/_archive/apps/samples/desktop-capture/background.js b/_archive/apps/samples/desktop-capture/background.js index 8458e206cf..41c500d02b 100644 --- a/_archive/apps/samples/desktop-capture/background.js +++ b/_archive/apps/samples/desktop-capture/background.js @@ -1,8 +1,8 @@ /** * Listens for the app launching then creates the window * - * @see http://developer.chrome.com/apps/app.runtime.html - * @see http://developer.chrome.com/apps/app.window.html + * @see https://developer.chrome.com/docs/extensions/reference/app_runtime + * @see https://developer.chrome.com/docs/extensions/reference/app_window */ chrome.app.runtime.onLaunched.addListener(function() { chrome.app.window.create('index.html', { diff --git a/_archive/apps/samples/dialog-element/README.md b/_archive/apps/samples/dialog-element/README.md index a6066d76a5..aee42b6863 100644 --- a/_archive/apps/samples/dialog-element/README.md +++ b/_archive/apps/samples/dialog-element/README.md @@ -1,4 +1,4 @@ -![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/master/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") +![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/main/_archive/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") # Dialog Element @@ -28,9 +28,9 @@ dialog.addEventListener("cancel", function(evt) { ## Resources -* [Runtime](http://developer.chrome.com/apps/app.runtime.html) -* [Window](http://developer.chrome.com/apps/app.window.html) +* [Runtime](https://developer.chrome.com/docs/extensions/reference/app_runtime) +* [Window](https://developer.chrome.com/docs/extensions/reference/app_window) ## Screenshot -![screenshot](/apps/samples/dialog-element/assets/screenshot_1280_800.png) +![screenshot](/_archive/apps/samples/dialog-element/assets/screenshot_1280_800.png) diff --git a/_archive/apps/samples/dialog-element/main.js b/_archive/apps/samples/dialog-element/main.js index 587dafa640..7aa92dd357 100644 --- a/_archive/apps/samples/dialog-element/main.js +++ b/_archive/apps/samples/dialog-element/main.js @@ -1,8 +1,8 @@ /** * Listens for the app launching then creates the window * - * @see http://developer.chrome.com/apps/app.runtime.html - * @see http://developer.chrome.com/apps/app.window.html + * @see https://developer.chrome.com/docs/extensions/reference/app_runtime + * @see https://developer.chrome.com/docs/extensions/reference/app_window */ chrome.app.runtime.onLaunched.addListener(function() { // Center window on screen. diff --git a/_archive/apps/samples/diff/README.md b/_archive/apps/samples/diff/README.md index c8ad6bab6d..00da1c1450 100644 --- a/_archive/apps/samples/diff/README.md +++ b/_archive/apps/samples/diff/README.md @@ -1,4 +1,4 @@ -![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/master/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") +![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/main/_archive/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") # Diff @@ -9,12 +9,12 @@ A non-trivial application to diff two files choosen by the user. This app shows ## APIs -* [Local Storage API](http://developer.chrome.com/apps/storage.html) to save history of selected files +* [Local Storage API](http://developer.chrome.com/apps/storage) to save history of selected files * [Filesystem API](http://developer.chrome.com/apps/app_storage.html) to allow the user to pick arbitrary files from the disk and save them back. -* [Runtime](http://developer.chrome.com/apps/app.runtime.html) -* [Window](http://developer.chrome.com/apps/app.window.html) +* [Runtime](https://developer.chrome.com/docs/extensions/reference/app_runtime) +* [Window](https://developer.chrome.com/docs/extensions/reference/app_window) + - ## Screenshot -![screenshot](/apps/samples/diff/assets/screenshot_1280_800.png) +![screenshot](/_archive/apps/samples/diff/assets/screenshot_1280_800.png) diff --git a/_archive/apps/samples/filesystem-access/README.md b/_archive/apps/samples/filesystem-access/README.md index b2d2c30eee..54eb317417 100644 --- a/_archive/apps/samples/filesystem-access/README.md +++ b/_archive/apps/samples/filesystem-access/README.md @@ -1,4 +1,4 @@ -![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/master/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") +![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/main/_archive/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") # Filesystem access @@ -9,8 +9,8 @@ NOTE: This sample requires Milestone 31 or later of Chrome, since it uses the ne ## APIs -* [chrome.fileSystem](http://developer.chrome.com/apps/fileSystem.html) - +* [chrome.fileSystem](http://developer.chrome.com/apps/fileSystem) + ## Screenshot -![screenshot](/apps/samples/filesystem-access/assets/screenshot_1280_800.png) +![screenshot](/_archive/apps/samples/filesystem-access/assets/screenshot_1280_800.png) diff --git a/_archive/apps/samples/frameless-window/README.md b/_archive/apps/samples/frameless-window/README.md index 161d5f04de..b2f79ca048 100644 --- a/_archive/apps/samples/frameless-window/README.md +++ b/_archive/apps/samples/frameless-window/README.md @@ -1,4 +1,4 @@ -![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/master/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") +![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/main/_archive/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") # Frameless window @@ -9,10 +9,10 @@ Caveat: `-webkit-app-region: drag;` *will* disable some customizations such as c ## APIs -* [Runtime](http://developer.chrome.com/apps/app.runtime.html) -* [Window](http://developer.chrome.com/apps/app.window.html) +* [Runtime](https://developer.chrome.com/docs/extensions/reference/app_runtime) +* [Window](https://developer.chrome.com/docs/extensions/reference/app_window) + - ## Screenshot -![screenshot](/apps/samples/frameless-window/assets/screenshot_1280_800.png) +![screenshot](/_archive/apps/samples/frameless-window/assets/screenshot_1280_800.png) diff --git a/_archive/apps/samples/gcm-notifications/README.md b/_archive/apps/samples/gcm-notifications/README.md index 97886ca135..69b30cbec0 100644 --- a/_archive/apps/samples/gcm-notifications/README.md +++ b/_archive/apps/samples/gcm-notifications/README.md @@ -1,4 +1,4 @@ -![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/master/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") +![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/main/_archive/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") # GCM Notifications Sample @@ -13,4 +13,4 @@ Demonstrates the capability to receive the push messages from Google Cloud Messa ## Screenshot -![screenshot](/apps/samples/gcm-notifications/assets/screenshot_1280_800.png) +![screenshot](/_archive/apps/samples/gcm-notifications/assets/screenshot_1280_800.png) diff --git a/_archive/apps/samples/gdrive/README.md b/_archive/apps/samples/gdrive/README.md index 0a09665666..ab28634544 100644 --- a/_archive/apps/samples/gdrive/README.md +++ b/_archive/apps/samples/gdrive/README.md @@ -1,4 +1,4 @@ -![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/master/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") +![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/main/_archive/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") # Google Drive Uploader @@ -14,4 +14,4 @@ To upload files: drag in files from the desktop onto the app. ## Screenshot -![screenshot](/apps/samples/gdrive/assets/screenshot_1280_800.png) +![screenshot](/_archive/apps/samples/gdrive/assets/screenshot_1280_800.png) diff --git a/_archive/apps/samples/github-auth/README.md b/_archive/apps/samples/github-auth/README.md index 208085c151..ef7ca8a4a0 100644 --- a/_archive/apps/samples/github-auth/README.md +++ b/_archive/apps/samples/github-auth/README.md @@ -1,10 +1,10 @@ -![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/master/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") +![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/main/_archive/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") # GitHub Auth A sample application that uses the -[Identity API](https://developer.chrome.com/apps/identity.html) to +[Identity API](https://developer.chrome.com/apps/identity) to request identification information about the user's GitHub account. After user logs on to GitHub and authorizes the application to use their information, both users name and email address (if available) will be displayed. @@ -15,11 +15,11 @@ Account check out the [Identity sample application](../identity). ## APIs -* [Identity](https://developer.chrome.com/apps/identity.html) -* [Runtime](https://developer.chrome.com/apps/app.runtime.html) -* [Window](https://developer.chrome.com/apps/app.window.html) +* [Identity](https://developer.chrome.com/apps/identity) +* [Runtime](https://developer.chrome.com/docs/extensions/reference/app_runtime) +* [Window](https://developer.chrome.com/docs/extensions/reference/app_window) + - ## Screenshot -![screenshot](/apps/samples/github-auth/assets/screenshot_1280_800.png) +![screenshot](/_archive/apps/samples/github-auth/assets/screenshot_1280_800.png) diff --git a/_archive/apps/samples/hello-world-sync/README.md b/_archive/apps/samples/hello-world-sync/README.md index b62bc27a2a..b0d0c4b858 100644 --- a/_archive/apps/samples/hello-world-sync/README.md +++ b/_archive/apps/samples/hello-world-sync/README.md @@ -1,4 +1,4 @@ -![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/master/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") +![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/main/_archive/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") # Hello World storage.sync @@ -17,7 +17,7 @@ Important: needs "key" in manifest.json to support testing outside of CWS, so th } ); ... - chrome.storage.sync.get("myValue", + chrome.storage.sync.get("myValue", function(val) { // do something } @@ -25,8 +25,8 @@ Important: needs "key" in manifest.json to support testing outside of CWS, so th ## APIs -* [Storage sync](http://developer.chrome.com/extensions/storage.html) - +* [Storage sync](http://developer.chrome.com/extensions/storage) + ## Screenshot -![screenshot](/apps/samples/hello-world-sync/assets/screenshot_1280_800.png) +![screenshot](/_archive/apps/samples/hello-world-sync/assets/screenshot_1280_800.png) diff --git a/_archive/apps/samples/hello-world/README.md b/_archive/apps/samples/hello-world/README.md index 4dd4d192f3..31064598ac 100644 --- a/_archive/apps/samples/hello-world/README.md +++ b/_archive/apps/samples/hello-world/README.md @@ -1,4 +1,4 @@ -![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/master/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") +![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/main/_archive/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") # Hello World @@ -32,9 +32,9 @@ and, at that point, creates a window using a basic HTML page, index.html, as the ## Resources -* [Runtime](http://developer.chrome.com/apps/app.runtime.html) -* [Window](http://developer.chrome.com/apps/app.window.html) - +* [Runtime](https://developer.chrome.com/docs/extensions/reference/app_runtime) +* [Window](https://developer.chrome.com/docs/extensions/reference/app_window) + ## Screenshot -![screenshot](/apps/samples/hello-world/assets/screenshot_1280_800.png) +![screenshot](/_archive/apps/samples/hello-world/assets/screenshot_1280_800.png) diff --git a/_archive/apps/samples/hello-world/main.js b/_archive/apps/samples/hello-world/main.js index 744d4ed8e5..99c137e65a 100644 --- a/_archive/apps/samples/hello-world/main.js +++ b/_archive/apps/samples/hello-world/main.js @@ -1,8 +1,8 @@ /** * Listens for the app launching then creates the window * - * @see http://developer.chrome.com/apps/app.runtime.html - * @see http://developer.chrome.com/apps/app.window.html + * @see https://developer.chrome.com/docs/extensions/reference/app_runtime + * @see https://developer.chrome.com/docs/extensions/reference/app_window */ chrome.app.runtime.onLaunched.addListener(function() { // Center window on screen. diff --git a/_archive/apps/samples/hid/README.md b/_archive/apps/samples/hid/README.md index c4c937b271..7fabf9c63b 100644 --- a/_archive/apps/samples/hid/README.md +++ b/_archive/apps/samples/hid/README.md @@ -1,4 +1,4 @@ -![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/master/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") +![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/main/_archive/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") chrome.hid API Sample @@ -13,4 +13,4 @@ This sample demonstrates usage of the `chrome.hid` API. * [Window](https://developer.chrome.com/apps/app_window) ## Screenshot -![screenshot](/apps/samples/hid/assets/screenshot_1280_800.png) +![screenshot](/_archive/apps/samples/hid/assets/screenshot_1280_800.png) diff --git a/_archive/apps/samples/identity/README.md b/_archive/apps/samples/identity/README.md index abc6cbfd7d..3b12e42e3e 100644 --- a/_archive/apps/samples/identity/README.md +++ b/_archive/apps/samples/identity/README.md @@ -1,4 +1,4 @@ -![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/master/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") +![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/main/_archive/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") # Identity @@ -15,10 +15,10 @@ you should use the launchWebAuthFlow method instead. ## APIs -* [Identity](http://developer.chrome.com/apps/app.identity.html) -* [Runtime](http://developer.chrome.com/apps/app.runtime.html) -* [Window](http://developer.chrome.com/apps/app.window.html) +* [Identity](https://developer.chrome.com/docs/apps/app_identity/) +* [Runtime](https://developer.chrome.com/docs/extensions/reference/app_runtime) +* [Window](https://developer.chrome.com/docs/extensions/reference/app_window) ## Screenshot -![screenshot](/apps/samples/identity/assets/screenshot_1280_800.png) +![screenshot](/_archive/apps/samples/identity/assets/screenshot_1280_800.png) diff --git a/_archive/apps/samples/image-edit/README.md b/_archive/apps/samples/image-edit/README.md index dc5807cb8c..00c5f8a00f 100644 --- a/_archive/apps/samples/image-edit/README.md +++ b/_archive/apps/samples/image-edit/README.md @@ -1,4 +1,4 @@ -![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/master/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") +![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/main/_archive/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") # Crop Tool - Image Edit @@ -12,4 +12,4 @@ Works offline. ## Try it: [Crop Tool - Image Edit](https://chrome.google.com/webstore/detail/crop-tool-image-edit/foibnkkcggahkmckladbmgkajodpcjfh) ## Screenshot -![screenshot](/apps/samples/image-edit/assets/screenshot_1280_800.png) +![screenshot](/_archive/apps/samples/image-edit/assets/screenshot_1280_800.png) diff --git a/_archive/apps/samples/instagram-auth/README.md b/_archive/apps/samples/instagram-auth/README.md index 2f8eb2904d..4cd9bdd858 100644 --- a/_archive/apps/samples/instagram-auth/README.md +++ b/_archive/apps/samples/instagram-auth/README.md @@ -1,4 +1,4 @@ -![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/master/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") +![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/main/_archive/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") # Instagram Demo @@ -20,10 +20,10 @@ The key *must* be removed before uploading it to the store. ## Resources -* [Runtime](http://developer.chrome.com/apps/app.runtime.html) -* [Window](http://developer.chrome.com/apps/app.window.html) -* [Identity](http://developer.chrome.com/apps/app.identity.html) +* [Runtime](https://developer.chrome.com/docs/extensions/reference/app_runtime) +* [Window](https://developer.chrome.com/docs/extensions/reference/app_window) +* [Identity](https://developer.chrome.com/docs/apps/app_identity/) ## Screenshot -![screenshot](/apps/samples/instagram-auth/assets/screenshot_1280_800.png) +![screenshot](/_archive/apps/samples/instagram-auth/assets/screenshot_1280_800.png) diff --git a/_archive/apps/samples/instagram-auth/main.js b/_archive/apps/samples/instagram-auth/main.js index 85ab68e8d1..e1363247d6 100644 --- a/_archive/apps/samples/instagram-auth/main.js +++ b/_archive/apps/samples/instagram-auth/main.js @@ -1,8 +1,8 @@ /** * Listens for the app launching then creates the window * - * @see http://developer.chrome.com/apps/app.runtime.html - * @see http://developer.chrome.com/apps/app.window.html + * @see https://developer.chrome.com/docs/extensions/reference/app_runtime + * @see https://developer.chrome.com/docs/extensions/reference/app_window */ chrome.app.runtime.onLaunched.addListener(function(intentData) { chrome.app.window.create('index.html', { diff --git a/_archive/apps/samples/io2012-presentation/README.md b/_archive/apps/samples/io2012-presentation/README.md index c14df79036..119d98952d 100644 --- a/_archive/apps/samples/io2012-presentation/README.md +++ b/_archive/apps/samples/io2012-presentation/README.md @@ -2,16 +2,16 @@ This is the slide deck for the Google I/O 2012 "The Next Evolution of Chrome App The session itself (including live demos) is [available on YouTube](https://www.youtube.com/watch?v=j8oFAr1YR-0). -The text editor used in the presentation is itself a Chrome packaged app. It's [available in the samples repository](https://github.com/GoogleChrome/chrome-app-samples/tree/master/mini-code-edit). +The text editor used in the presentation is itself a Chrome packaged app. It's [available in the samples repository](https://github.com/GoogleChrome/chrome-app-samples/tree/main/_archive/apps/samples/mini-code-edit). The `helloworld` directory contains the "Hello World!" demo from the session, including the variant with the XSS issue (which can't be exploited due to CSP). -The `diff-sample-files` directory contains the two local files that were diff-ed during the offline diff tool demo (the diff tool itself is also [available in the samples repository](https://github.com/GoogleChrome/chrome-app-samples/tree/master/diff)). +The `diff-sample-files` directory contains the two local files that were diff-ed during the offline diff tool demo (the diff tool itself is also [available in the samples repository](https://github.com/GoogleChrome/chrome-app-samples/tree/main/_archive/apps/samples/diff)). -The `servo` directory contains the standalone version of the serial port API spinner demo. It only does writes to the serial port. The [complete version in the samples repository](https://github.com/GoogleChrome/chrome-app-samples/tree/master/servo) has the full read/write implementation. +The `servo` directory contains the standalone version of the serial port API spinner demo. It only does writes to the serial port. The [complete version in the samples repository](https://github.com/GoogleChrome/chrome-extensions-samples/tree/main/_archive/apps/samples/servo) has the full read/write implementation. The `windowing_api` directory contains the source for the custom window frame and windowing API documentation (it's launched via the "Demo" link on slide 7). - + ## Screenshot -![screenshot](/apps/samples/io2012-presentation/assets/screenshot_1280_800.png) +![screenshot](/_archive/apps/samples/io2012-presentation/assets/screenshot_1280_800.png) diff --git a/_archive/apps/samples/ioio/README.md b/_archive/apps/samples/ioio/README.md index cd2c4a3b80..5779bad5a3 100644 --- a/_archive/apps/samples/ioio/README.md +++ b/_archive/apps/samples/ioio/README.md @@ -1,4 +1,4 @@ -![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/master/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") +![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/main/_archive/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") # IOIO Bluetooth device @@ -13,8 +13,8 @@ The constants and information about the protocol was taken from https://github.c ## APIs -* [Bluetooth](http://developer.chrome.com/apps/bluetooth.html) - +* [Bluetooth](http://developer.chrome.com/apps/bluetooth) + ## Screenshot -![screenshot](/apps/samples/ioio/assets/screenshot_1280_800.png) +![screenshot](/_archive/apps/samples/ioio/assets/screenshot_1280_800.png) diff --git a/_archive/apps/samples/keyboard-handler/README.md b/_archive/apps/samples/keyboard-handler/README.md index 427530662c..93eb61d1ae 100644 --- a/_archive/apps/samples/keyboard-handler/README.md +++ b/_archive/apps/samples/keyboard-handler/README.md @@ -1,4 +1,4 @@ -![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/master/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") +![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/main/_archive/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") # Keyboard Handler Sample @@ -11,7 +11,7 @@ be captured by a chrome packaged app, and learn what the appropriate keyCode is for them. ## Screenshot -![screenshot](/apps/samples/keyboard-handler/assets/screenshot_1280_800.png) +![screenshot](/_archive/apps/samples/keyboard-handler/assets/screenshot_1280_800.png) ## Credit diff --git a/_archive/apps/samples/managed-in-app-payments/README.md b/_archive/apps/samples/managed-in-app-payments/README.md index dd1d294ed0..19ed517c64 100644 --- a/_archive/apps/samples/managed-in-app-payments/README.md +++ b/_archive/apps/samples/managed-in-app-payments/README.md @@ -10,4 +10,4 @@ Chrome In-App Payments Service (embedded in Chrome) communicates with: This means that you can easily manage your virtual good inventory and licensing through the Chrome Web Store Developer Dashboard, and the Chrome Web Store will take care of the nitty gritty details, including financial transaction processing. -The actual integration work to enable managed in-app payments is similar to using the [Google Wallet for Digital Goods API](https://developers.google.com/commerce/wallet/digital/docs/) (now deprecated), except that managed in-app payments require you to embed a piece of JavaScript ([buy.js](https://raw.githubusercontent.com/GoogleChrome/chrome-app-samples/master/samples/managed-in-app-payments/scripts/buy.js)) within your app to trigger the payment flow. +The actual integration work to enable managed in-app payments is similar to using the [Google Wallet for Digital Goods API](https://web.archive.org/web/20130308145345/https://developers.google.com/commerce/wallet/digital/docs/) (now deprecated), except that managed in-app payments require you to embed a piece of JavaScript ([buy.js](https://raw.githubusercontent.com/GoogleChrome/chrome-extensions-samples/main/_archive/apps/samples/managed-in-app-payments/scripts/buy.js)) within your app to trigger the payment flow. diff --git a/_archive/apps/samples/manga-cam/README.md b/_archive/apps/samples/manga-cam/README.md index e8479ef07d..40b9750ecd 100644 --- a/_archive/apps/samples/manga-cam/README.md +++ b/_archive/apps/samples/manga-cam/README.md @@ -1,4 +1,4 @@ -![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/master/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") +![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/main/_archive/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") # Manga Camera @@ -7,11 +7,11 @@ Chrome Packaged App with `videoCapture` permission can query user media without ## APIs -* [Runtime](http://developer.chrome.com/apps/app.runtime.html) -* [Window](http://developer.chrome.com/apps/app.window.html) -* [Sync File Systesm](http://developer.chrome.com/apps/syncFileSystem.html) -* [videoCapture](http://developer.chrome.com/apps/manifest.html#permissions) +* [Runtime](https://developer.chrome.com/docs/extensions/reference/app_runtime) +* [Window](https://developer.chrome.com/docs/extensions/reference/app_window) +* [Sync File Systesm](http://developer.chrome.com/apps/syncFileSystem) +* [videoCapture](http://developer.chrome.com/apps/manifest#permissions) ## Screenshot -![screenshot](/apps/samples/manga-cam/assets/screenshot_1280_800.png) +![screenshot](/_archive/apps/samples/manga-cam/assets/screenshot_1280_800.png) diff --git a/_archive/apps/samples/mdns-browser/README.md b/_archive/apps/samples/mdns-browser/README.md index 8b22f1d636..5c0e748908 100644 --- a/_archive/apps/samples/mdns-browser/README.md +++ b/_archive/apps/samples/mdns-browser/README.md @@ -1,4 +1,4 @@ -![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/master/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") +![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/main/_archive/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") # mDNS browser @@ -17,7 +17,7 @@ This is a non-trivial sample which uses the UDP multicast support in Chrome Pack * [Runtime](http://developer.chrome.com/apps/app_runtime) * [Window](http://developer.chrome.com/apps/app_window) - + ## Screenshot -![screenshot](/apps/samples/mdns-browser/assets/screenshot_1280_800.png) +![screenshot](/_archive/apps/samples/mdns-browser/assets/screenshot_1280_800.png) diff --git a/_archive/apps/samples/media-gallery/README.md b/_archive/apps/samples/media-gallery/README.md index 2dab50625b..ba39738fef 100644 --- a/_archive/apps/samples/media-gallery/README.md +++ b/_archive/apps/samples/media-gallery/README.md @@ -1,17 +1,17 @@ -![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/master/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") +![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/main/_archive/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") # Media Gallery -This is a sample application that uses the [media gallery](http://developer.chrome.com/apps/mediaGalleries.html) API to read and show user's media without requiring direct filesystem permission. +This is a sample application that uses the [media gallery](http://developer.chrome.com/apps/mediaGalleries) API to read and show user's media without requiring direct filesystem permission. ## APIs -* [Media gallery](http://developer.chrome.com/apps/mediaGalleries.html) -* [Runtime](http://developer.chrome.com/apps/app.runtime.html) -* [Window](http://developer.chrome.com/apps/app.window.html) +* [Media gallery](http://developer.chrome.com/apps/mediaGalleries) +* [Runtime](https://developer.chrome.com/docs/extensions/reference/app_runtime) +* [Window](https://developer.chrome.com/docs/extensions/reference/app_window) + - ## Screenshot -![screenshot](/apps/samples/media-gallery/assets/screenshot_1280_800.png) +![screenshot](/_archive/apps/samples/media-gallery/assets/screenshot_1280_800.png) diff --git a/_archive/apps/samples/messaging/README.md b/_archive/apps/samples/messaging/README.md index 3d17bff7a4..1619199046 100644 --- a/_archive/apps/samples/messaging/README.md +++ b/_archive/apps/samples/messaging/README.md @@ -4,10 +4,10 @@ This sample shows how to communicate between two apps or one app and one extensi ## Resources -* [Messaging](https://developer.chrome.com/apps/runtime.html#method-sendMessage) -* [Runtime](http://developer.chrome.com/apps/app.runtime.html) -* [Window](http://developer.chrome.com/apps/app.window.html) - +* [Messaging](https://developer.chrome.com/docs/extensions/reference/app_runtime#method-sendMessage) +* [Runtime](https://developer.chrome.com/docs/extensions/reference/app_runtime) +* [Window](https://developer.chrome.com/docs/extensions/reference/app_window) + ## Screenshot -![screenshot](/apps/samples/messaging/assets/screenshot_1280_800.png) +![screenshot](/_archive/apps/samples/messaging/assets/screenshot_1280_800.png) diff --git a/_archive/apps/samples/messaging/app1/README.md b/_archive/apps/samples/messaging/app1/README.md index 082f63afd6..15a6e8a2ae 100644 --- a/_archive/apps/samples/messaging/app1/README.md +++ b/_archive/apps/samples/messaging/app1/README.md @@ -1 +1 @@ -![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/master/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") +![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/main/_archive/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") diff --git a/_archive/apps/samples/messaging/app1/main.js b/_archive/apps/samples/messaging/app1/main.js index 68a03e2c1e..0492d7c305 100644 --- a/_archive/apps/samples/messaging/app1/main.js +++ b/_archive/apps/samples/messaging/app1/main.js @@ -1,8 +1,8 @@ /** * Listens for the app launching then creates the window * - * @see http://developer.chrome.com/apps/app.runtime.html - * @see http://developer.chrome.com/apps/app.window.html + * @see https://developer.chrome.com/docs/extensions/reference/app_runtime + * @see https://developer.chrome.com/docs/extensions/reference/app_window */ chrome.app.runtime.onLaunched.addListener(function() { chrome.app.window.create('index.html', diff --git a/_archive/apps/samples/messaging/app2/README.md b/_archive/apps/samples/messaging/app2/README.md index 05900e4366..188d29e1dd 100644 --- a/_archive/apps/samples/messaging/app2/README.md +++ b/_archive/apps/samples/messaging/app2/README.md @@ -1 +1 @@ -![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/master/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") +![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/main/_archive/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") diff --git a/_archive/apps/samples/messaging/app2/main.js b/_archive/apps/samples/messaging/app2/main.js index f4dbaccf87..0516b0fb04 100644 --- a/_archive/apps/samples/messaging/app2/main.js +++ b/_archive/apps/samples/messaging/app2/main.js @@ -1,8 +1,8 @@ /** * Listens for the app launching then creates the window * - * @see http://developer.chrome.com/apps/app.runtime.html - * @see http://developer.chrome.com/apps/app.window.html + * @see https://developer.chrome.com/docs/extensions/reference/app_runtime + * @see https://developer.chrome.com/docs/extensions/reference/app_window */ chrome.app.runtime.onLaunched.addListener(function() { chrome.app.window.create('index.html', diff --git a/_archive/apps/samples/messaging/extension/README.md b/_archive/apps/samples/messaging/extension/README.md index f9686c0923..97ecf80957 100644 --- a/_archive/apps/samples/messaging/extension/README.md +++ b/_archive/apps/samples/messaging/extension/README.md @@ -1 +1 @@ -![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/master/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") +![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/main/_archive/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") diff --git a/_archive/apps/samples/mini-code-edit/README.md b/_archive/apps/samples/mini-code-edit/README.md index 777e4913c6..db64776ebd 100644 --- a/_archive/apps/samples/mini-code-edit/README.md +++ b/_archive/apps/samples/mini-code-edit/README.md @@ -1,4 +1,4 @@ -![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/master/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") +![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/main/_archive/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") # Mini code editor @@ -7,11 +7,11 @@ A non-trivial sample with basic features of a code editor, like syntax detection ## APIs -* [chrome.fileSystem](http://developer.chrome.com/apps/fileSystem.html) -* [Runtime](http://developer.chrome.com/apps/app.runtime.html) -* [Window](http://developer.chrome.com/apps/app.window.html) +* [chrome.fileSystem](http://developer.chrome.com/apps/fileSystem) +* [Runtime](https://developer.chrome.com/docs/extensions/reference/app_runtime) +* [Window](https://developer.chrome.com/docs/extensions/reference/app_window) + - ## Screenshot -![screenshot](/apps/samples/mini-code-edit/assets/screenshot_1280_800.png) +![screenshot](/_archive/apps/samples/mini-code-edit/assets/screenshot_1280_800.png) diff --git a/_archive/apps/samples/multicast/README.md b/_archive/apps/samples/multicast/README.md index 477158507a..44eaf3ed33 100644 --- a/_archive/apps/samples/multicast/README.md +++ b/_archive/apps/samples/multicast/README.md @@ -1,4 +1,4 @@ -![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/master/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") +![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/main/_archive/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") # Multicast Chatting @@ -21,12 +21,12 @@ user is able to send to another user while not being able to receive from the latter.__ ## APIs -* [Messaging](https://developer.chrome.com/apps/runtime.html) +* [Messaging](https://developer.chrome.com/docs/extensions/reference/app_runtime) * [Runtime](https://developer.chrome.com/apps/app.runtime.html) * [Storage](https://developer.chrome.com/apps/storage.html) * [Sockets](https://developer.chrome.com/apps/sockets_udp) -* [Window](https://developer.chrome.com/apps/app.window.html) +* [Window](https://developer.chrome.com/docs/extensions/reference/app_window) ## Screenshot -![screenshot](/apps/samples/multicast/assets/screenshot_1280_800.png) +![screenshot](/_archive/apps/samples/multicast/assets/screenshot_1280_800.png) diff --git a/_archive/apps/samples/one-time-payment/README.md b/_archive/apps/samples/one-time-payment/README.md index 0c2cb61e46..bbb1140dc7 100644 --- a/_archive/apps/samples/one-time-payment/README.md +++ b/_archive/apps/samples/one-time-payment/README.md @@ -1,12 +1,12 @@ -![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/master/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") +![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/main/_archive/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") # One time payments & free trials in Chrome Apps If you choose to charge users for your Chrome App, there are several options -available to you. The Chrome Web Store has a built-in +available to you. The Chrome Web Store has a built-in [one-time payment system](https://developers.google.com/chrome/web-store/docs/payments-otp) called Chrome Web Store Payments. With one-time payments, you can also -offer a free trial experience for your users. +offer a free trial experience for your users. ### Note: The version that is published in the Chrome Web Store is not available for sale! This is to prevent people from accidentally purchasing a sample. When installed, the user will be issued with a FREE_TRIAL license. If you want to see the end to end flow, complete with the ability to purchase the app, you'll need to publish it in the store yourself and enable one time payments. See the [documentation](https://developers.google.com/chrome/web-store/docs/payments-otp#using-otps) for full details. @@ -20,4 +20,4 @@ to add the the key below to your manifest: * [Identity](http://developer.chrome.com/apps/identity.html) ## Screenshot -![screenshot](/apps/samples/one-time-payment/assets/screenshot_1280_800.png) +![screenshot](/_archive/apps/samples/one-time-payment/assets/screenshot_1280_800.png) diff --git a/_archive/apps/samples/optional-permissions/README.md b/_archive/apps/samples/optional-permissions/README.md index 1cfcdc1bfd..2e93a5f668 100644 --- a/_archive/apps/samples/optional-permissions/README.md +++ b/_archive/apps/samples/optional-permissions/README.md @@ -1,4 +1,4 @@ -![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/master/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") +![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/main/_archive/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") # Optional permissions API @@ -8,10 +8,10 @@ This app shows how to use the permissions API to request optional permissions. I ## APIs * [Serial API](http://developer.chrome.com/apps/app_serial) -* [Runtime](http://developer.chrome.com/apps/app.runtime.html) -* [Window](http://developer.chrome.com/apps/app.window.html) -* [Permissions](http://developer.chrome.com/apps/permissions.html) - +* [Runtime](https://developer.chrome.com/docs/extensions/reference/app_runtime) +* [Window](https://developer.chrome.com/docs/extensions/reference/app_window) +* [Permissions](http://developer.chrome.com/apps/permissions) + ## Screenshot -![screenshot](/apps/samples/optional-permissions/assets/screenshot_1280_800.png) +![screenshot](/_archive/apps/samples/optional-permissions/assets/screenshot_1280_800.png) diff --git a/_archive/apps/samples/parrot-ar-drone/README.md b/_archive/apps/samples/parrot-ar-drone/README.md index 72eee21638..d197db67d7 100644 --- a/_archive/apps/samples/parrot-ar-drone/README.md +++ b/_archive/apps/samples/parrot-ar-drone/README.md @@ -1,10 +1,10 @@ -![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/master/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") +![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/main/_archive/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") # Parrot AR.Drone 2.0 Controller -This app uses the [Gamepad API](http://www.html5rocks.com/en/tutorials/doodles/gamepad/) and the [chrome.socket API](http://developer.chrome.com/apps/socket.html) to communicate with -a [Parrot AR.Drone 2.0](http://ardrone2.parrot.com/). +This app uses the [Gamepad API](http://www.html5rocks.com/en/tutorials/doodles/gamepad/) and the [chrome.socket API](https://developer.chrome.com/docs/extensions/reference/socket) to communicate with +a [Parrot AR.Drone 2.0](https://www.parrot.com/us/support/documentation/ar-drone). The SDK specifies that there are 4 socket connections: @@ -30,12 +30,12 @@ _Please note: this has only been tested with an Xbox 360 controller_ ## Resources -* [Runtime](http://developer.chrome.com/apps/app.runtime.html) -* [Window](http://developer.chrome.com/apps/app.window.html) -* [Socket](http://developer.chrome.com/apps/socket.html) +* [Runtime](https://developer.chrome.com/docs/extensions/reference/app_runtime) +* [Window](https://developer.chrome.com/docs/extensions/reference/app_window) +* [Socket](https://developer.chrome.com/docs/extensions/reference/socket) _Thanks to felixge for the [Node AR Drone lib](https://github.com/felixge/node-ar-drone), which served as a helpful reference._ ## Screenshot -![screenshot](/apps/samples/parrot-ar-drone/assets/screenshot_1280_800.png) +![screenshot](/_archive/apps/samples/parrot-ar-drone/assets/screenshot_1280_800.png) diff --git a/_archive/apps/samples/platform-title/README.md b/_archive/apps/samples/platform-title/README.md index 02dde2ff52..a430f5a41f 100644 --- a/_archive/apps/samples/platform-title/README.md +++ b/_archive/apps/samples/platform-title/README.md @@ -1,4 +1,4 @@ -![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/master/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") +![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/main/_archive/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") # Titlebar Sample App @@ -8,14 +8,14 @@ This is a basic demo showing alternate titlebars, written in HTML/CSS, depending ## Resources * [chrome.runtime.getPlatformInfo](https://developer.chrome.com/extensions/runtime#method-getPlatformInfo) -* [chrome.app.runtime.onLaunched](http://developer.chrome.com/apps/app_runtime.html#event-onLaunched) +* [chrome.app.runtime.onLaunched](https://developer.chrome.com/docs/extensions/reference/app_runtime#event-onLaunched) ## Screenshot ### Mac -![screenshot](/apps/samples/platform-title/assets/screenshot_mac.png) +![screenshot](/_archive/apps/samples/platform-title/assets/screenshot_mac.png) ### Chrome OS -![screenshot](/apps/samples/platform-title/assets/screenshot_cros.png) +![screenshot](/_archive/apps/samples/platform-title/assets/screenshot_cros.png) diff --git a/_archive/apps/samples/printing/README.md b/_archive/apps/samples/printing/README.md index 3fed0e01ba..32c22925d9 100644 --- a/_archive/apps/samples/printing/README.md +++ b/_archive/apps/samples/printing/README.md @@ -1,4 +1,4 @@ -![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/master/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") +![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/main/_archive/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") # Printest @@ -10,4 +10,4 @@ animation can be displayed on the control window to demonstrates how timers are suspended while printing. ## Screenshot -![screenshot](/apps/samples/printing/assets/screenshot_1280_800.png) +![screenshot](/_archive/apps/samples/printing/assets/screenshot_1280_800.png) diff --git a/_archive/apps/samples/restarted-demo/README.md b/_archive/apps/samples/restarted-demo/README.md index 5d2d487180..2b5497d147 100644 --- a/_archive/apps/samples/restarted-demo/README.md +++ b/_archive/apps/samples/restarted-demo/README.md @@ -1,4 +1,4 @@ -![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/master/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") +![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/main/_archive/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") # onRestarted event @@ -10,10 +10,10 @@ This demo app creates a new counter on launch and restores any existing counters ## APIs -* [Runtime](http://developer.chrome.com/apps/app.runtime.html) -* [Storage](http://developer.chrome.com/apps/storage.html) -* [Window](http://developer.chrome.com/apps/app.window.html) - +* [Runtime](https://developer.chrome.com/docs/extensions/reference/app_runtime) +* [Storage](http://developer.chrome.com/apps/storage) +* [Window](https://developer.chrome.com/docs/extensions/reference/app_window) + ## Screenshot -![screenshot](/apps/samples/restarted-demo/assets/screenshot_1280_800.png) +![screenshot](/_archive/apps/samples/restarted-demo/assets/screenshot_1280_800.png) diff --git a/_archive/apps/samples/rich-notifications/README.md b/_archive/apps/samples/rich-notifications/README.md index 34c125285a..9b544f126e 100644 --- a/_archive/apps/samples/rich-notifications/README.md +++ b/_archive/apps/samples/rich-notifications/README.md @@ -1,4 +1,4 @@ -![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/master/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") +![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/main/_archive/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") # Rich notifications @@ -12,8 +12,8 @@ in the system tray. This API is still in experimental state. ## Resources -* [Notification API documentation](http://developer.chrome.com/apps/notifications.html) +* [Notification API documentation](http://developer.chrome.com/apps/notifications) ## Screenshot -![screenshot](/apps/samples/rich-notifications/assets/screenshot_1280_800.png) +![screenshot](/_archive/apps/samples/rich-notifications/assets/screenshot_1280_800.png) diff --git a/_archive/apps/samples/sandbox/README.md b/_archive/apps/samples/sandbox/README.md index c2efdb26fe..0751f2539d 100644 --- a/_archive/apps/samples/sandbox/README.md +++ b/_archive/apps/samples/sandbox/README.md @@ -1,4 +1,4 @@ -![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/master/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") +![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/main/_archive/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") # Sandbox @@ -9,17 +9,17 @@ passes a counter variable. The sandboxed page uses the using the counter variable which is then passed back to the main page for rendering. The default packaged app Content Security Policy (CSP) value -[disallows](http://developer.chrome.com/apps/app_csp.html) the use of +[disallows](https://developer.chrome.com/docs/apps/contentSecurityPolicy/) the use of `eval()` or `new Function()` (or variants like `Function.apply()`) so using a sandbox is necessary for this process. To enable sandboxing in your app you -add the `sandbox` property to your app's [manifest file](http://developer.chrome.com/apps/manifest.html#sandbox). +add the `sandbox` property to your app's [manifest file](http://developer.chrome.com/apps/manifest#sandbox). -See more info on [using eval safely in packaged apps](http://developer.chrome.com/apps/sandboxingEval.html). +See more info on [using eval safely in packaged apps](http://developer.chrome.com/apps/sandboxingEval). ## APIs -* [Runtime](http://developer.chrome.com/apps/app.runtime.html) - +* [Runtime](https://developer.chrome.com/docs/extensions/reference/app_runtime) + ## Screenshot -![screenshot](/apps/samples/sandbox/assets/screenshot_1280_800.png) +![screenshot](/_archive/apps/samples/sandbox/assets/screenshot_1280_800.png) diff --git a/_archive/apps/samples/sandbox/main.js b/_archive/apps/samples/sandbox/main.js index 6c088b6040..e9abe86c0b 100644 --- a/_archive/apps/samples/sandbox/main.js +++ b/_archive/apps/samples/sandbox/main.js @@ -1,8 +1,8 @@ /** * Listens for the app launching then creates the window * - * @see http://developer.chrome.com/apps/app.runtime.html - * @see http://developer.chrome.com/apps/app.window.html + * @see https://developer.chrome.com/docs/extensions/reference/app_runtime + * @see https://developer.chrome.com/docs/extensions/reference/app_window */ chrome.app.runtime.onLaunched.addListener(function() { chrome.app.window.create('mainpage.html', diff --git a/_archive/apps/samples/sandboxed-content/README.md b/_archive/apps/samples/sandboxed-content/README.md index c96f1bbf8a..f1bf4d57a0 100644 --- a/_archive/apps/samples/sandboxed-content/README.md +++ b/_archive/apps/samples/sandboxed-content/README.md @@ -1,4 +1,4 @@ -![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/master/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") +![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/main/_archive/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") # Sandbox @@ -7,18 +7,18 @@ This sample creates a window containing a sandboxed iframe (`sandbox.html`). The sandbox uses `eval()` function to write some HTML to its own document. The default packaged app Content Security Policy (CSP) value -[disallows](http://developer.chrome.com/apps/app_csp.html) the use of +[disallows](https://developer.chrome.com/docs/apps/contentSecurityPolicy/) the use of `eval()` or `new Function()` (or variants like `Function.apply()`) so using a sandbox is necessary for this process. To enable sandboxing in your app you -add the `sandbox` property to your app's [manifest file](http://developer.chrome.com/apps/manifest.html#sandbox). +add the `sandbox` property to your app's [manifest file](http://developer.chrome.com/apps/manifest#sandbox). -See more info on [using eval safely in packaged apps](http://developer.chrome.com/apps/sandboxingEval.html). +See more info on [using eval safely in packaged apps](http://developer.chrome.com/apps/sandboxingEval). ## APIs -* [Runtime](http://developer.chrome.com/apps/app.runtime.html) +* [Runtime](https://developer.chrome.com/docs/extensions/reference/app_runtime/) + - ## Screenshot -![screenshot](/apps/samples/sandboxed-content/assets/screenshot_1280_800.png) +![screenshot](/_archive/apps/samples/sandboxed-content/assets/screenshot_1280_800.png) diff --git a/_archive/apps/samples/sandboxed-content/main.js b/_archive/apps/samples/sandboxed-content/main.js index c9ada351e9..295f5839fe 100644 --- a/_archive/apps/samples/sandboxed-content/main.js +++ b/_archive/apps/samples/sandboxed-content/main.js @@ -1,8 +1,8 @@ /** * Listens for the app launching then creates the window * - * @see http://developer.chrome.com/apps/app.runtime.html - * @see http://developer.chrome.com/apps/app.window.html + * @see https://developer.chrome.com/docs/extensions/reference/app_runtime + * @see https://developer.chrome.com/docs/extensions/reference/app_window */ chrome.app.runtime.onLaunched.addListener(function() { chrome.app.window.create('main.html', diff --git a/_archive/apps/samples/serial-control-signals/README.md b/_archive/apps/samples/serial-control-signals/README.md index 9adc9054cb..ebf12e3c22 100644 --- a/_archive/apps/samples/serial-control-signals/README.md +++ b/_archive/apps/samples/serial-control-signals/README.md @@ -1,4 +1,4 @@ -![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/master/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") +![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/main/_archive/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") # Serial Control Signals @@ -8,9 +8,9 @@ This sample demonstrates how you can send and receive control signals (DTR, RTS, ## APIs * [Serial API](http://developer.chrome.com/apps/app.hardware.html#serial) -* [Runtime](http://developer.chrome.com/apps/app.runtime.html) -* [Window](http://developer.chrome.com/apps/app.window.html) - +* [Runtime](https://developer.chrome.com/docs/extensions/reference/app_runtime) +* [Window](https://developer.chrome.com/docs/extensions/reference/app_window) + ## Screenshot -![screenshot](/apps/samples/serial-control-signals/assets/screenshot_1280_800.png) +![screenshot](/_archive/apps/samples/serial-control-signals/assets/screenshot_1280_800.png) diff --git a/_archive/apps/samples/serial/adkjs/README.md b/_archive/apps/samples/serial/adkjs/README.md index 7a55dbfe37..3cf49e837c 100644 --- a/_archive/apps/samples/serial/adkjs/README.md +++ b/_archive/apps/samples/serial/adkjs/README.md @@ -1,4 +1,4 @@ -![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/master/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") +![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/main/_archive/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") # ADK kit in Javascript @@ -9,14 +9,14 @@ The demo simulates the same visual interface of the Android application, but in In the firmware directory, there is the Arduino app you must upload. We could not use exactly the same arduino code from the original Android ADK because it uses a USB port where the board is the USB host, and that woudl conflict with the computer USB port that is always the host. Upload the arduino firmware code to the board and you are set. -In the app directory, you will find the Chrome Packaged App. +In the app directory, you will find the Chrome Packaged App. ## APIs * [Serial API](http://developer.chrome.com/apps/app.hardware.html#serial) -* [Runtime](http://developer.chrome.com/apps/app.runtime.html) -* [Window](http://developer.chrome.com/apps/app.window.html) - +* [Runtime](https://developer.chrome.com/docs/extensions/reference/app_runtime) +* [Window](https://developer.chrome.com/docs/extensions/reference/app_window) + ## Screenshot -![screenshot](/apps/samples/serial/adkjs/app/assets/screenshot_1280_800.png) +![screenshot](/_archive/apps/samples/serial/adkjs/app/assets/screenshot_1280_800.png) diff --git a/_archive/apps/samples/serial/adkjs/app/README.md b/_archive/apps/samples/serial/adkjs/app/README.md index bb660f4a81..bcdad6c03d 100644 --- a/_archive/apps/samples/serial/adkjs/app/README.md +++ b/_archive/apps/samples/serial/adkjs/app/README.md @@ -1 +1 @@ -![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/master/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") +![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/main/_archive/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") diff --git a/_archive/apps/samples/serial/espruino/README.md b/_archive/apps/samples/serial/espruino/README.md index 709f18e5d3..03517a6a46 100644 --- a/_archive/apps/samples/serial/espruino/README.md +++ b/_archive/apps/samples/serial/espruino/README.md @@ -1,4 +1,4 @@ -![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/master/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") +![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/main/_archive/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") # Espruino LED toggle @@ -15,8 +15,8 @@ This sample lets you toggle the state of an LED on an [Espruino JavaScript board ## APIs * [Serial API](http://developer.chrome.com/apps/app.hardware.html#serial) -* [Runtime](http://developer.chrome.com/apps/app.runtime.html) -* [Window](http://developer.chrome.com/apps/app.window.html) - +* [Runtime](https://developer.chrome.com/docs/extensions/reference/app_runtime) +* [Window](https://developer.chrome.com/docs/extensions/reference/app_window) + ## Screenshot -![screenshot](/apps/samples/serial/espruino/assets/screenshot_1280_800.png) +![screenshot](/_archive/apps/samples/serial/espruino/assets/screenshot_1280_800.png) diff --git a/_archive/apps/samples/serial/ledtoggle/README.md b/_archive/apps/samples/serial/ledtoggle/README.md index 2f859709b7..af5bc34c1c 100644 --- a/_archive/apps/samples/serial/ledtoggle/README.md +++ b/_archive/apps/samples/serial/ledtoggle/README.md @@ -1,10 +1,10 @@ -![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/master/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") +![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/main/_archive/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") # Arduino LED toggle Note: on Mac OS X Lion, it's necessary to update USB Serial drivers: -http://blog.geekscape.org/wordpress/2011/07/22/mac-os-x-17-lion-upgrading-ftdi-usb-serial-dr/ +https://web.archive.org/web/20160630184514/http://blog.geekscape.org/wordpress/2011/07/22/mac-os-x-17-lion-upgrading-ftdi-usb-serial-dr This sample shows a big button that lets you toggle between the on/off state of an LED connected to an Arduino. @@ -20,8 +20,8 @@ for Chrome packaged apps. ## APIs * [Serial API](http://developer.chrome.com/apps/app.hardware.html#serial) -* [Runtime](http://developer.chrome.com/apps/app.runtime.html) -* [Window](http://developer.chrome.com/apps/app.window.html) - +* [Runtime](https://developer.chrome.com/docs/extensions/reference/app_runtime) +* [Window](https://developer.chrome.com/docs/extensions/reference/app_window) + ## Screenshot -![screenshot](/apps/samples/serial/ledtoggle/assets/screenshot_1280_800.png) +![screenshot](/_archive/apps/samples/serial/ledtoggle/assets/screenshot_1280_800.png) diff --git a/_archive/apps/samples/servo/README.md b/_archive/apps/samples/servo/README.md index 44bf2eb500..8796b9db8e 100644 --- a/_archive/apps/samples/servo/README.md +++ b/_archive/apps/samples/servo/README.md @@ -1,4 +1,4 @@ -![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/master/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") +![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/main/_archive/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") # Arduino servo control @@ -11,9 +11,9 @@ This app displays a slider that, when dragged, causes a servo attached to an Ard ## APIs * [Serial API](http://developer.chrome.com/apps/app.hardware.html#serial) -* [Runtime](http://developer.chrome.com/apps/app.runtime.html) -* [Window](http://developer.chrome.com/apps/app.window.html) - +* [Runtime](https://developer.chrome.com/docs/extensions/reference/app_runtime) +* [Window](https://developer.chrome.com/docs/extensions/reference/app_window) + ## Screenshot -![screenshot](/apps/samples/servo/assets/screenshot_1280_800.png) +![screenshot](/_archive/apps/samples/servo/assets/screenshot_1280_800.png) diff --git a/_archive/apps/samples/storage/README.md b/_archive/apps/samples/storage/README.md index acd041f479..b4a3b9970b 100644 --- a/_archive/apps/samples/storage/README.md +++ b/_archive/apps/samples/storage/README.md @@ -1,4 +1,4 @@ -![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/master/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") +![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/main/_archive/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") # Storage simple test @@ -8,10 +8,10 @@ A very basic application that demonstrates the Filesystem API. It allows you to ## APIs * [Filesystem](http://developer.chrome.com/apps/app_storage.html) -* [Runtime](http://developer.chrome.com/apps/app.runtime.html) -* [Window](http://developer.chrome.com/apps/app.window.html) +* [Runtime](https://developer.chrome.com/docs/extensions/reference/app_runtime) +* [Window](https://developer.chrome.com/docs/extensions/reference/app_window) + - ## Screenshot -![screenshot](/apps/samples/storage/assets/screenshot_1280_800.png) +![screenshot](/_archive/apps/samples/storage/assets/screenshot_1280_800.png) diff --git a/_archive/apps/samples/syncfs-editor/README.md b/_archive/apps/samples/syncfs-editor/README.md index fde295d2da..bb605479f3 100644 --- a/_archive/apps/samples/syncfs-editor/README.md +++ b/_archive/apps/samples/syncfs-editor/README.md @@ -1,4 +1,4 @@ -![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/master/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") +![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/main/_archive/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") syncfs-editor @@ -23,7 +23,7 @@ distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. - + ## Screenshot -![screenshot](/apps/samples/syncfs-editor/assets/screenshot_1280_800.png) +![screenshot](/_archive/apps/samples/syncfs-editor/assets/screenshot_1280_800.png) diff --git a/_archive/apps/samples/systemInfo/README.md b/_archive/apps/samples/systemInfo/README.md index 72b5460f54..c4324203fa 100644 --- a/_archive/apps/samples/systemInfo/README.md +++ b/_archive/apps/samples/systemInfo/README.md @@ -1,20 +1,20 @@ -![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/master/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") +![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/main/_archive/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") # SystemInfo Sample Shows how to use experimental systemInfo APIs to query system information, such -as CPU, memory and disk storage etc. +as CPU, memory and disk storage etc. ## APIs -* [Runtime](http://developer.chrome.com/apps/app.runtime.html) -* [Window](http://developer.chrome.com/apps/app.window.html) -* [Display](http://developer.chrome.com/apps/system_display.html) -* [CPU](http://developer.chrome.com/apps/system_cpu.html) -* [Memory](http://developer.chrome.com/apps/system_memory.html) -* [Storage](http://developer.chrome.com/apps/system_storage.html) +* [Runtime](https://developer.chrome.com/docs/extensions/reference/app_runtime) +* [Window](https://developer.chrome.com/docs/extensions/reference/app_window) +* [Display](http://developer.chrome.com/apps/system_display) +* [CPU](http://developer.chrome.com/apps/system_cpu) +* [Memory](http://developer.chrome.com/apps/system_memory) +* [Storage](http://developer.chrome.com/apps/system_storage) ## Screenshot -![screenshot](/apps/samples/systemInfo/assets/screenshot_1280_800.png) +![screenshot](/_archive/apps/samples/systemInfo/assets/screenshot_1280_800.png) diff --git a/_archive/apps/samples/systemInfo/main.js b/_archive/apps/samples/systemInfo/main.js index 710fadea10..1f7d35061e 100644 --- a/_archive/apps/samples/systemInfo/main.js +++ b/_archive/apps/samples/systemInfo/main.js @@ -8,7 +8,7 @@ /** * Listens for the app launching then creates the window * - * @see http://developer.chrome.com/apps/app.window.html + * @see https://developer.chrome.com/docs/extensions/reference/app_window */ chrome.app.runtime.onLaunched.addListener(function() { chrome.app.window.create('index.html', { diff --git a/_archive/apps/samples/tasks/README.md b/_archive/apps/samples/tasks/README.md index 1f7320a5e5..32190c9a99 100644 --- a/_archive/apps/samples/tasks/README.md +++ b/_archive/apps/samples/tasks/README.md @@ -1,10 +1,10 @@ -![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/master/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") +![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/main/_archive/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") # Tasks app using GAPI Demonstrates the usage of GAPI by listing user's Google Tasks. It can be either -used as a Chrome app, in which case the [GAPI Chrome Apps Lib](https://github.com/GoogleChrome/chrome-app-samples/tree/master/gapi-chrome-apps-lib) +used as a Chrome app, in which case the [GAPI Chrome Apps Lib](https://github.com/GoogleChrome/chrome-extensions-samples/tree/main/_archive/apps/libraries/gapi-chrome-apps-lib) is used, or as a web page, running on http://localhost:8000, taking advantage of the [JavaScript Client Library](https://developers.google.com/api-client-library/javascript/reference/referencedocs). @@ -15,4 +15,4 @@ of the [JavaScript Client Library](https://developers.google.com/api-client-libr ## Screenshot -![screenshot](/apps/samples/tasks/assets/screenshot_1280_800.png) +![screenshot](/_archive/apps/samples/tasks/assets/screenshot_1280_800.png) diff --git a/_archive/apps/samples/tcpserver/README.md b/_archive/apps/samples/tcpserver/README.md index 45285f0ca2..637ca86d87 100644 --- a/_archive/apps/samples/tcpserver/README.md +++ b/_archive/apps/samples/tcpserver/README.md @@ -1,4 +1,4 @@ -![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/master/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") +![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/main/_archive/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") # Chrome Commando TCP server @@ -10,7 +10,7 @@ This is a sample that shows how you can run a network TCP server in a packaged a * [Sockets](https://developer.chrome.com/apps/sockets_tcp) * [Runtime](https://developer.chrome.com/apps/app_runtime) * [Window](https://developer.chrome.com/apps/app_window) - + ## Screenshot -![screenshot](/apps/samples/tcpserver/assets/screenshot_1280_800.png) +![screenshot](/_archive/apps/samples/tcpserver/assets/screenshot_1280_800.png) diff --git a/_archive/apps/samples/telnet/README.md b/_archive/apps/samples/telnet/README.md index af3ca984ff..a22589f781 100644 --- a/_archive/apps/samples/telnet/README.md +++ b/_archive/apps/samples/telnet/README.md @@ -1,4 +1,4 @@ -![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/master/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") +![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/main/_archive/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") # Telnet @@ -20,7 +20,7 @@ Renders it in glorious ANSIColor for your viewing joy. Networking stuff, ANSI colors by Boris Smus. Terminal by Eric Bidelman: http://www.htmlfivewow.com/demos/terminal/terminal.html - + ## Screenshot -![screenshot](/apps/samples/telnet/assets/screenshot_1280_800.png) +![screenshot](/_archive/apps/samples/telnet/assets/screenshot_1280_800.png) diff --git a/_archive/apps/samples/telnet/launch.js b/_archive/apps/samples/telnet/launch.js index 3a4806f254..7fdf08200d 100644 --- a/_archive/apps/samples/telnet/launch.js +++ b/_archive/apps/samples/telnet/launch.js @@ -1,8 +1,8 @@ /** * Listens for the app launching then creates the window * - * @see http://developer.chrome.com/apps/app.runtime.html - * @see http://developer.chrome.com/apps/app.window.html + * @see https://developer.chrome.com/docs/extensions/reference/app_runtime + * @see https://developer.chrome.com/docs/extensions/reference/app_window */ chrome.app.runtime.onLaunched.addListener(function() { chrome.app.window.create('terminal.html', { diff --git a/_archive/apps/samples/text-editor/README.md b/_archive/apps/samples/text-editor/README.md index 9a460a96db..039c075bf0 100644 --- a/_archive/apps/samples/text-editor/README.md +++ b/_archive/apps/samples/text-editor/README.md @@ -1,4 +1,4 @@ -![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/master/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") +![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/main/_archive/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") # Code editor @@ -7,11 +7,11 @@ A non-trivial sample with basic features of a code editor, like language detecti ## APIs -* [chrome.fileSystem](http://developer.chrome.com/apps/fileSystem.html) -* [Runtime](http://developer.chrome.com/apps/app.runtime.html) -* [Window](http://developer.chrome.com/apps/app.window.html) +* [chrome.fileSystem](http://developer.chrome.com/apps/fileSystem) +* [Runtime](https://developer.chrome.com/docs/extensions/reference/app_runtime) +* [Window](https://developer.chrome.com/docs/extensions/reference/app_window) + - ## Screenshot -![screenshot](/apps/samples/text-editor/assets/screenshot_1280_800.png) +![screenshot](/_archive/apps/samples/text-editor/assets/screenshot_1280_800.png) diff --git a/_archive/apps/samples/todomvc/background.js b/_archive/apps/samples/todomvc/background.js index 39ea2347bc..46ddfb22c6 100644 --- a/_archive/apps/samples/todomvc/background.js +++ b/_archive/apps/samples/todomvc/background.js @@ -1,7 +1,7 @@ /** * Listens for the app launching then creates the window * - * @see http://developer.chrome.com/apps/app.window.html + * @see https://developer.chrome.com/docs/extensions/reference/app_window */ var dbName = 'todos-vanillajs'; diff --git a/_archive/apps/samples/tts/main.js b/_archive/apps/samples/tts/main.js index 17a6ca9f11..870e73dba5 100644 --- a/_archive/apps/samples/tts/main.js +++ b/_archive/apps/samples/tts/main.js @@ -1,8 +1,8 @@ /** * Listens for the app launching then creates the window * - * @see http://developer.chrome.com/apps/app.runtime.html - * @see http://developer.chrome.com/apps/app.window.html + * @see https://developer.chrome.com/docs/extensions/reference/app_runtime + * @see https://developer.chrome.com/docs/extensions/reference/app_window */ chrome.app.runtime.onLaunched.addListener(function() { // Center window on screen. diff --git a/_archive/apps/samples/udp/README.md b/_archive/apps/samples/udp/README.md index a1c1c0286d..9616041f73 100644 --- a/_archive/apps/samples/udp/README.md +++ b/_archive/apps/samples/udp/README.md @@ -1,21 +1,21 @@ -![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/master/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") +![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/main/_archive/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") # A simple UDP echo client ------------------------------ - + [127.0.0.1:3007 ] [Connect] - + **o .. . - - - + + + ------------------------------ -Connects to a UDP echo server at the given address. +Connects to a UDP echo server at the given address. Each little dot represents a echo request. When the request receives a reply, it shoots away and blows up. @@ -29,10 +29,10 @@ In the `server` directory, you will find a Node echo server that intentionally d ## APIs -* [UDP Network](http://developer.chrome.com/apps/app_network.html#udp) -* [Runtime](http://developer.chrome.com/apps/app.runtime.html) -* [Window](http://developer.chrome.com/apps/app.window.html) - +* [UDP Network](http://developer.chrome.com/apps/app_network#udp) +* [Runtime](https://developer.chrome.com/docs/extensions/reference/app_runtime) +* [Window](https://developer.chrome.com/docs/extensions/reference/app_window) + ## Screenshot -![screenshot](/apps/samples/udp/assets/screenshot_1280_800.png) +![screenshot](/_archive/apps/samples/udp/assets/screenshot_1280_800.png) diff --git a/_archive/apps/samples/url-handler/README.md b/_archive/apps/samples/url-handler/README.md index 91ad142f45..6ebb1b42a6 100644 --- a/_archive/apps/samples/url-handler/README.md +++ b/_archive/apps/samples/url-handler/README.md @@ -1,6 +1,3 @@ -![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/master/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") - - # URL Handler Sample App This is a basic Wikipedia viewer implemented as a packaged app. @@ -13,10 +10,10 @@ Note that at least in this initial version of the feature in Chrome 31 stable ch ## Resources -* [url_handlers in manifest](http://developer.chrome.com/apps/manifest/url_handlers.html) -* [chrome.app.runtime.onLaunched](http://developer.chrome.com/apps/app_runtime.html#event-onLaunched) +* [url_handlers in manifest](http://developer.chrome.com/apps/manifest/url_handlers) +* [chrome.app.runtime.onLaunched](https://developer.chrome.com/docs/extensions/reference/app_runtime#event-onLaunched) * [webview](https://developer.chrome.com/apps/tags/webview) -* [chrome.storage](http://developer.chrome.com/apps/storage.html) +* [chrome.storage](http://developer.chrome.com/apps/storage) ## Screenshot -![screenshot](/apps/samples/url-handler/assets/screenshot_1280_800.png) +![screenshot](/_archive/apps/samples/url-handler/assets/screenshot_1280_800.png) diff --git a/_archive/apps/samples/usb-label-printer/README.md b/_archive/apps/samples/usb-label-printer/README.md index ae19ba7722..229bd33484 100644 --- a/_archive/apps/samples/usb-label-printer/README.md +++ b/_archive/apps/samples/usb-label-printer/README.md @@ -1,4 +1,4 @@ -![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/master/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") +![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/main/_archive/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") label-printer-app @@ -28,7 +28,7 @@ var productId = 0x0021; // changed from 0x0020 ### Windows issues -Some Windows device drivers take ownership of the device and don't allow Chrome to connect to them. If openDevice or findDevice doesn't work for you, you can try to use a generic low level driver instead. +Some Windows device drivers take ownership of the device and don't allow Chrome to connect to them. If openDevice or findDevice doesn't work for you, you can try to use a generic low level driver instead. For more info, check this [chrome-app-samples issue](https://github.com/GoogleChrome/chrome-app-samples/issues/203). LICENSE @@ -47,7 +47,7 @@ distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. - + ## Screenshot -![screenshot](/apps/samples/usb-label-printer/assets/screenshot_1280_800.png) +![screenshot](/_archive/apps/samples/usb-label-printer/assets/screenshot_1280_800.png) diff --git a/_archive/apps/samples/usb-label-printer/main.js b/_archive/apps/samples/usb-label-printer/main.js index b3b1999a82..a5b8322710 100644 --- a/_archive/apps/samples/usb-label-printer/main.js +++ b/_archive/apps/samples/usb-label-printer/main.js @@ -2,7 +2,7 @@ * Listens for the app launching then creates the window * * @see http://developer.chrome.com/apps/experimental.app.html - * @see http://developer.chrome.com/apps/app.window.html + * @see https://developer.chrome.com/docs/extensions/reference/app_window */ chrome.app.runtime.onLaunched.addListener(function(data) { // App Launched diff --git a/_archive/apps/samples/usb/device-info/README.md b/_archive/apps/samples/usb/device-info/README.md index ce97ae4cda..dc9431a6cd 100644 --- a/_archive/apps/samples/usb/device-info/README.md +++ b/_archive/apps/samples/usb/device-info/README.md @@ -1,4 +1,4 @@ -![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/master/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") +![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/main/_archive/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") # USB Device Info Demo @@ -14,4 +14,4 @@ for arbitrary devices. * [Window](https://developer.chrome.com/apps/app_window) ## Screenshot -![screenshot](/apps/samples/usb/device-info/assets/screenshot_1280_800.png) +![screenshot](/_archive/apps/samples/usb/device-info/assets/screenshot_1280_800.png) diff --git a/_archive/apps/samples/usb/knob/README.md b/_archive/apps/samples/usb/knob/README.md index 07a5f353b1..14996863bb 100644 --- a/_archive/apps/samples/usb/knob/README.md +++ b/_archive/apps/samples/usb/knob/README.md @@ -1,4 +1,4 @@ -![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/master/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") +![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/main/_archive/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") # Griffin PowerMate knob @@ -10,7 +10,7 @@ This demo interfaces with a [Griffin PowerMate](http://en.wikipedia.org/wiki/Gri * [USB raw access](https://developer.chrome.com/apps/usb) * [Runtime](https://developer.chrome.com/apps/runtime) * [Window](https://developer.chrome.com/apps/app_window) - + ## Screenshot -![screenshot](/apps/samples/usb/knob/assets/screenshot_1280_800.png) +![screenshot](/_archive/apps/samples/usb/knob/assets/screenshot_1280_800.png) diff --git a/_archive/apps/samples/weather/README.md b/_archive/apps/samples/weather/README.md index d654186a3f..ce19f422fc 100644 --- a/_archive/apps/samples/weather/README.md +++ b/_archive/apps/samples/weather/README.md @@ -1,4 +1,4 @@ -![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/master/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") +![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/main/_archive/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") # Weather @@ -12,11 +12,11 @@ that the user has chosen ## Resources -* [Runtime](http://developer.chrome.com/apps/app.runtime.html) -* [Window](http://developer.chrome.com/apps/app.window.html) -* [Storage](http://developer.chrome.com/apps/storage.html) -* [Geolocation](http://developer.chrome.com/apps/manifest.html#permissions) - +* [Runtime](https://developer.chrome.com/docs/extensions/reference/app_runtime) +* [Window](https://developer.chrome.com/docs/extensions/reference/app_window) +* [Storage](http://developer.chrome.com/apps/storage) +* [Geolocation](http://developer.chrome.com/apps/manifest#permissions) + ## Screenshot -![screenshot](/apps/samples/weather/assets/screenshot_1280_800.png) +![screenshot](/_archive/apps/samples/weather/assets/screenshot_1280_800.png) diff --git a/_archive/apps/samples/web-store/README.md b/_archive/apps/samples/web-store/README.md index 287498fe30..8c49fa76e7 100644 --- a/_archive/apps/samples/web-store/README.md +++ b/_archive/apps/samples/web-store/README.md @@ -1,4 +1,4 @@ -![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/master/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") +![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/main/_archive/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") # Web Store API Sample App @@ -11,6 +11,6 @@ Lets you upload and publish Chrome Apps and Extensions folders stored locally on * [identity](http://developer.chrome.com/apps/app_identity) * [fileSystem](http://developer.chrome.com/apps/fileSystem) * [storage](http://developer.chrome.com/apps/storage) - + ## Screenshot -![screenshot](/apps/samples/web-store/assets/screenshot_1280_800.png) +![screenshot](/_archive/apps/samples/web-store/assets/screenshot_1280_800.png) diff --git a/_archive/apps/samples/webgl-pointer-lock/README.md b/_archive/apps/samples/webgl-pointer-lock/README.md index f549f05db9..312eb225fb 100644 --- a/_archive/apps/samples/webgl-pointer-lock/README.md +++ b/_archive/apps/samples/webgl-pointer-lock/README.md @@ -1,4 +1,4 @@ -![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/master/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") +![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/main/_archive/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") # Hello 3D World @@ -14,8 +14,8 @@ This sample uses the frameless window: ## APIs -* [Window](http://developer.chrome.com/apps/app.window.html) -* [Runtime](http://developer.chrome.com/apps/app.runtime.html) +* [Window](https://developer.chrome.com/docs/extensions/reference/app_window) +* [Runtime](https://developer.chrome.com/docs/extensions/reference/app_runtime) * [Pointer Lock](http://www.w3.org/TR/pointerlock/) ## External libs diff --git a/_archive/apps/samples/webgl-pointer-lock/main.js b/_archive/apps/samples/webgl-pointer-lock/main.js index 45009940d9..37599d5b3c 100644 --- a/_archive/apps/samples/webgl-pointer-lock/main.js +++ b/_archive/apps/samples/webgl-pointer-lock/main.js @@ -1,8 +1,8 @@ /** * Listens for the app launching then creates the window * - * @see http://developer.chrome.com/apps/app.runtime.html - * @see http://developer.chrome.com/apps/app.window.html + * @see https://developer.chrome.com/docs/extensions/reference/app_runtime + * @see https://developer.chrome.com/docs/extensions/reference/app_window */ chrome.app.runtime.onLaunched.addListener(function() { chrome.app.window.create('index.html', diff --git a/_archive/apps/samples/webserver/README.md b/_archive/apps/samples/webserver/README.md index d52d057224..8aadf78c7e 100644 --- a/_archive/apps/samples/webserver/README.md +++ b/_archive/apps/samples/webserver/README.md @@ -1,20 +1,18 @@ -![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/master/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") +![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/main/_archive/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") Web Server ========== -This sample is a demonstration of Chrome's new networking stack. Chrome has the ability to +This sample is a demonstration of Chrome's new networking stack. Chrome has the ability to listen on a tcp port AND to accept. -Note: An example of a Chrome App with TLS Enabled HTTP Server can be found at https://github.com/Rise-Vision/chrome-app-tls-server - ## APIs * [Sockets](https://developer.chrome.com/apps/sockets_tcpServer) * [Network](https://developer.chrome.com/apps/system_network) * [Runtime](https://developer.chrome.com/apps/app_runtime) * [Window](https://developer.chrome.com/apps/app_window) - + ## Screenshot -![screenshot](/apps/samples/webserver/assets/screenshot_1280_800.png) +![screenshot](/_archive/apps/samples/webserver/assets/screenshot_1280_800.png) diff --git a/_archive/apps/samples/webserver/main.js b/_archive/apps/samples/webserver/main.js index 3b8076d3d0..1f2012b75a 100644 --- a/_archive/apps/samples/webserver/main.js +++ b/_archive/apps/samples/webserver/main.js @@ -1,7 +1,7 @@ /** * Listens for the app launching then creates the window * - * @see http://developer.chrome.com/apps/app.window.html + * @see https://developer.chrome.com/docs/extensions/reference/app_window */ chrome.app.runtime.onLaunched.addListener(function(intentData) { chrome.app.window.create('index.html', { diff --git a/_archive/apps/samples/websocket-server/README.md b/_archive/apps/samples/websocket-server/README.md index aa87c43996..83879af58e 100644 --- a/_archive/apps/samples/websocket-server/README.md +++ b/_archive/apps/samples/websocket-server/README.md @@ -1,4 +1,4 @@ -![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/master/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") +![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/main/_archive/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") # Http WebSocket Server @@ -8,9 +8,9 @@ An example Http and WebSocket server implementation with a sample app which serv ## APIs * [Sockets](https://developer.chrome.com/apps/sockets_tcpServer) -* [Runtime](http://developer.chrome.com/apps/app.runtime.html) -* [Window](http://developer.chrome.com/apps/app.window.html) +* [Runtime](https://developer.chrome.com/docs/extensions/reference/app_runtime) +* [Window](https://developer.chrome.com/docs/extensions/reference/app_window) ## Screenshot -![screenshot](/apps/samples/websocket-server/assets/screenshot_1280_800.png) +![screenshot](/_archive/apps/samples/websocket-server/assets/screenshot_1280_800.png) diff --git a/_archive/apps/samples/webview-samples/browser/README.md b/_archive/apps/samples/webview-samples/browser/README.md index 951ef615dc..4559b77137 100644 --- a/_archive/apps/samples/webview-samples/browser/README.md +++ b/_archive/apps/samples/webview-samples/browser/README.md @@ -1,9 +1,9 @@ -![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/master/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") +![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/main/_archive/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") # Browser -Sample that shows how to use the [webview tag](http://developer.chrome.com/apps/app_external.html#webview) +Sample that shows how to use the [webview tag](http://developer.chrome.com/apps/app_external#webview) in an app to create a mini browser. The app's main window contains a `` that is sized to fit most of it @@ -16,9 +16,9 @@ reliability of your application. ## Resources -* [Webview](http://developer.chrome.com/apps/app_external.html#webview) -* [Permissions](http://developer.chrome.com/apps/manifest.html#permissions) +* [Webview](http://developer.chrome.com/apps/app_external#webview) +* [Permissions](http://developer.chrome.com/apps/manifest#permissions) ## Screenshot -![screenshot](/apps/samples/webview-samples/browser/assets/screenshot_1280_800.png) +![screenshot](/_archive/apps/samples/webview-samples/browser/assets/screenshot_1280_800.png) diff --git a/_archive/apps/samples/webview-samples/browser/main.js b/_archive/apps/samples/webview-samples/browser/main.js index 3bde010a1b..65b6b62e26 100644 --- a/_archive/apps/samples/webview-samples/browser/main.js +++ b/_archive/apps/samples/webview-samples/browser/main.js @@ -1,8 +1,8 @@ /** * Listens for the app launching then creates the window * - * @see http://developer.chrome.com/apps/app.runtime.html - * @see http://developer.chrome.com/apps/app.window.html + * @see https://developer.chrome.com/docs/extensions/reference/app_runtime + * @see https://developer.chrome.com/docs/extensions/reference/app_window */ chrome.app.runtime.onLaunched.addListener(function() { runApp(); @@ -11,7 +11,7 @@ chrome.app.runtime.onLaunched.addListener(function() { /** * Listens for the app restarting then re-creates the window. * - * @see http://developer.chrome.com/apps/app.runtime.html + * @see https://developer.chrome.com/docs/extensions/reference/app_runtime */ chrome.app.runtime.onRestarted.addListener(function() { runApp(); @@ -20,7 +20,7 @@ chrome.app.runtime.onRestarted.addListener(function() { /** * Creates the window for the application. * - * @see http://developer.chrome.com/apps/app.window.html + * @see https://developer.chrome.com/docs/extensions/reference/app_window */ function runApp() { chrome.app.window.create('browser.html', { diff --git a/_archive/apps/samples/webview-samples/declarative-web-request/README.md b/_archive/apps/samples/webview-samples/declarative-web-request/README.md index 727d9bcc30..4d31cedf78 100644 --- a/_archive/apps/samples/webview-samples/declarative-web-request/README.md +++ b/_archive/apps/samples/webview-samples/declarative-web-request/README.md @@ -1,4 +1,4 @@ -![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/master/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") +![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/main/_archive/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") # Declarative Web Request API @@ -26,9 +26,9 @@ top-right. ## Resources * [Declarative Web Request API](https://developer.chrome.com/extensions/declarativeWebRequest) -* [Webview](http://developer.chrome.com/apps/app_external.html#webview) -* [Permissions](http://developer.chrome.com/apps/manifest.html#permissions) +* [Webview](http://developer.chrome.com/apps/app_external#webview) +* [Permissions](http://developer.chrome.com/apps/manifest#permissions) ## Screenshot -![screenshot](/apps/samples/webview-samples/declarative-web-request/assets/screenshot_1280_800.png) +![screenshot](/_archive/apps/samples/webview-samples/declarative-web-request/assets/screenshot_1280_800.png) diff --git a/_archive/apps/samples/webview-samples/declarative-web-request/main.js b/_archive/apps/samples/webview-samples/declarative-web-request/main.js index 2a877a4766..f56a040146 100644 --- a/_archive/apps/samples/webview-samples/declarative-web-request/main.js +++ b/_archive/apps/samples/webview-samples/declarative-web-request/main.js @@ -1,8 +1,8 @@ /** * Listens for the app launching then creates the window * - * @see http://developer.chrome.com/apps/app.runtime.html - * @see http://developer.chrome.com/apps/app.window.html + * @see https://developer.chrome.com/docs/extensions/reference/app_runtime + * @see https://developer.chrome.com/docs/extensions/reference/app_window */ chrome.app.runtime.onLaunched.addListener(function() { runApp(); @@ -11,7 +11,7 @@ chrome.app.runtime.onLaunched.addListener(function() { /** * Listens for the app restarting then re-creates the window. * - * @see http://developer.chrome.com/apps/app.runtime.html + * @see https://developer.chrome.com/docs/extensions/reference/app_runtime */ chrome.app.runtime.onRestarted.addListener(function() { runApp(); @@ -20,7 +20,7 @@ chrome.app.runtime.onRestarted.addListener(function() { /** * Creates the window for the application. * - * @see http://developer.chrome.com/apps/app.window.html + * @see https://developer.chrome.com/docs/extensions/reference/app_window */ function runApp() { chrome.app.window.create( diff --git a/_archive/apps/samples/webview-samples/insert-css/README.md b/_archive/apps/samples/webview-samples/insert-css/README.md index fbe3031957..426f7f8dc3 100644 --- a/_archive/apps/samples/webview-samples/insert-css/README.md +++ b/_archive/apps/samples/webview-samples/insert-css/README.md @@ -1,20 +1,20 @@ -![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/master/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") +![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/main/_archive/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") # Insert CSS Sample that shows how to inject CSS into a -[webview](http://developer.chrome.com/apps/app_external.html#webview). The +[webview](http://developer.chrome.com/apps/app_external#webview). The user can adjust the regular expression used to match URLs for injection, and adjust the injected CSS itself. Navigation is only supported through following links within the webview. ## Resources -* [Webview](http://developer.chrome.com/apps/app_external.html#webview) -* [Permissions](http://developer.chrome.com/apps/manifest.html#permissions) +* [Webview](http://developer.chrome.com/apps/app_external#webview) +* [Permissions](http://developer.chrome.com/apps/manifest#permissions) ## Screenshot -![screenshot](/apps/samples/webview-samples/insert-css/assets/screenshot_1280_800.png) +![screenshot](/_archive/apps/samples/webview-samples/insert-css/assets/screenshot_1280_800.png) diff --git a/_archive/apps/samples/webview-samples/insert-css/main.js b/_archive/apps/samples/webview-samples/insert-css/main.js index 2a877a4766..f56a040146 100644 --- a/_archive/apps/samples/webview-samples/insert-css/main.js +++ b/_archive/apps/samples/webview-samples/insert-css/main.js @@ -1,8 +1,8 @@ /** * Listens for the app launching then creates the window * - * @see http://developer.chrome.com/apps/app.runtime.html - * @see http://developer.chrome.com/apps/app.window.html + * @see https://developer.chrome.com/docs/extensions/reference/app_runtime + * @see https://developer.chrome.com/docs/extensions/reference/app_window */ chrome.app.runtime.onLaunched.addListener(function() { runApp(); @@ -11,7 +11,7 @@ chrome.app.runtime.onLaunched.addListener(function() { /** * Listens for the app restarting then re-creates the window. * - * @see http://developer.chrome.com/apps/app.runtime.html + * @see https://developer.chrome.com/docs/extensions/reference/app_runtime */ chrome.app.runtime.onRestarted.addListener(function() { runApp(); @@ -20,7 +20,7 @@ chrome.app.runtime.onRestarted.addListener(function() { /** * Creates the window for the application. * - * @see http://developer.chrome.com/apps/app.window.html + * @see https://developer.chrome.com/docs/extensions/reference/app_window */ function runApp() { chrome.app.window.create( diff --git a/_archive/apps/samples/webview-samples/local-resources/README.md b/_archive/apps/samples/webview-samples/local-resources/README.md index c3174b9ec7..670b910f1e 100644 --- a/_archive/apps/samples/webview-samples/local-resources/README.md +++ b/_archive/apps/samples/webview-samples/local-resources/README.md @@ -1,4 +1,4 @@ -![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/master/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") +![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/main/_archive/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") # Package-Local Resources @@ -18,10 +18,10 @@ to particular `webview` partitions to access trusted package-local content. ## Resources -* [Webview](http://developer.chrome.com/apps/app_external.html#webview) -* [Permissions](http://developer.chrome.com/apps/manifest.html#permissions) +* [Webview](http://developer.chrome.com/apps/app_external#webview) +* [Permissions](http://developer.chrome.com/apps/manifest#permissions) * [Partitions](https://developer.chrome.com/apps/tags/webview#partition) ## Screenshot -![screenshot](/apps/samples/webview-samples/local-resources/assets/screenshot_1280_800.png) +![screenshot](/_archive/apps/samples/webview-samples/local-resources/assets/screenshot_1280_800.png) diff --git a/_archive/apps/samples/webview-samples/local-resources/main.js b/_archive/apps/samples/webview-samples/local-resources/main.js index a160f44a65..7f7f131df9 100644 --- a/_archive/apps/samples/webview-samples/local-resources/main.js +++ b/_archive/apps/samples/webview-samples/local-resources/main.js @@ -1,8 +1,8 @@ /** * Listens for the app launching then creates the window * - * @see http://developer.chrome.com/apps/app.runtime.html - * @see http://developer.chrome.com/apps/app.window.html + * @see https://developer.chrome.com/docs/extensions/reference/app_runtime + * @see https://developer.chrome.com/docs/extensions/reference/app_window */ chrome.app.runtime.onLaunched.addListener(function() { runApp(); @@ -11,7 +11,7 @@ chrome.app.runtime.onLaunched.addListener(function() { /** * Listens for the app restarting then re-creates the window. * - * @see http://developer.chrome.com/apps/app.runtime.html + * @see https://developer.chrome.com/docs/extensions/reference/app_runtime */ chrome.app.runtime.onRestarted.addListener(function() { runApp(); @@ -20,7 +20,7 @@ chrome.app.runtime.onRestarted.addListener(function() { /** * Creates the window for the application. * - * @see http://developer.chrome.com/apps/app.window.html + * @see https://developer.chrome.com/docs/extensions/reference/app_window */ function runApp() { chrome.app.window.create( diff --git a/_archive/apps/samples/webview-samples/multi-tab-browser/README.md b/_archive/apps/samples/webview-samples/multi-tab-browser/README.md index cb2396c6fa..d139b151cd 100644 --- a/_archive/apps/samples/webview-samples/multi-tab-browser/README.md +++ b/_archive/apps/samples/webview-samples/multi-tab-browser/README.md @@ -1,4 +1,4 @@ -![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/master/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") +![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/main/_archive/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") # Multi-Tab Browser @@ -8,9 +8,9 @@ API](https://developer.chrome.com/apps/tags/webview#event-newwindow) with the [User Agent API](https://developer.chrome.com/apps/tags/webview#method-setUserAgentOverride) for -[webviews](http://developer.chrome.com/apps/app_external.html#webview). The +[webviews](http://developer.chrome.com/apps/app_external#webview). The app combines the -[New Window User Agent Sample](https://github.com/GoogleChrome/chrome-app-samples/tree/master/samples/webview-samples/new-window-user-agent) +[New Window User Agent Sample](https://github.com/GoogleChrome/chrome-extensions-samples/tree/main/_archive/apps/samples/webview-samples/new-window) and the [Browser Sample](https://github.com/GoogleChrome/chrome-app-samples/tree/master/samples/webview-samples/browser). ## Features @@ -29,8 +29,8 @@ Sample](https://github.com/GoogleChrome/chrome-app-samples/tree/master/samples/w * [Webview New Window API](https://developer.chrome.com/apps/tags/webview#event-newwindow) * [User Agent API](https://developer.chrome.com/apps/tags/webview#method-setUserAgentOverride) -* [Webview](http://developer.chrome.com/apps/app_external.html#webview) -* [Permissions](http://developer.chrome.com/apps/manifest.html#permissions) +* [Webview](http://developer.chrome.com/apps/app_external#webview) +* [Permissions](http://developer.chrome.com/apps/manifest#permissions) ## Screenshot -![screenshot](/apps/samples/webview-samples/multi-tab-browser/assets/screenshot_1280_800.png) +![screenshot](/_archive/apps/samples/webview-samples/multi-tab-browser/assets/screenshot_1280_800.png) diff --git a/_archive/apps/samples/webview-samples/multi-tab-browser/main.js b/_archive/apps/samples/webview-samples/multi-tab-browser/main.js index 6668fd3fbc..450102f3f7 100644 --- a/_archive/apps/samples/webview-samples/multi-tab-browser/main.js +++ b/_archive/apps/samples/webview-samples/multi-tab-browser/main.js @@ -1,8 +1,8 @@ /** * Listens for the app launching then creates the window * - * @see http://developer.chrome.com/apps/app.runtime.html - * @see http://developer.chrome.com/apps/app.window.html + * @see https://developer.chrome.com/docs/extensions/reference/app_runtime + * @see https://developer.chrome.com/docs/extensions/reference/app_window */ chrome.app.runtime.onLaunched.addListener(function() { runApp(); @@ -11,7 +11,7 @@ chrome.app.runtime.onLaunched.addListener(function() { /** * Listens for the app restarting then re-creates the window. * - * @see http://developer.chrome.com/apps/app.runtime.html + * @see https://developer.chrome.com/docs/extensions/reference/app_runtime */ chrome.app.runtime.onRestarted.addListener(function() { runApp(); @@ -20,7 +20,7 @@ chrome.app.runtime.onRestarted.addListener(function() { /** * Creates the window for the application. * - * @see http://developer.chrome.com/apps/app.window.html + * @see https://developer.chrome.com/docs/extensions/reference/app_window */ function runApp() { chrome.app.window.create( diff --git a/_archive/apps/samples/webview-samples/new-window-user-agent/README.md b/_archive/apps/samples/webview-samples/new-window-user-agent/README.md index 16daf46f20..4de8606657 100644 --- a/_archive/apps/samples/webview-samples/new-window-user-agent/README.md +++ b/_archive/apps/samples/webview-samples/new-window-user-agent/README.md @@ -1,4 +1,4 @@ -![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/master/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") +![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/main/_archive/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") # New Window API @@ -8,9 +8,9 @@ API](https://developer.chrome.com/apps/tags/webview#event-newwindow) with the [User Agent API](https://developer.chrome.com/apps/tags/webview#method-setUserAgentOverride) for -[webviews](http://developer.chrome.com/apps/app_external.html#webview). The +[webviews](http://developer.chrome.com/apps/app_external#webview). The app combines the [New Window -Sample](https://github.com/GoogleChrome/chrome-app-samples/tree/master/samples/webview-samples/new-window) +Sample](https://github.com/GoogleChrome/chrome-extensions-samples/tree/main/_archive/apps/samples/webview-samples/new-window) and the [User Agent Sample](https://github.com/GoogleChrome/chrome-app-samples/tree/master/samples/webview-samples/user-agent) by supporting `Open link in new tab/window as...` via the [Context Menu @@ -32,9 +32,9 @@ Sample](https://github.com/GoogleChrome/chrome-app-samples/tree/master/samples/w * [Webview New Window API](https://developer.chrome.com/apps/tags/webview#event-newwindow) * [User Agent API](https://developer.chrome.com/apps/tags/webview#method-setUserAgentOverride) -* [Webview](http://developer.chrome.com/apps/app_external.html#webview) -* [Permissions](http://developer.chrome.com/apps/manifest.html#permissions) +* [Webview](http://developer.chrome.com/apps/app_external#webview) +* [Permissions](http://developer.chrome.com/apps/manifest#permissions) ## Screenshot -![screenshot](/apps/samples/webview-samples/new-window-user-agent/assets/screenshot_1280_800.png) +![screenshot](/_archive/apps/samples/webview-samples/new-window-user-agent/assets/screenshot_1280_800.png) diff --git a/_archive/apps/samples/webview-samples/new-window-user-agent/main.js b/_archive/apps/samples/webview-samples/new-window-user-agent/main.js index 2be391b263..d5438cddb4 100644 --- a/_archive/apps/samples/webview-samples/new-window-user-agent/main.js +++ b/_archive/apps/samples/webview-samples/new-window-user-agent/main.js @@ -1,8 +1,8 @@ /** * Listens for the app launching then creates the window * - * @see http://developer.chrome.com/apps/app.runtime.html - * @see http://developer.chrome.com/apps/app.window.html + * @see https://developer.chrome.com/docs/extensions/reference/app_runtime + * @see https://developer.chrome.com/docs/extensions/reference/app_window */ chrome.app.runtime.onLaunched.addListener(function() { runApp(); @@ -11,7 +11,7 @@ chrome.app.runtime.onLaunched.addListener(function() { /** * Listens for the app restarting then re-creates the window. * - * @see http://developer.chrome.com/apps/app.runtime.html + * @see https://developer.chrome.com/docs/extensions/reference/app_runtime */ chrome.app.runtime.onRestarted.addListener(function() { runApp(); @@ -20,7 +20,7 @@ chrome.app.runtime.onRestarted.addListener(function() { /** * Creates the window for the application. * - * @see http://developer.chrome.com/apps/app.window.html + * @see https://developer.chrome.com/docs/extensions/reference/app_window */ function runApp() { chrome.app.window.create( diff --git a/_archive/apps/samples/webview-samples/new-window/README.md b/_archive/apps/samples/webview-samples/new-window/README.md index 6ea60096c9..7cfabb41d1 100644 --- a/_archive/apps/samples/webview-samples/new-window/README.md +++ b/_archive/apps/samples/webview-samples/new-window/README.md @@ -1,11 +1,11 @@ -![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/master/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") +![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/main/_archive/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") # New Window API Sample that shows how to use the [New Window API](https://developer.chrome.com/apps/tags/webview#event-newwindow) for -[webviews](http://developer.chrome.com/apps/app_external.html#webview). The +[webviews](http://developer.chrome.com/apps/app_external#webview). The app behaves like a tabbed browser. When actions in we webview request a new tab or window, the browser responds appropriately. For example, clicking links with a foreign target opens a new tab in the foreground; ctrl+clicking @@ -29,9 +29,9 @@ that identify a different window open a new window. ## Resources * [Webview New Window API](https://developer.chrome.com/apps/tags/webview#event-newwindow) -* [Webview](http://developer.chrome.com/apps/app_external.html#webview) -* [Permissions](http://developer.chrome.com/apps/manifest.html#permissions) +* [Webview](http://developer.chrome.com/apps/app_external#webview) +* [Permissions](http://developer.chrome.com/apps/manifest#permissions) ## Screenshot -![screenshot](/apps/samples/webview-samples/new-window/assets/screenshot_1280_800.png) +![screenshot](/_archive/apps/samples/webview-samples/new-window/assets/screenshot_1280_800.png) diff --git a/_archive/apps/samples/webview-samples/new-window/main.js b/_archive/apps/samples/webview-samples/new-window/main.js index 2be391b263..d5438cddb4 100644 --- a/_archive/apps/samples/webview-samples/new-window/main.js +++ b/_archive/apps/samples/webview-samples/new-window/main.js @@ -1,8 +1,8 @@ /** * Listens for the app launching then creates the window * - * @see http://developer.chrome.com/apps/app.runtime.html - * @see http://developer.chrome.com/apps/app.window.html + * @see https://developer.chrome.com/docs/extensions/reference/app_runtime + * @see https://developer.chrome.com/docs/extensions/reference/app_window */ chrome.app.runtime.onLaunched.addListener(function() { runApp(); @@ -11,7 +11,7 @@ chrome.app.runtime.onLaunched.addListener(function() { /** * Listens for the app restarting then re-creates the window. * - * @see http://developer.chrome.com/apps/app.runtime.html + * @see https://developer.chrome.com/docs/extensions/reference/app_runtime */ chrome.app.runtime.onRestarted.addListener(function() { runApp(); @@ -20,7 +20,7 @@ chrome.app.runtime.onRestarted.addListener(function() { /** * Creates the window for the application. * - * @see http://developer.chrome.com/apps/app.window.html + * @see https://developer.chrome.com/docs/extensions/reference/app_window */ function runApp() { chrome.app.window.create( diff --git a/_archive/apps/samples/webview-samples/shared-script/README.md b/_archive/apps/samples/webview-samples/shared-script/README.md index 0dc7520766..bf1dbfba1b 100644 --- a/_archive/apps/samples/webview-samples/shared-script/README.md +++ b/_archive/apps/samples/webview-samples/shared-script/README.md @@ -1,4 +1,4 @@ -![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/master/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") +![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/main/_archive/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") # Accessing the main world with ``.executeScript() @@ -30,9 +30,9 @@ the script directly and *Correct injection* injects the script into a ## Resources * [Video about isolated worlds](https://www.youtube.com/watch?v=laLudeUmXHM) -* [Webview](http://developer.chrome.com/apps/app_external.html#webview) +* [Webview](http://developer.chrome.com/apps/app_external#webview) * [FOAM](http://foam-framework.github.io/foam/) ## Screenshot -![screenshot](/apps/samples/webview-samples/shared-script/assets/screenshot_1280_800.png) +![screenshot](/_archive/apps/samples/webview-samples/shared-script/assets/screenshot_1280_800.png) diff --git a/_archive/apps/samples/webview-samples/shared-script/main.js b/_archive/apps/samples/webview-samples/shared-script/main.js index 2c351a35e1..d361e446c7 100644 --- a/_archive/apps/samples/webview-samples/shared-script/main.js +++ b/_archive/apps/samples/webview-samples/shared-script/main.js @@ -1,8 +1,8 @@ /** * Listens for the app launching then creates the window * - * @see http://developer.chrome.com/apps/app.runtime.html - * @see http://developer.chrome.com/apps/app.window.html + * @see https://developer.chrome.com/docs/extensions/reference/app_runtime + * @see https://developer.chrome.com/docs/extensions/reference/app_window */ chrome.app.runtime.onLaunched.addListener(function() { runApp(); @@ -11,7 +11,7 @@ chrome.app.runtime.onLaunched.addListener(function() { /** * Listens for the app restarting then re-creates the window. * - * @see http://developer.chrome.com/apps/app.runtime.html + * @see https://developer.chrome.com/docs/extensions/reference/app_runtime */ chrome.app.runtime.onRestarted.addListener(function() { runApp(); @@ -20,7 +20,7 @@ chrome.app.runtime.onRestarted.addListener(function() { /** * Creates the window for the application. * - * @see http://developer.chrome.com/apps/app.window.html + * @see https://developer.chrome.com/docs/extensions/reference/app_window */ function runApp() { chrome.app.window.create('correct_injection.html', {'id': 'goodWindowID'}, diff --git a/_archive/apps/samples/webview-samples/user-agent/README.md b/_archive/apps/samples/webview-samples/user-agent/README.md index 5464f0c1fa..ef2086c911 100644 --- a/_archive/apps/samples/webview-samples/user-agent/README.md +++ b/_archive/apps/samples/webview-samples/user-agent/README.md @@ -1,10 +1,10 @@ -![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/master/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") +![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/main/_archive/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") # User Agent Override Sample that shows how to use the [webview -tag](http://developer.chrome.com/apps/app_external.html#webview) in an app to +tag](http://developer.chrome.com/apps/app_external#webview) in an app to create a browser with multiple personalities. The browser [overrides the user agent string](https://developer.chrome.com/apps/tags/webview#method-setUserAgentOverride) @@ -21,9 +21,9 @@ security and reliability of your application. ## Resources -* [Webview](http://developer.chrome.com/apps/app_external.html#webview) -* [Permissions](http://developer.chrome.com/apps/manifest.html#permissions) +* [Webview](http://developer.chrome.com/apps/app_external#webview) +* [Permissions](http://developer.chrome.com/apps/manifest#permissions) ## Screenshot -![screenshot](/apps/samples/webview-samples/user-agent/assets/screenshot_1280_800.png) +![screenshot](/_archive/apps/samples/webview-samples/user-agent/assets/screenshot_1280_800.png) diff --git a/_archive/apps/samples/webview-samples/user-agent/main.js b/_archive/apps/samples/webview-samples/user-agent/main.js index aafb35a9c5..a5891fdd2f 100644 --- a/_archive/apps/samples/webview-samples/user-agent/main.js +++ b/_archive/apps/samples/webview-samples/user-agent/main.js @@ -1,8 +1,8 @@ /** * Listens for the app launching then creates the window * - * @see http://developer.chrome.com/apps/app.runtime.html - * @see http://developer.chrome.com/apps/app.window.html + * @see https://developer.chrome.com/docs/extensions/reference/app_runtime + * @see https://developer.chrome.com/docs/extensions/reference/app_window */ chrome.app.runtime.onLaunched.addListener(function() { runApp(); @@ -11,7 +11,7 @@ chrome.app.runtime.onLaunched.addListener(function() { /** * Listens for the app restarting then re-creates the window. * - * @see http://developer.chrome.com/apps/app.runtime.html + * @see https://developer.chrome.com/docs/extensions/reference/app_runtime */ chrome.app.runtime.onRestarted.addListener(function() { runApp(); @@ -20,7 +20,7 @@ chrome.app.runtime.onRestarted.addListener(function() { /** * Creates the window for the application. * - * @see http://developer.chrome.com/apps/app.window.html + * @see https://developer.chrome.com/docs/extensions/reference/app_window */ function runApp() { chrome.app.window.create( diff --git a/_archive/apps/samples/webview-samples/webview/README.md b/_archive/apps/samples/webview-samples/webview/README.md index d32e723ff9..b7970393fd 100644 --- a/_archive/apps/samples/webview-samples/webview/README.md +++ b/_archive/apps/samples/webview-samples/webview/README.md @@ -1,4 +1,4 @@ -![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/master/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") +![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/main/_archive/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") # Webview explorer sample @@ -8,9 +8,9 @@ Sample to explore some of the APIs in the webview tag. ## APIs * [webview](https://developer.chrome.com/apps/tags/webview) -* [Runtime](http://developer.chrome.com/apps/app.runtime.html) -* [Window](http://developer.chrome.com/apps/app.window.html) +* [Runtime](https://developer.chrome.com/docs/extensions/reference/app_runtime) +* [Window](https://developer.chrome.com/docs/extensions/reference/app_window) ## Screenshot -![screenshot](/apps/samples/webview-samples/webview/assets/screenshot_1280_800.png) +![screenshot](/_archive/apps/samples/webview-samples/webview/assets/screenshot_1280_800.png) diff --git a/_archive/apps/samples/webview-samples/webview/main.js b/_archive/apps/samples/webview-samples/webview/main.js index 60cd18c944..e3f114755e 100644 --- a/_archive/apps/samples/webview-samples/webview/main.js +++ b/_archive/apps/samples/webview-samples/webview/main.js @@ -1,7 +1,7 @@ /** * Listens for the app launching then creates the window * - * @see http://developer.chrome.com/apps/app.window.html + * @see https://developer.chrome.com/docs/extensions/reference/app_window */ chrome.app.runtime.onLaunched.addListener(function() { chrome.app.window.create('index.html', { diff --git a/_archive/apps/samples/window-options/README.md b/_archive/apps/samples/window-options/README.md index 8af7618977..85acf4f6ea 100644 --- a/_archive/apps/samples/window-options/README.md +++ b/_archive/apps/samples/window-options/README.md @@ -1,4 +1,4 @@ -![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/master/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") +![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/main/_archive/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") @@ -14,8 +14,8 @@ This sample requires Chrome Version 35 or higher. ## Resources -* [Window](http://developer.chrome.com/apps/app.window.html) +* [Window](https://developer.chrome.com/docs/extensions/reference/app_window) ## Screenshot -![screenshot](/apps/samples/window-options/assets/screenshot_1280_800.png) +![screenshot](/_archive/apps/samples/window-options/assets/screenshot_1280_800.png) diff --git a/_archive/apps/samples/window-state/README.md b/_archive/apps/samples/window-state/README.md index 4ae304970b..62ddd9fc60 100644 --- a/_archive/apps/samples/window-state/README.md +++ b/_archive/apps/samples/window-state/README.md @@ -1,4 +1,4 @@ -![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/master/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") +![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/main/_archive/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") # Window State Sample @@ -9,8 +9,8 @@ and hidden states. Includes HTML5 requestFullscreen and app.window.fullscreen(). ## Resources * [Fullscreen Specification](http://dvcs.w3.org/hg/fullscreen/raw-file/tip/Overview.html) -* [Window](http://developer.chrome.com/apps/app.window.html) - +* [Window](https://developer.chrome.com/docs/extensions/reference/app_window) + ## Screenshot -![screenshot](/apps/samples/window-state/assets/screenshot_1280_800.png) +![screenshot](/_archive/apps/samples/window-state/assets/screenshot_1280_800.png) diff --git a/_archive/apps/samples/windows/README.md b/_archive/apps/samples/windows/README.md index 9e05761af7..d8bd1147bd 100644 --- a/_archive/apps/samples/windows/README.md +++ b/_archive/apps/samples/windows/README.md @@ -1,16 +1,16 @@ -![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/master/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") +![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-extensions-samples/main/_archive/apps/tryitnowbutton.png "Click here to install this sample from the Chrome Web Store") # Copycat Window -Sample that shows how to use the [window API](http://developer.chrome.com/apps/app.window.html) to create a window with a custom frame and manipulate its properties. +Sample that shows how to use the [window API](https://developer.chrome.com/docs/extensions/reference/app_window) to create a window with a custom frame and manipulate its properties. The app creates two windows, an "original" window and a "copycat" window. The copycat window mimics the position and minimize state of the original window, but it displays itself in an inverted fashion. ## APIs -* [Window](http://developer.chrome.com/apps/app.window.html) - +* [Window](https://developer.chrome.com/docs/extensions/reference/app_window) + ## Screenshot -![screenshot](/apps/samples/windows/assets/screenshot_1280_800.png) +![screenshot](/_archive/apps/samples/windows/assets/screenshot_1280_800.png) diff --git a/_archive/apps/samples/windows/main.js b/_archive/apps/samples/windows/main.js index 776817f698..561cedf79b 100644 --- a/_archive/apps/samples/windows/main.js +++ b/_archive/apps/samples/windows/main.js @@ -15,7 +15,7 @@ function reset() { /** * Initialise and launch the windows - * @see http://developer.chrome.com/apps/app.window.html + * @see https://developer.chrome.com/docs/extensions/reference/app_window */ function launch() { @@ -91,7 +91,7 @@ function launch() { /** * Minimises both the original and copycat windows - * @see http://developer.chrome.com/apps/app.window.html + * @see https://developer.chrome.com/docs/extensions/reference/app_window */ function minimizeAll() { @@ -100,5 +100,5 @@ function minimizeAll() { }); } -// @see http://developer.chrome.com/apps/app.runtime.html +// @see https://developer.chrome.com/docs/extensions/reference/app_runtime chrome.app.runtime.onLaunched.addListener(launch); diff --git a/_archive/mv2/api/document_scan/README.md b/_archive/mv2/api/document_scan/README.md index 22c61ca7af..d0e41d27ae 100644 --- a/_archive/mv2/api/document_scan/README.md +++ b/_archive/mv2/api/document_scan/README.md @@ -5,6 +5,6 @@ images. ## APIs -* [Document scanning API](https://developer.chrome.com/apps/document_scan) +* [Document scanning API](https://developer.chrome.com/apps/documentScan) * [Runtime](https://developer.chrome.com/apps/runtime) * [Window](https://developer.chrome.com/apps/app_window)