Giter Site home page Giter Site logo

firefoxcustomize's Introduction

FirefoxCustomize

Ryan 的 Firefox 自定义资源收藏夹

Want to support this project?

[ Paypal Me ] [ Buy me a coffee ]

成品预览

截图

制作 Firefox 便携版本 / Create your own portable Firefox.

  1. 使用 RunFirefox https://github.com/benzBrake/RunFirefox

  2. 使用 libportable https://sourceforge.net/projects/libportable/files/Tools/portable_bin.7z

RunFirefox 与 libportable的区别

RunFirefox 是引导器,原理是利用 Firefox 的 -profile 参数,不是真的便携,但是支持 Firefox 自动更新,无需操心,libportabe是补丁,完美便携,但是 Firefox 自动更新后又要重新打补丁。

分类说明

extensions: 存放收集的插件

userChromeJS: 存放收集、修改过的 UC 脚本

UserConfig: 存放各种配置文件

UserScript: 存放收集、修改过油猴脚本

UserThemes: 存放本人 DIY 的 CSS 主题

UserTools: 存放相关工具的信息


images: 相关图片

UC 脚本说明

点击这里查看

如何偷资源

还在用 FF 的大佬

https://github.com/alice0775/userChrome.js

https://github.com/Endor8/userChrome.js

https://github.com/Harv/userChromeJS

https://github.com/Aris-t2/CustomCSSforFx

https://github.com/Aris-t2/CustomJSforFx

https://github.com/black7375/Firefox-UI-Fix

https://github.com/aminomancer/uc.css.js

https://bitbucket.org/BSTweaker/userchromejs/

已经离开 FF 的大佬

https://github.com/ywzhaiqi/userChromeJS

https://gist.github.com/Griever/

https://github.com/Griever/userChromeJS

https://github.com/ardiman/userChrome.js

https://github.com/feiruo/userChromeJS

其他 FF 集散地

https://u6.getuploader.com/script/

https://www.camp-firefox.de/

https://www.firefox.net.cn/

https://github.com/search?o=desc&q=userChrome&s=updated&type=Repositories

题外话:为什么我要用 Firefox 而不是 Chrome/Edge 之类的?

因为不用换浏览器啊,Google Chrome 还没出来我就在用 Firefox 了。PS: Chrome != Google Chrome1

曾记得第一次用 Google Chrome 的时候(没记错版本号还没到20?),在我笔记本上天天崩溃,写博客写一半就给我崩了,怎么能忍,然后到现在都没怎么用过 Google Chrome,顶多用一下 360/搜狗/QQ 之类,毕竟国产双核上国内的老旧网站还是很有用的。 在那个电脑资源不充足的年代(512MB甚至更少内存),Google Chrome 可是耗资源大户啊。而 Firefox 在没换量子引擎之前一直都是很省资源的。那个时候快这个特点真的不足以让我换掉火狐。后来资源充足了,我笔记本都 16G 了,但是火狐也变快了,我就更没有换浏览器的动力了。
资源充足了以后 UC 脚本/ 老式拓展这类拖慢浏览器速度的东西已经没有任何感觉了,反而时 Firefox 还有这强大的 DIY 功能吸引着我,比如我的笔记本 13 寸,地址栏工具栏标签栏太占位置了,Google Chrome 并没有任何办法调整,而火狐可以通过 CSS/JS 调整为一行来节省空间。并且作为一个伪程序员,我自己还能 C/V 调整浏览器功能样式的 CSS/JS,Firefox 用起来真是得心应手啊。
你可能会说 Vivaldi 的自定义功能也很强大啊,那你可错了,Vivaldi 能做到的,Firefox 必然能做到,就是看有没有大佬做,但是 Firefox 能做到的,Vivaldi 未必能做到,比如《Firefox 添加“鼠标中键点击下载按钮条用 you-get.exe 下载视频” 的功能 - Ryan 快快跑》,当然 Google Chrome 系可以通过新增按钮的方式实现,可我就是强迫症发作,不想要那么多的按钮。
That's it.

CopyLeft

除了从别人那边偷来的,剩下的:随便你怎么改协议™

Footnotes

  1. Chrome - 术语表

firefoxcustomize's People

Contributors

benzbrake avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

firefoxcustomize's Issues

[Bug]:

