ToDesktop Docs
← Back to ToDesktop.com
Search
⌃K
Links
Welcome
App Options
🚀
Launch at Startup (macOS, Windows only)
🔗
Defining Internal URLs
⛓
App Protocols and Deeplinks
Customizing your app
💄
Add Custom CSS to your Desktop App
👩💻
Add Custom Javascript to your Desktop App
🖱
Make a Transparent Titlebar Draggable (macOS only)
Javascript API
Introduction
ℹ
Info
🔗
Navigation
🖨
Printing
🏷
App Icon Badging, Bouncing and Progress Bar
👂
Menubar Window Events
⌨
Global Shortcuts
🧰
Tray
👉
Push Notifications with Firebase Cloud Messaging
👀
Find In Page
🗺
Window
🎛
Application Menu
🎚
Context menu
Recipes
🌟
Send Native Notifications
🖥
Separate Desktop Logic from Web App Logic
👀
Add Find In Page to your Desktop App
↔
Add Browser Controls to your Desktop App
💾
Storing Data
☁
Download Links for your Website
💗
Enlarging Menubar Window
🖲
Menubar Icon
🔴
Capture Screen Contents
👪
Building a Slack-like sidebar
🔒
Google OAuth Screen
Powered By GitBook

Introduction

Our Javascript API is the bridge between your web application and the underlying ToDesktop app. You can use it to access features which are available to desktop apps but not web apps.
When your web app is running as a desktop app with ToDesktop, we expose a window.todesktop object.
The features provided through this are fairly minimal at the moment but we are constantly adding to them.
Customizing your app - Previous
Make a Transparent Titlebar Draggable (macOS only)
Next - Javascript API
Info
Last modified 1yr ago
Copy link