https://github.com/danfarrow/pre-tag-bookmarklet
Bookmarklet to inject an HTML <pre> tag at the beginning of a page, helpful for reading unformatted PHP error messages
https://github.com/danfarrow/pre-tag-bookmarklet
Last synced: 18 days ago
JSON representation
Bookmarklet to inject an HTML <pre> tag at the beginning of a page, helpful for reading unformatted PHP error messages
- Host: GitHub
- URL: https://github.com/danfarrow/pre-tag-bookmarklet
- Owner: danfarrow
- Created: 2012-11-15T14:59:28.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2020-06-30T10:36:18.000Z (almost 6 years ago)
- Last Synced: 2025-12-26T21:56:21.734Z (5 months ago)
- Language: JavaScript
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
pre-tag-bookmarklet
===================
I made this to solve a particular problem I had while working on a Zend Framework site. I'm leaving it here for posterity!
My app was displaying some very long error stack traces which were getting clipped. This bookmarklet prepends a \
tag to the innerHTML of the body element.
Refer to pre-tag-bookmarklet.js to install as a bookmarklet - I tried to display a bookmarklet-able link here but it broke markdown :(