Web Inspector

Allows you to inspect web pages

As of 2024-12-19. See the latest version.

Author
Dan WL (DanWL)
Ratings
0 0 0
Version
1.1.2.7
Created
2024-12-15
Updated
2024-12-19
Size
28.9 KB
License
MIT
Applies to
All sites

This userscript defines a function on the web page you visit
For the function to do anything, use this bookmarklet:
javascript:(function(){WEB_INSPECTOR();})();
A bookmarklet is essentially a regular browser bookmark/favorite but with a JavaScript URL
It may take a few seconds for the page the bookmarklet opens to load due to processing the entire web page.

Features:

  • HTML syntax highlighting
  • Limited CSS syntax highlighting
  • Code folding
  • Color previews for certain CSS properties

Some mobile browsers are missing the ability to access the web inspector that you'd find on a desktop browser. Some browser extensions for web inspecting exist but not all of them work or are non-free. This userscript alongside the bookmarklet changes that.