Signet: Sign your work in the development console
github.hubspot.com
github.hubspot.com
[00:06:34.535] SyntaxError: Using //@ to indicate source map URL pragmas is deprecated. Use //# instead @ http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js:1
[00:06:35.468] Use of Mutation Events is deprecated. Use MutationObserver instead. @ chrome://divxhtml5/content/script.js:109
Chrome is good, though.I'd love to add additional support for Firefox. But unfortunately, Firebug doesn't support the full set of CSS properties in the console that are needed to pull off this effect.
That being said, we're open to PRs if you have a solution for FF!
Edit: We're working on the SyntaxError and MutationEvent warnings you mentioned. Follow here: https://github.com/HubSpot/signet/issues/3
(Apparently they modified it to degrade to that after you posted.)
Wouldn't it be both exciting and useful to be able to open the console of nearly any site and immediately get a link to the code or author on GitHub? Sometimes these sorts of links aren't appropriate on the site itself, especially in the case of contract/client work.
That being said, performance is very important. Which is why we kept Signet small. signet.min.js (https://github.com/HubSpot/signet/blob/master/signet.min.js) is 5kb (smaller if gz) and has no dependencies.
As one anecdotal data point: I recently added Signet to my personal site and it had no impact on page load time.
Not to take away from your work, I think it's interesting and well made. It does adds something to your sites (like an Easter egg, like putting comments in the html source).
However, the small cost you pay for including Signet gets you a more convenient and more discoverable way for a developer visiting your site to learn about you, the author. Is the cost worth that slight convenience? Definitely a toss up and will depend on the application and its needs.
Given that the audience for this output is fellow developers, I'd think we're all capable of reading the meta tag directly without the need for an additional script.
5kb might not seem like much, but where speed is of importance every request counts and every byte matters.
EDIT: Sorry if I seem too negative. It's a cool hack and I can see why it'd be fun to add to personal websites.
Edit: I'll answer my own question: https://developers.google.com/chrome-developer-tools/docs/co...
They use the %c control character in the log message to emit css, including embedded icons