你在用什么浏览器

Firefox

浏览器版本号

117

你在用什么 UC 环境(引导器)

alice0775

哪个脚本有问题

BaiduTranslator.uc.js

脚本有什么问题?

脚本挂了

错误日志

Uncaught (in promise) DOMException: WindowGlobalParent.getActor: No such JSWindowActor 'BDTranslator'
    beginTranslate file:///C:/Users/kinmferkong/AppData/Roaming/Mozilla/Firefox/Profiles/fhuv5fc1.default-beta/chrome/SubScript/BaiduTranslator.uc.js?1686184972000:529
    handleEvent file:///C:/Users/kinmferkong/AppData/Roaming/Mozilla/Firefox/Profiles/fhuv5fc1.default-beta/chrome/SubScript/BaiduTranslator.uc.js?1686184972000:505
BaiduTranslator.uc.js:529
    beginTranslate file:///C:/Users/kinmferkong/AppData/Roaming/Mozilla/Firefox/Profiles/fhuv5fc1.default-beta/chrome/SubScript/BaiduTranslator.uc.js?1686184972000:538
    handleEvent file:///C:/Users/kinmferkong/AppData/Roaming/Mozilla/Firefox/Profiles/fhuv5fc1.default-beta/chrome/SubScript/BaiduTranslator.uc.js?1686184972000:505

补充必要的信息:

百度翻译失效了,求大佬修复

[Bug]: dialog window 's length sometimes too long, need to be fixed

What browser are you using?

Firefox

Browser version

107.0.1

What UC scripts loader are you using?

xiaoxiaoflood

which script has bug

downloadPlus_ff98.uc

What's wrong with the script?

The length of windows sometimes too long, when the complete link name's length is long, as shown below
just wonder how to correct it, or even disable the complete link shown in dialog window

图片

Error log

NA

Supplement necessary information

No response

[Bug]: BookmarkOpt.uc.js添加书签到此处无效

你在用什么浏览器

Firefox

浏览器版本号

107

你在用什么 UC 环境(引导器)

alice0775

哪个脚本有问题

No response

脚本有什么问题?

在书签栏文件夹中右键-添加书签到此处无效,实际未添加书签。

错误日志

无任何错误日志

补充必要的信息:

No response

[Bug]: Firefox built-in pages

What browser are you using?

Firefox

Browser version

114.0b3 (64 bit)

What UC scripts loader are you using?

alice0775

which script has bug

AutoCopySelectionText.uc.js

What's wrong with the script?

Autocopy doesn't work on Firefox built-in pages.

I want to add a suggestion.
The copy success popup should appear when the timeout has expired. So that when the popup appears I can release the mouse button.

Error log

none

Supplement necessary information

No response

[Bug]: I believe "BookmarkOpt.uc.js" stop working on Firefox V117

What browser are you using?

Firefox

Browser version

117.0b8

What UC scripts loader are you using?

MrOtherGuy(fx-autoconfig)

which script has bug

BookmarkOpt.uc.js

What's wrong with the script?

I believe that script broke down. Although I might be doing something wrong, since I'm terribly noob. In any case, I think it might be worth a check.

As I understand, there was some modifications on the UC script loaders on the Firefox v117, and some scripts had to be updated, as well as bootloader itself as well. I managed to make all scripts to come back, including "addMenuPlus.uc.js" after downloading a new version.

As always, thank you very much for your time and sorry to bother.

Error log

Error: @ BookmarkOpt.uc.js:5085
    tryLoadIntoWindow chrome://userchromejs/content/boot.sys.mjs:134
Caused by: TypeError: can't access property "getElementsByAttribute", aWindow.gNavToolbox.palette is undefined
    XULWidgetGroupWrapper_forWindow resource:///modules/CustomizableUI.sys.mjs:5085
    Marko 3
    injectClassicScriptIntoGlobal chrome://userchromejs/content/boot.sys.mjs:156
    tryLoadIntoWindow chrome://userchromejs/content/boot.sys.mjs:131
    onDOMContent chrome://userchromejs/content/boot.sys.mjs:374
    handleEvent chrome://userchromejs/content/boot.sys.mjs:434
boot.sys.mjs:134:15
    tryLoadIntoWindow chrome://userchromejs/content/boot.sys.mjs:134

Supplement necessary information

