ã¡ãã£ã¨é·ãã®ããã¯ãã¼ã¯ã¬ãããæ¸ãã¨ããæ®éã«ã¨ãã£ã¿ã§æ¸ããã ãã©ããã®å¾ãã©ã¦ã¶ã§ä½¿ãã'javascript:'å½¢å¼ã«å¤æããã®ãããã©ããããªãã£ã¦æã£ã¦ããã©ãããåããããªãã¨èãã¦ã人ãããã¿ããã ã åç·¨éå¯è½ãªbookmarklet ç§ä¸¸ãã¯ãã§ããæãã«è§£æ±ºãã¦ããããããã¨ã©ã¼ã³ã³ã½ã¼ã«ã§ã¨ã©ã¼ã¨ãªã£ãè¡ãä½è¡ç®ãªã®ããåããããããã¯ããã ãã£ãããªã®ã§Rubyã§æ¸ãç´ãã¦ã¿ãã JavaScriptã³ã¼ããããã¯ãã¼ã¯ã¬ããç¨ã«ãã©ã¼ããããã #!/usr/bin/env ruby ARGF.each_line(rs = nil) do |buf| printf "javascript:%s\n", buf.gsub(/\s+$/, ""). gsub("%", "%25"). gsub("\n", "%0A").gsub("\t", "%09") end
{{#tags}}- {{label}}
{{/tags}}