I am testing my project in iOS 8 preview 2. And now I faces two problems about the uiwebview I use the following code to inject my script NSString *jsCLOSE_WINDOW = @"function CLOSE_WINDOW(){ document.location ='mySchema://FUNCTION=CLOSE_WINDOW'; }"; [self.webView stringByEvaluatingJavaScriptFromString:jsCLOSE_WINDOW]; in "-(void)webViewDidFinishLoad:(UIWebView *)webView" and get the response in -
Javascript Tips for Non-Specialists By: Charlie Fiskeaux II 23 Aug '12 Level: This article reviews a fundamental concept or principle This article reviews an intermediate concept or principle This article reviews an advanced concept or principle This article expresses an opinion or just a downright rant Javascript coding is a rather unique skill in the web development world—if you are not experien
MENURespond to your user’s browser features.Modernizr tells you what HTML, CSS and JavaScript features the user’s browser has to offer.Add your detects Development build What is Modernizr?It’s a collection of superfast tests – or “detects” as we like to call them – which run as your web page loads, then you can use the results to tailor the experience to the user. Why do I need it?All web develope
The jQuery library and virtually all of its plugins are contained within the jQuery namespace. As a general rule, global objects are stored inside the jQuery namespace as well, so you shouldn't get a clash between jQuery and any other library (like prototype.js, MooTools, or YUI). That said, there is one caveat: by default, jQuery uses $ as a shortcut for jQuery. Thus, if you are using another Jav
2009-11-12 ナビ子記法について追記しました 本文 今日は、amachangさんの記事 http://d.hatena.ne.jp/amachang/20071010/1192012056 を 1mm だけ掘り下げ、IE 以外のブラウザでも document へのアクセスを速くする方法がないか、色々試してみます。 # 記事自体はずいぶん前に書き上げてたけど、公開するの忘れてたんだな。 C系を追加しました。C系は「ネストしたスコープからグローバル変数にアクセスするとどうなるか?」がテーマです。 試したこと 以下は様々な方法で document へのアクセス速度を計測します。 A系では、非日常的な方法で測定し、B系では実際の用法に近い形で測定します。C系では何重にもネストしたスコープから、グローバル変数にアクセスするとどうなるかを測定します。 A系 A0 は、素の document に
かねてより試してみたかったGreaseMonkeyスクリプト「AutoPagerize」が非常に便利だったのでWedata未登録のSITEINFOを書いてみました。 AutoPagerize用SITEINFO var SITEINFO = [ { name: 'ブラック会社に勤めてるんだが、もう俺は限界かもしれない', url: '^http://ueharasan\.y\.ribbon\.to/html/', // Unicodeエスケープ前の文字列 (Wedata登録時はエスケープしなくてもOK) // nextLink: '//a[starts-with(text(),"次") or contains(text(),"進む")][1]', nextLink: '//a[starts-with(text(),"\u6B21") or contains(text(),"\u9032\u3
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く