TAILIEUCHUNG - Hacking Firefox ™ More Than 150 Hacks, Mods, and Customizations phần 10

và các biểu hiện mới được mô tả trong các phần sau. Mỗi thư mục có chứa một phần gói chrome, trong trường hợp nội dung của chúng tôi, da / cổ điển, và miền địa phương / en-US, phải có một tập tin có tên . Mỗi tập tin mô tả nội dung của thư mục gói và | 380 Part VI Creating Extensions and Themes If there are still things you don t completely understand you can do some real hacking you can modify the extension comment things out and add your own pieces of code. You can add dump and alert calls to examine the value ofJavaScript variables see how different functions are invoked and so on. Also you can use the technique that allows you to modify an installed extension described earlier in this chapter to make the hacking process more efficient. One of the greatest benefits of knowing how extensions work is being able to tweak existing extensions to better suit your needs. You can modify the extension UI to make it prettier or to change some of its JavaScript code to slightly adjust its behavior. If you believe that your changes might be useful to anyone besides yourself you can contact the extension author and suggest these improvements or even offer your help with the project. If you want to use in your own work the code you found in another extension or to modify it in any way first make sure that the extension license allows it. Many extensions have licenses that allow you to use their code in your extension under different conditions. Always credit the original authors for their work. Many licenses specifically require that but this is really a matter of courtesy. Also if you think that an existing extension is missing some pieces of functionality consider contacting the author and suggesting a contribution to the existing extension before creating your own derivative product. Summary This chapter explained everything you need to know to start writing your own extensions. You should now know how extensions are created packaged and distributed how different parts of Firefox can be customized using extensions and where to get further documentation and help. Once you see how simple the process of creating Firefox extensions is you might be tempted to start writing your own extension right away. Don t resist this .

TÀI LIỆU MỚI ĐĂNG
31    239    0    20-04-2024
34    211    1    20-04-2024
20    248    2    20-04-2024
15    183    0    20-04-2024
23    154    0    20-04-2024
1    111    1    20-04-2024
41    115    0    20-04-2024
TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.