No response

SidebarModoki

Hi,

I'd like to add two extensions in SidebarModoki.
They are BitWarden and Checkmarks. However, BitWarden is by far more important.
Is it possible?

Thanks

Restoring closed tab from cache [Undo Close Tab using Bfcache]

No idea on how viable would this be, but... there is the functionality on browsers called bfcache, which loads the page from cache, so it is instantaneously. This is oftentimes used to go back and forward while you browsing through sites. Although recently on Chrome Canary they have been using it to make it faster to restore a closed tab.

The functionality called "Closed Tab Cache" keeps the page on memory for a few seconds extra after you closed it, in case you changed your mind or close the tab accidentally. This way, if you accidentally closed it and press to restore it, it is instantaneously, since the page was just hidden away from the user, which is a very pleasing experience.
closed tab cache

chrome_abcIycqPL4.mp4

I have no idea on how viable or hard this would be. It seems technically possible do to with firefox scripting, even if one would have to resort to other technical means to implement it, but I'm super noob, so I'm most likely wrong XD. But it must be tricky, because, for instance, if you were watching a video online and closed that tab, it would be somewhat annoying having to deal with a delay of 5 seconds until the audio stopped playing because that tab was only then actually removed from memory, so probably when dealing with a tab playing a video or a song, the behavior would be like pause the video playing, hide the tab, wait 5 seconds, and then actually close it...

There is a bugzilla report asking for mozilla to implement this feature, but it seems to have gotten stuck on development limbo I guess: https://bugzilla.mozilla.org/show_bug.cgi?id=1655199

As always, sorry to bother you •ᴗ•

[非Bug]:ucf_drag_ModR.uc.js相关问题

你在用什么浏览器

Firefox

浏览器版本号

108.0.1

你在用什么 UC 环境(引导器)

其他

哪个脚本有问题

ucf_drag_ModR.uc.js

脚本有什么问题?

请问一下,我想要修改自带的U: /D:这样的为任意方向,都触发相同动作,应该怎样修改呢

错误日志

*

补充必要的信息:

No response

[Bug]: Multiple bugs with addToolbarInsideLocationBar.uc.js

What browser are you using?

Firefox

Browser version

ESR 102.8.0 / Nightly 112.0a1

What UC scripts loader are you using?

xiaoxiaoflood / MrOtherGuy(fx-autoconfig)

What's wrong with the script?

1

Script removes "Paste and Go" option from urlbar context menu when flexible space doesn't exist between "Go forwards button" and "Location Bar", additionally "Reload button" is required to always be placed before the flexible space, the moment either of them are removed the "Paste and Go" also dissapears:

FlexibleSpace.mp4

While opening "Customise Toolbar" brings it back, it doesn't persist after firefox restart unless the previously mentioned conditions are met.

It seems to have something to do with this part of the code:

// xxxx toDo removing dirty hack
gURLBar.onDrop_addToolbarInsideLocationBar = gURLBar.onDrop;
gURLBar.onDrop = function (event) {
var toolbar = document.getElementById("ucjs-Locationbar-toolbar");
var target = event.originalTarget;
while (target) {
if (target == toolbar) {
return;
}
target = target.parentNode;
}
gURLBar.onDrop_addToolbarInsideLocationBar(event);
};

Deleting this part stops the script from removing "Paste and Go" no matter the conditions and script seemingly works without any problems at first glance.

 

2

The moment "Customise Toolbar" is opened some of the placed buttons stop working until Firefox restart:

CustomiseMenuLock.mp4
TypeError: can't access property "area", this.getPlacementOfWidget(...) is null3 [CustomizableUI.jsm:2141:21](resource:///modules/CustomizableUI.jsm)
    showWidgetView resource:///modules/CustomizableUI.jsm:2141
    handleWidgetCommand resource:///modules/CustomizableUI.jsm:2184

 

3

This might've never been the intent of this script, but it's possible to place Searchbar into the locationBar, but it disappears after Firefox restart and requires to open "Customise Toolbar" 2 times for it to show again. There's also slight misalignment of buttons when Searchbar is placed there.

Searchbar.mp4

 

 

Also as a slight BTW the source of dav_LinkifiesLocationBar.uc.js is here. It doesn't link to anything on the table and 'reviewURL' in the script links to camp-firefox.de forums where the code was pasted.

