Addon sdk content scripts

  • 1,034 views
Uploaded on

 

More in: Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
1,034
On Slideshare
0
From Embeds
0
Number of Embeds
3

Actions

Shares
Downloads
1
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. Add-on SDK Content ScriptsMy experience of Find at AppShopperIrvin @ MozTW (Mozilla Taiwan Community)
  • 2. Purchase iPhone,The beginning ofmoney spent.
  • 3. Fun apps often expensive
  • 4. Price often drop afterthe day you brought.
  • 5. 1 2 3It cost 3 steps to track the app price
  • 6. LazyThe Mother of Great Innovation
  • 7. Content Scripts!
  • 8. Add-on Builder + SDK + jQuery love jQuery, hate restart, don’t do cmd job.
  • 9. Fork Me!http://go.sto.tw/bldr-app
  • 10. upload jQuery, create a js file.A strange bug appears that it only accept specific ver. and non-minify jQuery library.
  • 11. hook-up the script.js and website in main.js by setting URL regex in PageMod API rubular.com: A great place to fix your non-working regex.
  • 12. Do something evil at script.js!
  • 13. Test on the flyGet final .XPI package The revision++ whenever you saved. Orz...
  • 14. It Just Work!Had not been reviewed yet.Queue position 55 of 243 after 2/3 month...
  • 15. If your content script need somespecific API function of Add-on SDK...Check the post at Mozilla Add-ons Blog:Security Mechanisms in the Add-on SDK
  • 16. irvinfly irvin.sto.tw www.slideshare.net / irvinfly