hirose30's たんぶらー

otsune:

dara-j:

組み込みLDRize風キーバインドがウザすぎるので、超場当たり対応。
こんなグリモンスクリプト作ってwww.tumblr.com/*で最初に実行させる。


var s = document.createElement("script");
s.innerHTML = "window.document.onkeydown = null;";
document.body.appendChild(s);

やっと快適なdsbdが戻ってきた。

Dashboardのソースを見ると

    // Key commands
    document.onkeydown = function(e) { 
        if (! key_commands_are_suspended) {
ってのがあるから、window.document.key_commands_are_suspended = true; すりゃ良さそうではあるな。

  1. fuck-yeah-tumblr reblogged this from nemoi
  2. bbunshin reblogged this from bittanmomen
  3. taborger reblogged this from dara-j
  4. lookalikelike reblogged this from otsune
  5. scudroid reblogged this from otsune
  6. joker1007 reblogged this from nagas
  7. kudan reblogged this from yuiseki
  8. takaoka reblogged this from yuiseki and added:
    組み込みLDRize風キーバインドがウザすぎるので、超場当たり対応。 こんなグリモンスクリプト作ってwww.tumblr.com/*で最初に実行させる。 var s = document.createElement("script");...
  9. nagas reblogged this from yuiseki
  10. takeoba reblogged this from otsune
  11. yuiseki reblogged this from 3mz
  12. tksa4883 reblogged this from fudan10u and added:
    私も全く同じようにDashboardの頭にとばされる現象に悩んでいます。 上記のスクリプトの置き方がよくわかりません。どうしたらいいか、もう少し詳しく教えていただけませんか?...
  13. tumblarity0 reblogged this from dara-j
  14. redb reblogged this from syoichi
  15. asma reblogged this from otsune
  16. dara-j reblogged this from utatane and added:
    —— そっか、unsafeWindowでアクセスするんだっけ。Firefoxのここらへんの作り勉強せねばなぁ。
  17. aplpne reblogged this from hisajun
  18. hisajun reblogged this from yuria
  19. utatane reblogged this from otsune and added:
    unsafeWindow.key_commands_are_suspended=true; で
  20. bittanmomen reblogged this from syoichi
  21. fudan10u reblogged this from otsune and added:
    Tumblr の Dashboard を j 連打で読み進めていると、突然(タイミング的には、 AutoPagerize で次のページを読み込む直前/直後あたり?)、 Dashboard の頭に飛ばされる現象が起きていたのですが、この...
  22. bardiche-side-b reblogged this from otsune
  23. ichimonji reblogged this from otsune
  24. yuria reblogged this from otsune and added:
    組み込みLDRize風キーバインドがウザすぎるので、超場当たり対応。 こんなグリモンスクリプト作ってwww.tumblr.com/*で最初に実行させる。 var s = document.createElement("script");...
  25. oshiire reblogged this from syoichi
  26. syoichi reblogged this from otsune
  27. kai-kuchiki reblogged this from otsune
  28. hyasuura reblogged this from otsune
  29. markie reblogged this from otsune
  30. nj2s reblogged this from otsune
  31. otsune reblogged this from dara-j and added:
    とりあえずCodeRepos lang/javascript/userscripts/tumblr_dashboard_jk_disable.jsに置いた。第三者の添削大歓迎
  32. 3mz reblogged this from otsune
  33. dara-j reblogged this from otsune and added:
    —— おお、ほんとだ。 s.innerHTML = "window.key_commands_are_suspended=true;" でもつぶせるなぁ。
  34. hirose30 reblogged this from otsune
  35. scudroid reblogged this from otsune
  36. toypop reblogged this from otsune
  37. atmk reblogged this from otsune
  38. ichimonji reblogged this from otsune
  39. nom-nel reblogged this from nemoi