Top Related Projects
Violentmonkey provides userscripts support for browsers. It works on browsers with WebExtensions support.
Tampermonkey is the most popular userscript manager, with over 10 million users. It's available for Chrome, Microsoft Edge, Safari, Opera Next, and Firefox.
Stylus - Userstyles Manager
An open-source userscript manager for Safari
Quick Overview
Error generating quick overview
Competitor Comparisons
Violentmonkey provides userscripts support for browsers. It works on browsers with WebExtensions support.
Pros of Violentmonkey
- Cross-browser compatibility (Chrome, Firefox, Edge)
- Active development with frequent updates
- Lightweight and efficient performance
Cons of Violentmonkey
- Smaller user base compared to OpenUserJS.org
- Limited built-in script discovery features
- Fewer community-driven features and discussions
Code Comparison
OpenUserJS.org (Node.js):
app.use(function (req, res, next) {
res.header('Access-Control-Allow-Origin', '*');
res.header('Access-Control-Allow-Methods', 'GET, POST, OPTIONS, PUT, PATCH, DELETE');
next();
});
Violentmonkey (JavaScript):
browser.runtime.onMessage.addListener((message, sender, sendResponse) => {
if (message.cmd === 'GetAllOptions') {
sendResponse(getAllOptions());
}
});
OpenUserJS.org focuses on providing a platform for user script hosting and discovery, while Violentmonkey is a user script manager for browsers. OpenUserJS.org offers a larger community and more extensive script library, but Violentmonkey provides a more streamlined experience for managing and running user scripts across multiple browsers. The code snippets highlight the different focuses: OpenUserJS.org deals with server-side operations, while Violentmonkey handles browser extension functionality.
Tampermonkey is the most popular userscript manager, with over 10 million users. It's available for Chrome, Microsoft Edge, Safari, Opera Next, and Firefox.
Pros of tampermonkey
- More active development with frequent updates and bug fixes
- Extensive documentation and user guides available
- Larger user base, resulting in more community support and resources
Cons of tampermonkey
- Closed-source project, limiting community contributions
- Less focus on script hosting and sharing compared to OpenUserJS.org
- More complex setup for new users due to advanced features
Code Comparison
tampermonkey:
// @grant GM_xmlhttpRequest
GM_xmlhttpRequest({
method: "GET",
url: "https://example.com",
onload: function(response) {
console.log(response.responseText);
}
});
OpenUserJS.org:
// @grant GM.xmlHttpRequest
GM.xmlHttpRequest({
method: "GET",
url: "https://example.com",
onload: function(response) {
console.log(response.responseText);
}
});
The code comparison shows that both projects support similar functionality for making HTTP requests, with slight differences in syntax. tampermonkey uses the older GM_xmlhttpRequest method, while OpenUserJS.org uses the newer GM.xmlHttpRequest method, which is part of the more recent UserScript API standards.
Stylus - Userstyles Manager
Pros of Stylus
- Focuses specifically on user styles, providing a more streamlined experience for CSS customization
- Offers a built-in style editor with syntax highlighting and live preview
- Supports both userstyles.org and UserCSS formats
Cons of Stylus
- Limited to CSS modifications, lacking support for JavaScript userscripts
- Smaller community and fewer available styles compared to OpenUserJS.org
Code Comparison
Stylus (manifest.json):
{
"name": "__MSG_extName__",
"version": "1.5.27",
"description": "__MSG_extDescription__",
"manifest_version": 2,
"minimum_chrome_version": "49",
"permissions": [
"tabs", "webNavigation", "storage", "contextMenus", "<all_urls>"
]
}
OpenUserJS.org (package.json):
{
"name": "OpenUserJS.org",
"version": "0.2.8",
"main": "app",
"dependencies": {
"ace-builds": "1.4.12",
"async": "3.2.0",
"aws-sdk": "2.814.0",
"body-parser": "1.19.0",
"bootstrap": "3.4.1"
}
}
The code comparison shows that Stylus is a browser extension focused on CSS customization, while OpenUserJS.org is a full-fledged web application for hosting and managing userscripts. Stylus has a simpler structure, while OpenUserJS.org has more dependencies and features.
An open-source userscript manager for Safari
Pros of userscripts
- Lightweight and focused on macOS integration
- Simple, user-friendly interface for managing userscripts
- Supports automatic updates for installed scripts
Cons of userscripts
- Limited to macOS platform
- Smaller community and script repository compared to OpenUserJS.org
- Lacks advanced features like script discussions and ratings
Code Comparison
OpenUserJS.org (Node.js):
exports.getScriptPageData = function (aReq, aOptions) {
var script = aReq.script;
var authedUser = aReq.session.user;
aOptions.isOwner = authedUser && (authedUser._id == script._authorId
|| collaborators.indexOf(authedUser.name) > -1);
// ...
};
userscripts (Swift):
func loadScripts() {
let scriptsURL = FileManager.default.urls(for: .documentDirectory, in: .userDomainMask)[0].appendingPathComponent("Scripts")
do {
let scriptURLs = try FileManager.default.contentsOfDirectory(at: scriptsURL, includingPropertiesForKeys: nil)
scripts = scriptURLs.map { Script(url: $0) }
} catch {
print("Error loading scripts: \(error)")
}
}
The code snippets highlight the different approaches and technologies used by each project. OpenUserJS.org uses Node.js for server-side operations, while userscripts employs Swift for macOS integration and local script management.
Convert
designs to code with AI
Introducing Visual Copilot: A new AI model to turn Figma designs to high quality code using your components.
Try Visual CopilotREADME
OpenUserJS.org
The home of Free and Open Source Software (FOSS) user scripts. Built using Node.js and other web familiar technologies.
| Repository | Reference | Recent Version |
|---|---|---|
| nodejs | Documentation | |
| npm | Documentation |
Contributing
Dependencies
Dispersed
These also may use a badge provider where applicable for potentialliy more up to date results.
Dynamic
Static
| Repository | Reference | Recent Version | Stored |
|---|---|---|---|
| bootswatch | Documentation | 3.1.1+1 (includes normalize.css 3.0.0 and some of our CSS) | |
| SquadaOne-Regular ¹ | Documentation | SquadaOne-Regular.ttf | SHA256 7fb11ce5541246c83ebc3640543c9f53de186964bcbbf184c1a00cb9ec6cc457 |
CDN
| Repository | Reference | Recent Version | Referenced |
|---|
Aggregate
Outdated dependencies list can be achieved with $ npm outdated from the terminal and alternatively $ npm show packagename versions.
Top Related Projects
Violentmonkey provides userscripts support for browsers. It works on browsers with WebExtensions support.
Tampermonkey is the most popular userscript manager, with over 10 million users. It's available for Chrome, Microsoft Edge, Safari, Opera Next, and Firefox.
Stylus - Userstyles Manager
An open-source userscript manager for Safari
Convert
designs to code with AI
Introducing Visual Copilot: A new AI model to turn Figma designs to high quality code using your components.
Try Visual Copilot
