TAILIEUCHUNG - Hacking Firefox - part 8

Ban đầu, tôi chỉ muốn nhân bản cho các mở rộng quản lý các chức năng của nút Install mà Bradley đã tạo ra cho người quản lý Theme. Phiên bản đã nhanh chóng xây dựng và phát hành. Kể từ đó, Tập menu, phím tắt, và địa phương hóa quốc tế đã được thêm vào. | 72 Part I Basic Hacking Originally I just wanted to mirror for the Extension Manager the Install button functionality that Bradley had created for the Theme Manager. Version was quickly built and released. Since then File menu shortcut keys and international localizations have been added. The basic idea is that you can now choose how you can install local copies of extensions and themes. For extensions it automatically defaults to an .xpi file type and for themes it defaults to a .jar file type making it easier to distinguish those files from others you might have saved in the same directory. I NOte I You can download the Local Install extension at http extensions . Hacking via Earlier in this chapter we introduced the manual steps for creating your own style sheets to change the appearance of the main browser windows and supporting screens. This section dives into how to use customizations already packaged with some very popular themes. Several themes have subskins style sheet modifications that are wrapped up into a CSS file which is then bundled within the theme s JAR file. Doing this makes certain features optional and allows the themes themselves to be hacked from the . A generic example of a entry that uses a subskin looks like this import url chrome global skin subskin This tells the browser to look for the file in the registry theme s chrome path of global skin subskin . If you switch themes and no file is found the browser continues without failure. Remember that in your file all import lines for subskins or other features need to be put above the namespace line if it exists. You have to check each individual theme to see if it has subskins and determine the exact pathand filenames needed to take advantage of the modifications. The following sections cover some of the popular themes and some of the available hacks. Hacking Aaron Spuler s Themes Aaron

TỪ KHÓA LIÊN QUAN
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.