[Bug]: addMenuPlus_fx70.uc.js的favicon有问题

你在用什么浏览器

Firefox

浏览器版本号

114

你在用什么 UC 环境(引导器)

alice0775

哪个脚本有问题

addMenuPlus_fx70.uc.js

脚本有什么问题?

addMenuPlus_fx70.uc.js的text: "%FAVICON%"和text: "%FAVICON_BASE64%"挂了。

错误日志

21:09:37.316 Uncaught TypeError: tab is null
    convert file:///C:/Apps/Firefox/Profiles/chrome/addMenuPlus_fx70.uc.js?1687786746761:1511
    convertText file:///C:/Apps/Firefox/Profiles/chrome/addMenuPlus_fx70.uc.js?1687786746761:1450
    convertText file:///C:/Apps/Firefox/Profiles/chrome/addMenuPlus_fx70.uc.js?1687786746761:1442
    onCommand file:///C:/Apps/Firefox/Profiles/chrome/addMenuPlus_fx70.uc.js?1687786746761:666
    oncommand chrome://browser/content/browser.xhtml:1
addMenuPlus_fx70.uc.js:1511:29
-----
21:09:42.794 Uncaught TypeError: tab is null
    convert file:///C:/Apps/Firefox/Profiles/chrome/addMenuPlus_fx70.uc.js?1687786746761:1513
    convertText file:///C:/Apps/Firefox/Profiles/chrome/addMenuPlus_fx70.uc.js?1687786746761:1450
    convertText file:///C:/Apps/Firefox/Profiles/chrome/addMenuPlus_fx70.uc.js?1687786746761:1442
    onCommand file:///C:/Apps/Firefox/Profiles/chrome/addMenuPlus_fx70.uc.js?1687786746761:666
    oncommand chrome://browser/content/browser.xhtml:1
addMenuPlus_fx70.uc.js:1513:41

补充必要的信息:

No response

AutoCopySelectionText.uc.js and timer

Hi,
I'd like you consider an improvement for this useful script.
I'd prefer to copy the selected text only when the left mouse button is keep pressed for a specified time after you have selected your text.
You can set time to zero if you want the script works as it does now.

Thanks

verticalAddOnBar and buttons

What browser are you using?

Firefox

Browser version

111.0b8

What UC scripts loader are you using?

xiaoxiaoflood

which script has bug

verticalAddOnBar

What's wrong with the script?

Hi,

I can't view these buttons in verticalAddOnBar: "home button" and CustomButtons.uc.js button.

Error log

Supplement necessary information

No response

"Save as..." skipping the dialog box asking where you want to save the file?

Hi, it's me again, nagging you... XD I was wondering if is there any script or configuration that would make so that whenever you click on some context menu entry with the right mouse button to save something ("Save image as", "Save link as", "Save video as", etc..)...

I was wondering if there is any script that would skip the dialog box asking you where you want to save the file and just save it on the default folder? I always save all my documents in the same folder so it would be handy if this could be skipped somehow.. •ᴗ•

file

I dug around about:config and apparently there is no such option :\ There are extension that do that – sorta, such as "Just Save" but I don't find them ideal because they don't replace the default behavior and some of them seem to have problem with getting the extension of the file right, so you end up saving "videoplayback" instead of "videoplayback.mp4"

As always thank you so much for your attention and help :)

Suggestion: Improving the way Firefox display new messages alert on the tabs

Hi, I end up knowing your work with Firefox mods through your script (BookmarkOpt.uc.js) that adds an option to copy the page title of itens on history sidebar, thank you very much again. I use it a lot :)

I would like to suggest you a script. Some pages show a number between parentheses to indicate that there is a new message on that given tab. Like this for instance: "(1) New Message – Facebook Messenger" "(13) Message – Whatsapp, etc..." This is not a exclusively behavior of Firefox, practically all browsers have this behavior, Chrome, Brave, etc:

image

The problem is that if you pin that given tab this number won't appear, but rather you will receive some generic indication that there is a new message, but it won't show how many: is it 1, 2, 3, 10 new messages? You don't see this information right away.

image

This problem though doesn't happen on Vivaldi, which always shows the number between parenthesis as a indication on the top of the favicon, like this, similar to the little icon that indicates whether or not that tab is playing a song. Actually it always shows the number between parenthesis as a sort of flying favicon notification:

