Check out "Do you speak JavaScript?" - my latest video course on advanced JavaScript. Language APIs, Popular Concepts, Design Patterns, Advanced Techniques In the Browser (If you are lazy jump to this section to learn what is this article all about.) Remember The Island movie from 2005. I watched it again these days and I realized that the old sci-fi titles start with something really interesting.
Create web extensions that work in Safari and other browsers.
Chrome Extension の Content Scripts を使うと Greasemonkey のようにウェブサイトを加工できて便利だが、 Content Scripts はページのロード後に一度だけ実行されるので、 github.com のように pjax を利用しているサイトではページ遷移後に期待通り実行されないことがある。 pjax は pjax:success などの独自イベントを発火するが、 Content Scripts はサンドボックス環境で実行されるので pjax が発火するイベントを Listen することができない。しかし DOM の変更時に発生するイベントを Listen することはできる。 DOM の変更を検知するためには DOMSubtreeModified が利用できるが、このイベントは DOM Level 3 で deprecated になってしまっ
Browser extensions vs your JavaScript What do browser extensions do? From the Chrome Extension Docs... Content scripts are JavaScript files that run in the context of web pages. By using the standard DOM, they can read details of the web pages the browser visits, or make changes to them. JS is running in your app that you didn't put there. Show me proof! DIY JS error logging window.onerror = funct
The product of a web developer with a little too much caffeine Today you can download jsshell 2.0. This new version has a lot of new features. If you’ve never used it before you might want to watch the jsshell screencast to help you get caught up on what it does and how it works. Basic Usage Here are the basics of using jsshell. CTRL + Enter: Runs all of the code in the current window. You can als
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く