An open API service indexing awesome lists of open source software.

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

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 :(