user.js viewer/comparer/tool (userjs-tool.html)

Created on 3 Jan 2019  路  8Comments  路  Source: arkenfox/user.js

Experimental/alpha: https://github.com/icpantsparti/firefox-user.js-tool
Opens offline, or online: userjs-tool.html
(Revival of the old user.js dark/light theme.)

(EDITED: online link, 2020.02.22 user.js comparer added)

FYI

Most helpful comment

https://icpantsparti.github.io/firefox-user.js-tool/userjs-tool.html?action=table1&size=100&load1=https://raw.githubusercontent.com/arkenfox/user.js/master/user.js

Edit: (as per post below) extensions such as skip redirect do not like the above link, here is a shortcut that does the same (loads arkenfox user.js into a table view):
https://icpantsparti.github.io/firefox-user.js-tool/userjs-tool.html?gt

All 8 comments

Whoopsie daisy advertising

looks interesting. I had a play but couldn't get it to load a local js file (and I had to use Opera - my FF is locked down, might see if if I can get it to work tomorrow) - but simply pasting in the links at the bottom and I could view the live master - it certainly is easier viewing in a more interactive environment (jumping to sections, collapsing etc)

Hope you learnt lots about html, js, css etc (from your repo info)

Noteworthy changes (hope you don't mind me 'advertising' again :D).

https://icpantsparti.github.io/firefox-user.js-tool/userjs-tool.html

added user.js compare, improved file/URL loading, updated layout and more
multi preference regex search [Groups] now work in the newer about:config search box
added functions for find (filter/list)/reset/set on about:config Web Console

Live auto-load and view user.js master:
https://icpantsparti.github.io/firefox-user.js-tool/userjs-tool.html?action=view1&box=a&load1=https://raw.githubusercontent.com/arkenfox/user.js/master/user.js

Hope someone else finds this useful. Thank you.

Don't take any of that the wrong way.

Thanks for looking and your fair comments.

I have made a few tweaks addressing your immediate examples.

nothing got colored

I am unsure how to reproduce this. Does the hint added since, about using the View (or Compare) button after loading user.js resolve this, was the issue after clicking, or was it with the auto-load link (which 'clicks' the View button using JavaScript)?

takes ages to fetch, load,parse, and output: it seems heavy

Just seeing this thread, but that's an interesting issue of all things...seems to consistently render in under 1 second for me and on various speed testing sites.

I don't remember where I posted that code (or if I did), but I can track it down if it's helpful. It was primarily written in R. Things could, of course, be written without any additional libraries, but in cases like this there's often not much reason to reinvent the wheel...more than likely will end up with something that's not flexible enough, too slow, difficult to maintain etc. Just my two cents for what it's worth.

https://icpantsparti.github.io/firefox-user.js-tool/userjs-tool.html?action=table1&size=100&load1=https://raw.githubusercontent.com/arkenfox/user.js/master/user.js

Edit: (as per post below) extensions such as skip redirect do not like the above link, here is a shortcut that does the same (loads arkenfox user.js into a table view):
https://icpantsparti.github.io/firefox-user.js-tool/userjs-tool.html?gt

whatever was partially hidden before is no longer hidden

A button on the view area placeholder was visible beyond the Actions panel making it seem like a hidden element, width was reduced 2020.02.24

how to get back to the main default screen (after clicking view) .. oh, actions button

Have now added a "Back" button (it replaces/merges "Actions" and close buttons)

Seems weird that 9999 is just the header + parrot and then a new section called 9999+ is created.

The user.js does not cause this, when section 9999 was big the extra divide at ESRs was useful, no need for that anymore and divide removed 2020.02.27

other user.js ... most have IMO at least some terrible pref choices enforced and/or are quickly abandoned

The list of user.js links was removed 2020.02.27 just link to here remains :)

could be anchored/overlaid at the top with the date/version

The "Table View" now updated 2020.03.21, improved tag detection and added a Filter button too

which skip redirect extension didn't like

Have added this shortcut now (auto-loads arkenfox user.js into "Table View"):
https://icpantsparti.github.io/firefox-user.js-tool/userjs-tool.html?gt

Good job @icpantsparti
I struggled for 3 days with manual file comparison when I discovered your tool and did the job in 10 seconds :)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

earthlng picture earthlng  路  6Comments

Thorin-Oakenpants picture Thorin-Oakenpants  路  7Comments

Thorin-Oakenpants picture Thorin-Oakenpants  路  5Comments

crssi picture crssi  路  3Comments

Thorin-Oakenpants picture Thorin-Oakenpants  路  4Comments