image
image

This way you can see how many messages there are on that tab even when you pinned that tab. I think it would be interesting a script that would change this functionality and copies Vivaldi behavior. I think it shouldn't be that complicate to implement some feature like this, some script that extract the number between parenthesis in the beginning of the title and puts it and its own html element on Firefox interface should do the trick, I think, but I might be wrong.

Also, to avoid false positives, such as the script turning on a page that just happens to have a title that begins with "(some number)" , such as: "(2000) The New Millennium – Wikipedia", maybe the script could first wait for some modification on the page title, and if there is a modification on the page title, more specifically on the numbers between the parenthesis, it would know that that number isn't some static part of title but rather that it probably indicates some sort of notification, since the page title was updated.

Thank you very much for your attention.

[Bug]: downloadPlus_ff98.uc.js过长链接会导致窗口过宽

你在用什么浏览器

Firefox

浏览器版本号

108

你在用什么 UC 环境(引导器)

alice0775

哪个脚本有问题

downloadPlus_ff98.uc.js

脚本有什么问题?

过长链接会导致窗口过宽
捕获
图为知网下载论文时的窗口

错误日志

补充必要的信息:

No response

[Bug]:

你在用什么浏览器

Firefox

浏览器版本号

112.0 (64 位)

你在用什么 UC 环境(引导器)

其他

哪个脚本有问题

ucf_drag_mod.uc.js

脚本有什么问题?

脚本挂了

错误日志

引导器版本为https://github.com/benzBrake/FirefoxCustomize/tree/master/userChromeJS/Loader的版本

补充必要的信息:

No response

[NEED HELP]: How to make xiaoxiaoflood script compatible with your loader?

你在用什么浏览器

Firefox

浏览器版本号

102.8.0esr (64-bit)

你在用什么 UC 环境(引导器)

没有使用

有什么问题

For example, I'm using styloaix from xiaoxiaoflood, but with your loader, the icon did not show up but the style still working. I was also using this script 000-xiaoxiaoflood.uc.js from your GitHub.

Also, how to make extensions from xiaoxiaoflood showing current uc.js? I like it more because easy to disable and enable scripts instead of opening about:addons

screenshot:

https://i.imgur.com/QS8F7yF.png

Thanks.

[Bug]: UndoCloseTabButtonN在117beta上弹不出来了

你在用什么浏览器

Firefox

浏览器版本号

117b

你在用什么 UC 环境(引导器)

alice0775

哪个脚本有问题

No response

脚本有什么问题?

脚本挂了

错误日志

Uncaught TypeError: this is undefined
    ss_getClosedTabData resource:///modules/sessionstore/SessionStore.sys.mjs:436
    prepareMenu file:///C:/Program Files/Firefox/profile/chrome/SubScript/UndoCloseTabButtonN.uc.js?1687315392797:30
    onpopupshowing chrome://browser/content/browser.xhtml:1
    onClick file:///C:/Program Files/Firefox/profile/chrome/SubScript/UndoCloseTabButtonN.uc.js?1687315392797:141
    onclick chrome://browser/content/browser.xhtml:1

补充必要的信息:

No response

Feature suggestion: script that makes firefox, by default, to always past text as plain text?

Hi, it's me again. As always, sorry to bother. I was wondering if it would be possible to create a script that makes Firefox, by default, to always paste text as plain text (therefore getting ready of all formatting details)? There are extensions that do that, such as, several actually:
https://addons.mozilla.org/en-US/firefox/addon/copy-plaintext/?
https://addons.mozilla.org/en-US/firefox/addon/simple-plain-text-copy/?
https://addons.mozilla.org/en-US/firefox/addon/copy-as-plain-text-webext/?

But those extension, as far as I know, none of them change the original paste functionality/behavior, they just add a new functionality, a new hotkey and new context menu entry that do that. And I was wondering if would be possible to simply change firefox default behavior? I dig around on about:config and didn't find any tweak that does this. Apparently there was some talk on bugzilla about implementing this functionality a decade ago or so, but the idea didn't move forward I guess.

https://bugzilla.mozilla.org/show_bug.cgi?id=273008

Again, I'm noob as hell, so I have no idea about how feasible would be this. As always thank you very much 👍

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.