__debug__
Re:About rel=noopener
on Monday April 25, 2016 @12:25AM (#11562515)
Agreed. And while rel=noopener works in newer browsers (Chrome 49, Opera 36), I've previously found a need to patch this behavior across the board. Here's a little library I wrote: https://github.com/danielstjules/blankshield I also highlight the impact of "reverse tabnabbing" here: http://danielstjules.github.io/blankshield/
Re:Reverse tabnabbing attack demo and prevention
on Monday February 09, 2015 @03:58AM (#9020260)
Google has a pretty good description: https://sites.google.com/site/bughunteruniversity/nonvuln/ph...
I think the biggest problem with this attack is that many don't believe it to be possible. And why should they, given the inconsistent browser behavior.
Re:Reverse tabnabbing attack demo and prevention
on Monday February 09, 2015 @02:50AM (#9020111)
The project itself can be found at https://github.com/danielstjules/blankshield
Show HN: Jsinspect – Detect copy-pasted and structurally similar code
Re:Show HN: Pythonpy – the swiss army knife of the command line
on Sunday August 10, 2014 @11:54PM (#8161859)
Check out https://github.com/grosser/pru
Re:Show HN: Pythonpy – the swiss army knife of the command line
on Sunday August 10, 2014 @11:54PM (#8161857)
I just started something similar for javascript a couple days ago: https://github.com/danielstjules/pjs
Re:Pjs: Pipeable JavaScript. Another utility like sed/awk/wc but with JS
on Sunday August 10, 2014 @10:28PM (#8161662)
I made this simple command line tool for quickly writing map+reduce operations on datasets with JavaScript. I think it might be useful for occasional use, since I'm not a fan of using awk for anything non-trivial.
Pjs: Pipeable JavaScript. Another utility like sed/awk/wc but with JS
Show HN: Buddy.js – Magic number detection for JavaScript
Re:Pattern-emitter: Node event emitters with support for regular expre...
on Tuesday February 25, 2014 @09:58AM (#7297907)
Here's a small lib I made this past weekend. I wanted to be able to listen to patterns for a specific module, but most implementations I found weren't that consistent with EventEmitter. Most had differences in behaviour when emitting events, handling exceptions, lacked support for domains, etc. So this is a quick attempt at keeping things consistent with, and inheriting from lib/events.js.
Hope this might prove to be useful!
Pattern-emitter: Node event emitters with support for regular expressions
Re:Stringy - A multibyte string manipulation lib for PHP
on Tuesday December 31, 2013 @01:49PM (#6992112)
Thought I'd share a library I made a few months ago, and which has received some contributions since. It's inspired by underscore.string.js, and can be used via method chaining or a static class. It was mostly designed to help simplify working with multibyte strings in the language.