/** * Creates all custom menus from user.js. * menu entries in user.js will look like this: * user_pref('copyurlplus.menus.1.label', 'Copy URL + Title (Wiki)'); * user_pref('copyurlplus.menus.1.copy', '[[%URL% %TITLE%]]'); * where 1 is an incremental value, .label is the label of the menu * and .copy is the format. with %URL% being the current document's URL, * %TITLE% its title and %SEL% the current selection */ /** * Copy URL definitions for Bloggers and Wiki freaks. */ user_pref('copyurlplus.menus.1.label', 'Copy URL (HTML Link)'); user_pref('copyurlplus.menus.1.copy', 'LINKTEXT'); user_pref('copyurlplus.menus.2.label', 'Copy URL (Wiki Link)'); user_pref('copyurlplus.menus.2.copy', '[[%URL%]]'); user_pref('copyurlplus.menus.3.label', 'Copy URL + Title (HTML Link)'); user_pref('copyurlplus.menus.3.copy', '%TITLE%'); user_pref('copyurlplus.menus.4.label', 'Copy URL + Title (Wiki Link)'); user_pref('copyurlplus.menus.4.copy', '[[%URL% %TITLE%]]'); user_pref('copyurlplus.menus.5.label', 'Copy URL + Sel (HTML Link)'); user_pref('copyurlplus.menus.5.copy', '%SEL%'); user_pref('copyurlplus.menus.6.label', 'Copy URL + Sel (Wiki Link)'); user_pref('copyurlplus.menus.6.copy', '[[%URL% %SEL%]]'); user_pref('copyurlplus.menus.7.label', 'Copy URL + Title + Sel (HTML Link / Quote)'); user_pref('copyurlplus.menus.7.copy', '%TITLE%\n
\n%SEL%\n\n');