Skip to content

Instantly share code, notes, and snippets.

View syoichi's full-sized avatar

Syoichi Tsuyuhara syoichi

View GitHub Profile
@voluntas
voluntas / webrtc_for_work.rst
Last active November 6, 2024 03:49
仕事で WebRTC

仕事で WebRTC

日時:2023-01-15
作:@voluntas
バージョン:2023.1
url:https://voluntas.github.io/

この資料は以下の製品の宣伝を含みます。

diff --git xpi/chrome/content/library/utility.js xpi/chrome/content/library/utility.js
index 180c382..9520b19 100755
--- xpi/chrome/content/library/utility.js
+++ xpi/chrome/content/library/utility.js
@@ -872,7 +872,7 @@ function simpleRequest(url, opt) {
if (file instanceof IFile) {
// https://developer.mozilla.org/en-US/docs/Extensions/Using_the_DOM_File_API_in_chrome_code
- file = sendContent[key] = new File(file);
+ file = sendContent[key] = File.createFromNsIFile(file);
@mala
mala / autofill_ui.md
Last active January 19, 2017 07:02
暮らしに役立つITコラム ChromeやSafariの自動入力機能が、なぜ「悪いデザイン」なのか

見た目の上で、隠されているフィールドに対しても自動入力してしまうという問題が話題になっている(2017年1月)

のだけれど、この問題の歴史はとても古い。自分も調査したり問題を報告したりしているので、振り返ってみる。

2012年の話

2012年4月のShibuya.XSS #1 https://atnd.org/events/25689 で、Hamachiya2が発表した

@ailispaw
ailispaw / model.scrapbox.tbrl.js
Last active January 6, 2020 13:09
Taberareloo: Scrapbox Model
// ==Taberareloo==
// {
// "name" : "Scrapbox Model"
// , "description" : "Post to scrapbox.io"
// , "include" : ["background", "content"]
// , "match" : ["*://scrapbox.io/*"]
// , "version" : "0.4.4"
// , "downloadURL" : "https://gist.githubusercontent.com/ailispaw/2f791f1fb49087861e3dce05fae8aedc/raw/model.scrapbox.tbrl.js"
// }
// ==/Taberareloo==
@mala
mala / a.md
Last active June 30, 2020 15:13
Chrome ExtensionのLive HTTP Headersの調査(CoolBar.Pro導入 Extensionが何を行うかの調査)

Chrome ExtensionのLive HTTP Headersを調査した。Firefox用のものではない。Firefox用のものではない。

11/7追記

English version: https://translate.google.com/translate?sl=ja&tl=en&js=y&prev=_t&hl=ja&ie=UTF-8&u=https%3A%2F%2Fgist.github.com%2Fmala%2Fe87973df5029d96c9269d9431fcef5cb&edit-text=&act=url

Summary in english.

@mala
mala / cors_killer.js
Last active November 4, 2016 17:58
responseURLに対応していないライブラリを使っているときにクロスドメイン通信を無理やり止める
// responseURLに対応していないライブラリを使っているときにクロスドメイン通信を無理やり止める
// https://github.com/jquery/jquery/pull/1615
// responseURL
// https://bugzilla.mozilla.org/show_bug.cgi?id=998076
// https://bugs.chromium.org/p/chromium/issues/detail?id=377583
// https://bugs.webkit.org/show_bug.cgi?id=136938
new function(){
@marcysutton
marcysutton / chrome-a11y-experiment-instructions.md
Last active January 31, 2023 22:07
Enable Chrome Accessibility Experiment

NOTE: This is no longer an experiment! You can use the accessibility inspector in Chrome Devtools now, including a fantastic color contrast inspection tool. Read more: https://developers.google.com/web/updates/2018/01/devtools#a11y


Just like any good element inspector helps you debug styles, accessibility inspection in the browser can help you debug HTML and ARIA exposed for assistive technologies such as screen readers. There's a similar tool in Safari (and reportedly one in Edge) but I like the Chrome one best.

As an internal Chrome experiment, this tool differs from the Accessibility Developer Tools extension in that it has privileged Accessibility API access and reports more information as a result. You can still use the audit feature in the Chrome Accessibility Developer Tools, or you could use the aXe Chrome extension. :)

To enable the accessibility inspector in Chrome stable:

// ==Taberareloo==
// {
// "name" : "Patches for Flickr"
// , "description" : "Patches for Flickr"
// , "include" : ["content"]
// , "match" : ["*://www.flickr.com/*"]
// , "version" : "0.0.1"
// , "downloadURL" : "https://gist.githubusercontent.com/mono0x/06ef86dbc7618d0c4082c4f34561d272/raw/patch.extractor.flickr.tbrl.js"
// }
// ==/Taberareloo==
@ailispaw
ailispaw / model.wikihub.rac.tbrl.js
Last active January 6, 2020 13:10 — forked from dlwr/model.wikihub.rac.tbrl.js
投稿先に https://rac.wikihub.io を追加するtaberarelooパッチ
// ==Taberareloo==
// {
// "name" : "WikiHub Model for RAC Articles"
// , "description" : "Post an article to https://rac.wikihub.io/articles"
// , "include" : ["background"]
// , "version" : "0.0.2"
// , "downloadURL" : "https://raw.githubusercontent.com/dlwr/model.wikihub.rac.tbrl.js/master/model.wikihub.rac.tbrl.js"
// }
// ==/Taberareloo==
// ==Taberareloo==
// {
// "name" : "WikiHub Model for RAC Articles"
// , "description" : "Post an article to https://rac.wikihub.io/articles"
// , "include" : ["background"]
// , "version" : "0.0.2"
// , "downloadURL" : "https://gist.githubusercontent.com/raw/87ea769b18357185f27babb24e471a31/model.wikihub.rac.tbrl.js"
// }
// ==/Taberareloo==