lmachens / overwolf-debug-issue

Example demonstration of Overwolf debug_url issue

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Example for debug_url issue. See Overwolf Discussion.

Setup

First, install dependencies and run the server:

npm install
npm start

Now, load this app as unpackaged extension.

Please open Dev Tools for Console errors and logs. Both issues only happen if debug_url is set in manifest.json. To test the differences, you can toggle this line.

Overwolf not ready

On first start, Overwolf doesn't seems to be ready if debug_url is set. You can reproduce this issue by disable, enable and launch the app. If you reload the window in the developer tools, the error is gone.

Uncaught ReferenceError: overwolf is not defined at main.js:3

Load media

If you try to load media via overwolf:// or file:///, it is blocked if debug_url is set. I placed a test.mp4 in this folder which was recorded with the overwolf replay api. Please move this file to your Overwolf video folder.

About

Example demonstration of Overwolf debug_url issue


Languages

Language:HTML 87.8%Language:JavaScript 12.2%