333ywb
火狐狸
火狐狸
  • UID27284
  • 注册日期2008-12-03
  • 最后登录2024-04-20
  • 发帖数119
  • 经验134枚
  • 威望0点
  • 贡献值140点
  • 好评度4点
  • 社区居民
  • 忠实会员
阅读:1362回复:3

【已解决】730b3下一些脚本失效,麻烦情修复,谢谢

楼主#
更多 发布于:2020-01-14 13:20
以下脚本部分失效,麻烦大神修复,谢谢!@lonely_8
//定义firefox的功能
            configs: [
                //常用功能
                {name: '打开文件',subdir: '常用功能',command: "BrowserOpenFileWindow();",image: 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAv0lEQVQ4jc2TIQ7CQBBFe6iKymaDrOglSLCEO1TUIZpWrMVxAVA1YDE4ktWtILRd9tuPAQJhW9gqJnlu5s2I+R4AGmMOWuvQG1MAuFjPqWpFAM54ABikPifLkHmZEQCllBRCfOVN8CAuIu5PO+pOs7m0vfQKgtTnbDWlMYZt07kJ4iLi9rih1tfB7VZBXmasztXg1l6BqhW79rdBqyBJEqfhD4EQ4g8EY3gKbNiara/8mgkXgTVUTqfbBE4pvNcNewXq3i7Rq+4AAAAASUVORK5CYII='},
                {name: '保存网页',subdir: '常用功能',command: "saveBrowser(gBrowser.selectedBrowser);", image: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAACXBIWXMAAA7DAAAOwwHHb6hkAAAAB3RJTUUH3gQGCSkYbPAS0QAAABh0RVh0U29mdHdhcmUAUGFpbnQuTkVUIHYzLjM2qefiJQAAALRJREFUOE/Nk8sKwjAURAsFwY0rEXz8lL/uH7hz1w8QH3NiplwvzcLqwoHTm2TCJE3TTurFQWzFrkLb0I/+RizEKMyLeIh75ZbAo54E/lEsRRHJTECuWdH3AoSUnRDAALrWmpV9KmFrOnMCEGN7GjEgbjHiMapFn/N7C/hEYwCPnwXwCoM4N8DzF5kMaB1ilOf8UQD3+6uAfJFWr2ZTMYDFSwon60s0dZFM9JlfduDfeQZd/wS3sV44I2/dIQAAAABJRU5ErkJggg==" },                
                {name: '隐私浏览', subdir: '常用功能',command: "OpenBrowserWindow({private: true});",image: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAyUlEQVQ4je3RIUzDQBjF8V9CMotEoTCYufopBBqLx1ZOYiZn0JVIVC0WXTuJm6mqmpmY6Dt2CYIESXjJ9a7/vn7fvTv+hJ6wRocPTNhnfg+fcMCA1/gfsIIjtmgLiC5SfIPrsCZsiz6F58cvNcInbgJKhBHPlXEd3xgPLLGTnPeBh2T7qh7tMz/GI76+VH+p4JBd1NHK+1A16Mzn5iod7n4KXGmVfy4LaALawAVus7s260W+tYn3reHS+Wom8wF1Gbtkn/AW77+iE6SaONczlmqVAAAAAElFTkSuQmCC" }, 
                {name: '安全模式',subdir: '常用功能',command: "safeModeRestart();", image:'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAiElEQVQ4je3SwQ3CMAxA0SfEBgwRdsiJVboIXDtVOdAdGILOEA5YqAVUlJYjX4rkyPm2E4UHHUrl6owo6imwWSBO2K6c4qt8xGnOWX2Ff4EfFjijqfCacJ4FDsi4IM2IKc7kcN7IuKKN/fgjtZHLY+H1DXrsMeAWHVPEQ+T6mQkn7GLcPuKP3AFx9yRXZKxe2QAAAABJRU5ErkJggg=='},            
                {name: 'Cookie',subdir: '常用功能',command: "window.open('chrome://browser/content/preferences/siteDataSettings.xul', 'Browser:Cookies', 'chrome,resizable=yes');",image: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAlUlEQVQ4jcWSQQrDIBBFJ6EnKC7iokjdiTcOzAmCB8iiniL3+d2IMSagqQU/KA7634yjRL01EBFaIS0AjGnEzkNqC6kt2PlqcDwolEGIEdZF7+NukkTDaZOdh1AGQpnaKyBO7Dymt42mrA+4GEdAMIPXDbxuICJIbUtV7IDny5yyJI0sVzAvH+SvUNGHHfCj8Jev3FdfBE9YlSEhiGUAAAAASUVORK5CYII=" },
                {name: '证书管理',subdir: '常用功能',command: "window.open('chrome://pippki/content/certManager.xul', 'mozilla:certmanager', 'chrome,resizable=yes,all,width=830,height=400');",image: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAYdEVYdFNvZnR3YXJlAFBhaW50Lk5FVCB2My4zNqnn4iUAAAFJSURBVDhPrZOxSsRAFEUzmxmIwhrBNewXqNWCxWJKhf0Ev0C0E8HWRqwtRPBLrP0UG3GxtFMWXYjnZmdHJ4lWXjhM8t59b14mSfJfqmDexBgT6MirJii6mUz2DazAql+NT/1UdwPMPWvtDKYiTdNnQWpn4QhqN1Ax9AeDjXGWZaeMfkL42LMtjyQfihtoTHacw7tg17dfeNUmrK0GetZcSej5eCTFfT6PJmBUNdCBdRUfwC2es+Gw2FKxfMRaDTRBs/gcZlBZm1bO2UffRL5Wg+arcvAEdTHnUq941VSKzwDKBhZ4nd/F3Is7GPnroE+IvjR2unLOPTSKP2APpqCabukZoV8UmyM1ISTzC1wo/6eWxZCX5XidSS4J78IhHMkjkW9/3gpC+AfyfE0HqXGv4R5uIPh0HeSDFpxftYNIa8NCdXzpS5Ik+QIDqX6cveUBEAAAAABJRU5ErkJggg==" },
                {name: '密码管理',subdir: '常用功能',command: "window.open('chrome://passwordmgr/content/passwordManager.xul', 'Toolkit:PasswordManager', 'chrome,resizable=yes');", image: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAz1BMVEUAAAAAAAAAAAAAAAAAAABEREBEREBEREAAAAAAAABEREBEREBEREBEREBEREAABwcBGiMEHCQHHyk4ODQAAAAAERgEW3sAFyABAQEEaY0AWHgAGiMJCQkEQVYAGiMGExgEhbMAHSgHGCAEWXgANUkANEYAZYsAEBYACAgAAAAAAAAAAAAAAAAKLz4EWHcFBQUDFRwAJjMAFh4ADxQAAAAEBAMEBAQBAQEEeKMEXHsEtPQEXHwAXoAEtfUAuv4AXX8As/QAu/8Ad6ICAgIAhbR1ngrjAAAANHRSTlMAPsTFOwEEBXk9CQoCDQ8jw9ubCxHu/tp2+P2MX/LWqvXAmfDo9/rxHx5MbAdp8ITd76zPMd9xLAAAAKNJREFUGFdFzLtuwlAQhOF/9gKNJShMRRMJyV2ak7z/E1iipkibCiqiCAnZh+LYyVb7aXZWUuF/zpLNAClVE/VhVgAy0ysARZ8AUm3Gg5FOqvUHoJvfrfUXSwSZi3eSNAVr3uukL43Geh9hNvjRqM/Wj3D3wYP6bP9ccuTB4oOO35K2wZ9/U9JFNkOnN+39PkIqjMLuqv62BzInIDfbTRY+2vYCMAwteRZBCIsAAAAASUVORK5CYII=" },
                {name: '清除痕迹',subdir: '常用功能',command: "window.open('chrome://browser/content/sanitize.xul', 'Toolkit:SanitizeDialog', 'chrome,resizable=yes');",image: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAb1BMVEUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABt6r1GAAAAJHRSTlMAzVQUwp9BDPLTp3dwPDUsGPvn39vHtauPh35sZlxMJB736yg/5R5gAAAAhklEQVQY01WPVxLDMAhEJatb1b07TsL9z5goGmckPoB5DAuL7InKoE1VAkLBlESMsKKD8QzVMDagLpITaB3u/mIPCdJRExg+Eqjgyac1Tli/RRDaap5jcxIv02k9/WoY6J6WNPsmvyGLb92BI4H2HrsbvJWovegyF2a5XrhwpTS2hSW+pNc/dQcGVNn7bGYAAAAASUVORK5CYII=" },
                {name: '更新历史',subdir: '常用功能',command: "window.open('chrome://mozapps/content/update/history.xul', 'Update:History', 'chrome,resizable=yes');",image: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAABNVBMVEUAAAAAAAA2Rks4R0o3SEo2R0s/Pz8Af382R0k1Rkg3Rko2SEo2SEguRUU3R0o3SEo3SEg3REk3RkU3R0s3SEk3SEo3R0g3REtEREA5Rko3SEo2SEtEREBEREBEREA3Rko1SEo8S0pEREAfZGI1R0c1Rkg4SEhEREA3R0g4Rkg6RkVEREAajZYbjpkZmZk4RUg3RkkbjZkbjJUcipIdiZEajZYbjpcZjZcajppHR0Q3Rkg3SEoci5MajpcbjJdPT003SEo2R0kajZgajpgcjY03SEg3R0o3R0k2RkovT08zMzM2Rkk3SEg1SEo1Rkk3Rks1SEk2RkozREQzTEw1Rko4SEg4R0k7RUQ6Skk2SEg3R0o1SEo3Rko0S0skJCI4SEo4R0g1SEo3SEo1SEs4Rks3SEobjplNLMNvAAAAZXRSTlMAAS9WXD0IAmvg8YwOC7mzVichQZj63SUBOvRWDQ8C498SBAQr9pwFjvkWCaaDCjlTU8HDw8Dr41YQ/XfCwOEF/naifwkuUov4EAWVPPdaM+XcDwq1vF8vIEad+9kiAmve7YVRNgFv0LsAAADHSURBVBhXY2QAAUYw+AVmAjE7I2MMkFrKyPgFLMDLGL6KEQpeSgAFJEGs/0yPGJhkQSygWuWfYD4DgwpEQIIFymeQ4wIJSAh/+i/AyHgJyP8nbHaa0RBsmMFFxhNy/xhlgExDRq6fHD8Nbnx++4/xvzJIi9K3FwxOjIy3gHwmdYWHQDNegM0D8R+5Q6z12gbluzIzbwUK+DAyXgDz/YHyx4ACwYyCH2BO380F0hLHyMgKpP4wruYW/gNyKRfrbyb7BYnPtoFYANlFO1r+sFJfAAAAAElFTkSuQmCC" },
lonely_8
非常火狐
非常火狐
  • UID30273
  • 注册日期2009-09-03
  • 最后登录2022-08-09
  • 发帖数733
  • 经验469枚
  • 威望0点
  • 贡献值86点
  • 好评度147点
  • 社区居民
  • 忠实会员
1楼#
发布于:2020-01-14 14:10
xul 都改成 xhtml
333ywb
火狐狸
火狐狸
  • UID27284
  • 注册日期2008-12-03
  • 最后登录2024-04-20
  • 发帖数119
  • 经验134枚
  • 威望0点
  • 贡献值140点
  • 好评度4点
  • 社区居民
  • 忠实会员
2楼#
发布于:2020-01-14 15:03
lonely_8:xul 都改成 xhtml回到原帖
谢谢大神问题已解决!
withero
小狐狸
小狐狸
  • UID37110
  • 注册日期2011-08-29
  • 最后登录2024-03-21
  • 发帖数45
  • 经验64枚
  • 威望0点
  • 贡献值14点
  • 好评度0点
  • 社区居民
3楼#
发布于:2020-02-07 17:19
请教下,你的UC是怎样启用的,好像现在之前的方法好像都不行了。包括调用userChrome.xml的
www.helup.com
游客

返回顶部