beagle.js is a collection of lightweight JavaScript functions designed for quick and simple inspection of web pages. Each function is designed to be copy-pasted directly into a browser's console, giving instant insights into various aspects of the loaded webpage.
Please be aware that the provided functions are designed for quick insights rather than comprehensive analysis. They may not account for every edge case or intricacy of web page structure.
- Navigate to the web page you wish to inspect.
- Open your browser's developer tools.
- Navigate to the 'Console' tab.
- Copy the contents of
beagle.js
file from this repository and paste it into the console. PressEnter
. Invoke it withBeagle.functionName();
Scours the webpage for common points that might be susceptible to injections such as input fields, buttons, and more. Returns a table-format report of all elements discovered with their respective properties.
Identifies all anchor () tags on the webpage, categorizing them based on their URLs. Returns a table-format report detailing each link's URL, anchor text, and a flag indicating if it's external.
If you have suggestions for additional scripts or improvements to existing ones, please open an issue or submit a pull request!
This project is open source and available under the MIT License.