kishikawakatsumi/JavaScriptBridge · GitHub 前にiOS 7から導入されたJavaScriptCore.frameworkを使ってUIKit標準のクラスを操作する話を書きました。 JavaScriptだけでiOSのUIを書いてみる - 24/7 twenty-four seven JavaScriptCoreを使ってJavaScriptからObjective-Cのオブジェクトを操作するのは、あらかじめJSExportプロトコルで公開しておく必要があるなど、あまり実用的ではありませんでしたが、このライブラリを導入すうることで、そういった事前準備がすでに済んでいる状態で使いはじめることができます。 また、JavaScriptからObjective-Cのクラスを定義できるなどいくつかの拡張を加えてあり、UIViewControllerのサブクラスで画面を定
作成:2013/12/24 更新:2014/11/01 Web制作 > サイト構築中にちょっとした動きをのせたいとき、どうすれば良かったのか何度も調べ直さないといけないことがあります。今回はJavaScript で初心者の方でもすぐ活用できるように、使用頻度の高いリファレンスと基本知識をまとめました。 エンジニア速報は Twitter の@commteで配信しています。 もくじ できること 1.リファレンス スクリプトの書き方/基礎知識 2.スクリプトの記述 3.文字列/特殊文字 4.演算子 5.オブジェクト 6.プロトタイプ 7.イベント 8.変数 9.if文 10.配列 11.連想配列 12.正規表現 13.デバッグ できること 1.リファレンス JavaScriptは開発環境の準備がほぼ不要で、コピー&ペーストだけで、動くものができてしまいます。他の言語だとそう簡単にはいきません。サ
外部ページに移動するときに リファラー(HTTP_REFERER)をサーバに送りたくない時があります。そんなときは次のやり方で行けます。 動作サンプルはこちら https://pgmemo.tokyo/data/filedir/569_1.html Safari5 , Chrome で有効な方法 <a href="data:text/html;charset=utf-8,%3Chtml%3E%0D%0A%3Cscript%20%3E%0D%0Alocation.replace(%22http%3A%2F%2Fwww.teria.com%2F~koseki%2Fmemo%2Freferrer%2Fview.php%22)%3B%0D%0A%3C%2Fscript%3E%0D%0A%3C%2Fhtml%3E%0D%0A">リファラ消し</a> Firefox4 , IE6,7,8 で有効な方法
鋭意開発中のエントリーから少々経ちますが、やっと公開です。 [MyScripts]関連記事作成スクリプト鋭意開発中! 似た物として関連記事を作成するDraftpadアシストを昨年末に公開しましたが、今回のスクリプトはコピーしたものから選択出来る様にしています。 [Draftpad]関連記事作成アシストであるCreateRerationEntryを公開します! 選択出来る様になってるということはコピーしたものが見えるようになってるわけです。 画面で選択しそれをクリプボードにコピーできたり、関連記事としてHTMLを生成し出力アプリを選択できるようにしてあります。 スクリプト ClipboardUtilAny ClipboardWatch Copy2Clipboard 以上、3つのスクリプトが必要になります。 実際に使用する前に 実際に使う前に一部変更をして欲しい箇所があります。 Clipboa
iWorkspaceにアプリをアイコン付きで登録します。 バージョン情報 初版、 ver.1.2、 ver.1.3、ver.1.4、ver.2.0。 更新箇所 アイコンの角丸指定を検索結果画面から変更できるように変更。URLスキームライブラリ参照機能追加。URLスキームライブラリの作成にはPCが必要です。詳しくはこの記事の後半を参照して下さい。この機能を利用するとiWorkspaceにアプリを追加するときアプリ名とアイコンの他、起動用URLスキームも登録できます。 iWapp(ver.1.2)をMyScriptsにインポート 検索結果画面 スクリプトを起動しアプリ名を入力すると検索結果画面に移ります。URLスキームの書かれた行はURLスキームライブラリ参照機能有効時のみ表示されます。 左上のセレクトメニューでアイコンの角丸指定を切り替えます。名前に「 -r」が付いているものはアイコンが角丸
文中の文字列を一括変換。所定の言い回しに統一するときとか、変換パターンが決まってるとき、手作業だと面倒だしミスも起こりやすい。でもアシストを使えば、そんな心配も要りません。DraftPadが代わりに作業してくれる。だけど、そのアシストを作るのが難儀なんだよなあ。というわけで: DraftPad 1.5.3 対象デバイス: all カテゴリ: 仕事効率化 価格: ¥0 販売業者: Manabu Uenoパターン化された置換アシストを自動生成するアシスト。 Title: GREP Maker URL: draftpad://self/web?source=<script>location.href%3D%22draftpad%3A%2F%2F%2Fwebdelegate%3Fload%3Df%22%3Bf%3Dfunction%28q%29%7Bt%3Dq.t%3Bs%3Dq.s%3Bp%
URLスキームを使えることが前提です。 iOS6になってから始めるURLスキームの調べ方 aHomeIcon - Favorite Home Screen Icon 2.0カテゴリ:ユーティリティ,仕事効率化 価格:\170 (Mokten Pty Ltd)ホーム画面に置くアイコンを自分の好みに変えてしまうアプリ。よくあるじゃないですか。上みたいなの。こういうのって、わざわざ専用アプリを使わなくても手作業で作れるんです。知ってました? 僕も初めて知りました。ネット上で情報を集めたらDraftPadだけで出来そうだったので、実験しちゃいました。 iPhone構成プロファイルで設定ショートカットを作る覚え書き DraftPad 1.5.6カテゴリ:仕事効率化,ユーティリティ 価格:無料 (Manabu Ueno)アシストは、URLDecodeを応用したものになります。 Title: アイコン作
DraftPadアシスト一覧 📝 書き込む Dropboxを開く [IMPORT] TextDropApp経由でDropboxのファイルを開きます。 解説 HTMLタグ打ち [IMPORT] 選択範囲をHTMLタグ(strong)で挟みます。 解説 表作成 [IMPORT] MobTabGenを使い、Tableタグの表を作ります。 解説 瞬間日記 [IMPORT] 瞬間日記にテキストを転送します。 解説 ArrowNoteで編集 [IMPORT] ArrowNoteにテキストを転送します。 解説 TweetATOKで編集 [IMPORT] TweetATOKにテキストを転送します。 解説 PostEverに貼り付け [IMPORT] PostEverにテキストを貼り付けます。 解説 kickシステム [IMPORT] カーソル行にタグを付け、Evernoteに保存します。
画像スライダーに関することならお任せ!なjQueryプラグイン「Slider Kit... 次の記事 ≫:かなりいい感じのWordPressテーマ20 Allan Jardine | Reflections | Visual Event ページに仕込まれたJavaScriptのイベントを全部見える化出来るブックマークレット「Visual Event」。 JavaScript で開発していて、jQuery等の各種フレームワークや、on〜 を使ってイベントを埋め込むことは多いですね。 後になって、どこにイベントがあるのかをすぐ見える化し、どのような処理が記述されているのか、確認することのできるブックマークのご紹介です。 当サイトにはそれほどイベントが組み込まれていませんので、Yahoo! Japanのトップページで試してみます。 ブックマークレットを起動すると、グレーアウトされ、エレメントの上
photo credit: h.koppdelaney via photopin cc 通知センターはiOSユーザーの聖なる領域であり、使う上で各々のポリシーがあると思います。だが実際、そんなものはターンオーバーとサニーサイドアップで論争を繰り広げるくらいどうでもいいこと。 でもそんなこと言ってもわいは嫌なんや、のっぺりした通知センターは嫌なんや。 MyShortcuts+Viewer 1.5(¥85) カテゴリ: ユーティリティ, 仕事効率化 販売元: Takeyoshi Nakayama - Takeyoshi Nakayama(サイズ: 0.3 MB) 全てのバージョンの評価: (43件の評価) iPhone/iPadの両方に対応 MyScripts 2.5(¥350) カテゴリ: 仕事効率化, ユーティリティ 販売元: Takeyoshi Nakayama - Takeyoshi
photo credit: Kasaa via photopin cc 今は亡き神アプリ、BoardMemoをご存知だろうか。そのアプリはiOS5がでて、通知センターの利用法を盛んに模索しているときに生まれ、その後そんな使い方はあかんで、ということでAppleに粛清されたアプリなのだ。 今宵その神アプリ(に似た感じの)が復活する。 MyScripts 2.5(¥350) カテゴリ: 仕事効率化, ユーティリティ 販売元: Takeyoshi Nakayama - Takeyoshi Nakayama(サイズ: 2.3 MB) 全てのバージョンの評価: (17件の評価) iPhone/iPadの両方に対応 MyShortcuts+Viewer 1.5(¥85) カテゴリ: ユーティリティ, 仕事効率化 販売元: Takeyoshi Nakayama - Takeyoshi Nakayama(
rebuild_userChrome.uc.xul ver.2012/02/25 23:00 rebuild_userChrome.uc.xul 264行目を以下のように置き換える for(var i = 5, len = menupopup.childNodes.length; i < len; i++){ rebuild_userChrome.uc.xul 616~643行目を以下のように置き換える <menupopup id="main-menubar"> <menu label="userChrome.js" accesskey="u" insertbefore="menu_preferences" > <menupopup id="userChromejs_options" onpopupshowing="userChromejs.onpopup()" context=""> <
7 เว็บ เกมส์ออนไลน์ เว็บชั้นนำที่ดีที่สุด แตกง่าย จ่ายจริง Masayo สล็อตเครดิตฟรี แตกง่าย เกมยิงปลา ออนไลน์ เกมตกปลา ตุ่มโมะ candy crush เกม สล็อต เล่นง่าย เล่นแทงบอล เล่นแทงหวย ได้เงินจริงทุกยอด Lucky Neko สล็อตออนไลน์แมวเหมียว นำโชค UFABET เครดิตฟรี ไม่รับมิได้แล้ว กับโปรเด็ด โบนัสปัง UFABET เครดิตฟรี สิ่งดีๆที่พวกเรามีให้เฉพาะสมาชิกเว็บไซต์เดิมพันออนไลน์ของเราเท่านั้น สำหรับคนใดที่เป็นสมาชิกใหม่
Firefox 17から無効となるE4X。 Greasemonkeyスクリプト内でCDATAを使用している方も多いと思います。(私もその一人でした) そんな方のために、CDATAを文字列の配列に変換するスクリプトを作りました。 変換サンプル var hoge=<><![CDATA[ <pre class="hoge" id='fuga'> hoge </pre> ]]></>.toString(); var fuga=<><![CDATA[<pre class="hogehoge" id='fugafuga'> fuga </pre>]]></>; var fuga=<><![CDATA[<pre class="bar" id='bar'>bar</pre>]]></>.toString(); var hoge=['<pre class="hoge" id=\'fuga\'>', ' ho
データ分析から導き出されたインサイト無しにAI(人工知能)の活用は始まりません。私たちは、各業界知識とデータ・アナリティクス技術を駆使しデータドリブン経営を強力に支援します。 データ、アナリティクス、AIは企業にとって競合他社との差別化を図るかつてないほど大きな要因になっています。今日の経営幹部が効率を向上しながら新たな収益源を開拓し、新しいビジネスモデルをタイムリーに構築する方法を模索する中、価値を生み出し成長を続ける企業には「データ活用」という共通項があります。私たちは、無数のデータから企業にとって本当に必要なデータを活用するための方法を知っています。 将来を見据えたオペレーション体制を備えている企業の半数以上(52%)は、すでにデータとアナリティクスを大規模に活用しています。データとAIに関する取り組みをビジネス戦略に沿って実施することで投資利益率を迅速に最大化し、最終的にはAIをビ
自分用備忘録:そのうちエラー処理の getCacheErrorCallback について書き加えるつもりです 2009-05-22 AutoPagerize バージョンアップに従い、内容をアップデート 2009-05-09 version 0.0.37 に対応 目標 処理の詳細を理解し、どこで何をやっているのかを理解する 資料 Greasemonkey 組み込み関数については GreaseSpot(英語) Ideas - O'Reilly Media(英語) PDFダウンロード(内容が少し古い) http://diveintogreasemonkey.org/(英語) http://firefox.geckodev.org/index.php?plugin=attach&pcmd=open&file=dive_gm.pdf&refer=Greasemonkey(日本語翻訳版) 全体の流れ
Come creare il miglior gioco da casinò Quando si progetta un gioco da casinò, la prima cosa che devi considerare è che tipo di gioco sarà. Ci sono molti diversi tipi di giochi da casinò, dalle slot e video poker ai giochi da tavolo e giochi di carte. Dovrai decidere quale tipo di gioco si adatta meglio alle tue esigenze. Ogni tipo di gioco ha il proprio set di regole e regolamenti, quindi dovrai a
Yahoo Pipes の新しいモジュール「Fetch page module」を使って、AutoPagerize の SITEINFO を JSONP 化しました。 先に結果 Pipes http://pipes.yahoo.com/miya2000/siteinfo Pipes(for JSON) http://pipes.yahoo.com/miya2000/siteinfo_json JSONP http://pipes.yahoo.com/miya2000/siteinfo_json?_render=json&_callback=callback 注意: JSON 出力 なのに「\」が「\」に変換される Pipes のバグ。 JavaScript 側で元に戻す必要あり。 いきなり直った!? それとも勘違いだった!? 道のり 最初に作ったもの http://pipes.ya
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く