Better HN
topnewbestaskshowjobs
Log inSign up

__debug__

11 karma · joined Dec 31, 2013 (12y ago) · 14 submissions

Submissions

comment 10y ago · link · parent

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/

comment 11y ago · link · parent

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.

comment 11y ago · link · parent

The project itself can be found at https://github.com/danielstjules/blankshield

4.

Reverse tabnabbing attack demo and prevention(danielstjules.github.io ↗)

8 points · by __debug__ · 11y ago · 4 comments

5.

Show HN: Jsinspect – Detect copy-pasted and structurally similar code(github.com ↗)

4 points · by __debug__ · 12y ago · discuss

comment 12y ago · link · parent

Check out https://github.com/grosser/pru

comment 12y ago · link · parent

I just started something similar for javascript a couple days ago: https://github.com/danielstjules/pjs

comment 12y ago · link · parent

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.

9.

Pjs: Pipeable JavaScript. Another utility like sed/awk/wc but with JS(github.com ↗)

3 points · by __debug__ · 12y ago · 1 comment

10.

Show HN: Buddy.js – Magic number detection for JavaScript(github.com ↗)

7 points · by __debug__ · 12y ago · discuss

comment 12y ago · link · parent

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!

12.

Pattern-emitter: Node event emitters with support for regular expressions(github.com ↗)

1 points · by __debug__ · 12y ago · 1 comment

comment 12y ago · link · parent

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.

14.

Stringy - A multibyte string manipulation lib for PHP(github.com ↗)

3 points · by __debug__ · 12y ago · 1 comment