Last active
October 26, 2025 21:31
-
-
Save 0xBruno/f9a2e5de7a618754a6794ac16c69b8c4 to your computer and use it in GitHub Desktop.
Enumerate CefSharp JS to .NET bindings
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| for (const key of Object.keys(window)) { | |
| const value = window[key]; | |
| const type = (value != null && typeof value.toString === 'function') | |
| ? value.toString() | |
| : Object.prototype.toString.call(value); | |
| if(type instanceof Promise){ | |
| console.log(`${key}: ${await window[key].toString()}`); | |
| } | |
| } |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Based on this https://blog.darkforge.io/cef/cefsharp/cefenum/thick-client/.net/2025/05/21/CefSharp-Enumeration-With-CefEnum.html