From c172a99e5ce0fa96aed699cc362b3cbc2b64ddb3 Mon Sep 17 00:00:00 2001 From: "scratchaddons-bot[bot]" <73682299+scratchaddons-bot[bot]@users.noreply.github.com> Date: Sun, 26 May 2024 01:53:26 +0000 Subject: [PATCH] Force update localization files (2024-05-26T01:53:26.100Z) --- .../docs/develop/userscripts/debugging-userscripts.md | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/ko/markdown/docs/develop/userscripts/debugging-userscripts.md b/ko/markdown/docs/develop/userscripts/debugging-userscripts.md index 822c0319..b5a3108c 100644 --- a/ko/markdown/docs/develop/userscripts/debugging-userscripts.md +++ b/ko/markdown/docs/develop/userscripts/debugging-userscripts.md @@ -13,14 +13,7 @@ It's not necessary to reload the extension by going to `chrome://extensions` whe ### Use the addon.* API from the console -For development, you may choose to expose the `addon` object as a global variable, so that it can be accessed within the browser console. - -```js -export default async function ({ addon, console }) { - window.addon = addon; - // ... -} -``` +The `addon` object is accessible within the browser console through the `__addon` global variable when at least one addon is running. ### Set breakpoints with the "debugger" keyword