GREASEMONKEY(          )
• • •       JavaScript•  Chrome    Opera•  HTML• •  Autopager• 
GREASEMONKEY            	•  Firefox•   •   •  CSS  •          js   (jQuery   )•  Chrome
•                                *****.user.js• •    // ==UserScript==•    // @name                    hello_world•    // ...
•  // Google                                        	 •  var input = $("#lst-ib")•         .attr("value","Hello World(Grea...
•  http://www.google.co.jp/
•  DOM•  Firebug•      •  GM_log()     •  alert()
• 
// ==UserScript==// @name                   hello_world// @namespace                        http://hoge.com/// @descriptio...
Upcoming SlideShare
Loading in …5
×

GREASEMONKEY

763 views

Published on

Published in: Technology, Design
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
763
On SlideShare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
7
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

GREASEMONKEY

  1. 1. GREASEMONKEY( )
  2. 2. • • •  JavaScript•  Chrome Opera•  HTML• •  Autopager• 
  3. 3. GREASEMONKEY •  Firefox•  •  •  CSS •  js (jQuery )•  Chrome
  4. 4. •  *****.user.js• •  // ==UserScript==•  // @name hello_world•  // @namespace http://hoge.com/•  // @description Greasemonkey •  // @include http://www.google.co.jp/*•  // @require http://ajax.googleapis.com/ajax/libs/jquery/1.6/jquery.min.js•  // @version 1.0•  // ==/UserScript==•  /* */• 
  5. 5. •  // Google •  var input = $("#lst-ib")•  .attr("value","Hello World(Greasemonkey)");// •  // input •  input.after(•  // •  input.clone().css({•  "background": "#000",// •  "color": "#FFF",// •  })•  );
  6. 6. •  http://www.google.co.jp/
  7. 7. •  DOM•  Firebug•  •  GM_log() •  alert()
  8. 8. • 
  9. 9. // ==UserScript==// @name hello_world// @namespace http://hoge.com/// @description Greasemonkey // @include http://www.google.co.jp/*// @require http://ajax.googleapis.com/ajax/libs/jquery/1.6/jquery.min.js// @version 1.0// ==/UserScript==// Google var input = $("#lst-ib") .attr("value","Hello World(Greasemonkey)");// GM_log(" ");// input input.after( // input.clone().css({ "background": "#000",// “color”: “#FFF”,// }));$("#hplogo").css("background", "url(http://k.yimg.jp/images/top/sp/logo.gif)");

×