From 94fa42c1f9d2539fbcf45e4bf1b89e734a3a6113 Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Sun, 29 Apr 2012 03:01:27 +0900 Subject: [PATCH] add ext view-page-source --- _keysnail.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/_keysnail.js b/_keysnail.js index 4898c0c..9781c5d 100644 --- a/_keysnail.js +++ b/_keysnail.js @@ -158,6 +158,10 @@ plugins.options["twitter_client.use_jmp"] = true; //////////////////////////////////////////// // my ext +ext.add('view-page-source', function(){ + window.content.location.href = "view-source:" + window.content.location.href; +}, 'view page source'); + ext.add('my-setpref', function(){ util.setPrefs( {