JS Picking: Find JavaScript Variables in Your Application
JS Picking is a free Chrome add-on developed by Emile Sonneveld. It falls under the category of Browsers and is classified as an Add-ons & Tools subcategory.
This add-on is designed to help developers find variable paths in their JavaScript applications. It offers two methods for accomplishing this task. The first method is called "Value Search" and allows users to search for a specific value of a variable, providing them with information on how to access that variable. The second method is called "Change Search" and is useful for identifying variables that are modified after a specific action is performed.
The "Change Search" option works by serializing all accessible elements within the window object into a large JavaScript string. This string is captured twice, once before a user interaction and once after. By comparing the two captured strings, a simple diff algorithm is used to identify variables that have changed. Additionally, users have the option to perform a third capture to remove noisy variables from the selection that changed without user interaction.
JS Picking is a valuable tool for developers who need to navigate through complex JavaScript applications and identify variables quickly and accurately.