Are you sure you want to go to an external site to donate a monetary value?
WARNING: Some countries laws may supersede the payment processors policy such as the GDPR and PayPal. While it is highly appreciated to donate, please check with your countries privacy and identity laws regarding privacy of information first. Use at your utmost discretion.
So it took me forever but I finally got this to work by giving FB the info it now requires, due to policy changes, to use its developer API. Of course, it's really just a half-hearted attempt to shake its sketchy image. Something to point at and say they're doing something. I considered just leaving the FB auth dead, but decided I want to give those FB users a chance to switch their auth provider.
Re: @glebm:
But in the future, please leave bookmarklets in the past. They are illegible, especially when encoded, and it is hard to trust what you can't read. I'm sure what you posted is just your script source encoded as a bookmarklet, but I couldn't be absolutely certain without reversing the process. But I and others who can understand JavaScript, aren't going to bother and definitely would never use the bookmarklet because we can't read it. But some non-developer novice user might, and that is a problem because if there was something malicious hiding in there it would go unreported. Other users might take the silence to mean there is nothing wrong.
Bottom line: only post code that is readable. That goes double for comments, and you should use a code block with syntax highlighting (same markdown as used on GitHub).
Re: @Marti:
I just want to reaffirm this statement. @Marti is more patient than me, and if he chooses to interact with users, then I will let him handle the situation as he sees fit. But if I see a user making statements that seem to violate the TOS, I will not give them the benefit of the doubt. I will remove them without warning.
You're right Marti that OUJS probably isn't the best home for UserCSS. But I really feel for that community since they got shafted even worse the UserJS community. We dealt with the loss of a long time home that was neglected and slowly collapsed. Their home got sold right out from underneath to some company just looking to make a buck from the traffic.
At the very least the creators of this OpenUserCSS could fork our code base and make the desired modifications for hosting UserCSS and run their own instance.
As long as they were truly free and open source, I would be happy to collaborate with them to link our register user bases and have prominent links between sites.
Essentially both sites would have to handle new registrations on their own, but we could set up a mechanism to authenticate registered users on one site to be registered on the other.
Basically, if I went to OUCSS and typed in my username (usernames from both sites should be reserved on the other but nothing should be created automatically) to login, I should be created as a user there, and hopefully on my profile it would show I have no UserCSS but list my UserJS (or at least a link to my scripts on OUJS). The actual links to the listed scripts should point to the pages on OUJS. Samething goes for a user registered on OUCSS logging into OUJS for the first time.
This does require mirroring moderation removal of users on the site the user originally registered on. Of course you can always ban users that registered on the other site, and whether this removes the user from the origin site is up to them. We'd probably mark the user for moderation review.
As far as I'm concerned, a user style is just another asset/resource. We already host javascript libraries on this site that are meant to be
@require
'd by the user scripts installed from the site. I once considered whether we should host css and html templates as well. The only thing I was really opposed to hosting was media (graphics, audio, videos, etc.). User scripts could use these css files via@resource
and those with some type of Stylish extension could just install the styles directly. I would probably replace the "Libraries" link in the toolbar with "Resources" and that would take to a page where could filter be the type, i.e. Libraries, Styles, and Templates. If we started getting a lot of user styles uploaded here we could add a direct link to that filter in the toolbar.Just to be clear: we really do mean Open. Anything uploaded here would have to be released under a share-alike license permitting derivative works. This would have to be a content license since code licenses used for scripts and libraries only apply to code not content like CSS (@Marti can let know if I'm wrong about this).
Re: @r-a-y:
Well I'll have to find out what @Marti and others think about the idea, but this site is an open source project so if somebody submitted a PR with necessary changes and the idea had support, I wouldn't stand in the way. The "brass" in this case are just the people who pay to host the site and those who want to make sure it is stable, secure, and maintainable.
Basically the Stylus users talking about starting their own site (which is exactly how this site came about with the collapse of userscripts.org) could submit a PR to OUJS with the changes to incorporate a UserCSS hosting service into this site. They could even user a different url and forward it the the relevant UserCSS homepage on this site. They could even use a slightly different template and style on the pages relevant to UserCSS. The point is: this site is similar, open source, and already built.
I find it disappointing that the creator of Stylish and userstyles.org (who is also the creator and owner of greasyfork.org) decided to sell off userstyles.org and abandon the community.
Re: @mihaimorcov:
Just to clear, according to our TOS, all scripts must be licensed under an Open Source Initiative approved licensed. All of these allow derivatives. Unless someone violates the terms of a license (like not giving proper attribution if required), we can't remove a script. Yes we would really prefer people to use the forking feature since it preserves forking history, but we can't remove a script just because they don't use it.
From day one we were and still are a host for FOSS user scripts. It was something I thought key to the user script community. But if you want to use copyright to "protect" your precious user scripts, then this really isn't the place for you.
Re: @ts:
That is exactly the reason OUJS is providing this option. In the past authors have posted minified versions of their scripts on the site, but we decided that minification != obfuscation so we wouldn't remove these scripts. However, if we provide automatic minification then they have no excuse to post an already minified script and we can remove it. Therefore source code isn't secret. The full unminified source will be posted on the site for everyone to see.
The method you're using to have multiline strings is an unstable hack. Have you considered using @resource and GM_getResourceText. You could put them in a public gist and use the Raw url for the @resource key. ES6 will provide template strings.
Otherwise just let your users know on the script description page not to install the minified version.
This might help (you might have to use
@run-at document-start
):var pushState = window.history.pushState; window.history.pushState = window.history.replaceState = function (stateObj, title, url) { console.log('changed to: ' + url); pushState(stateObj, title, url); };
Re: @sizzle:
My bad. I didn't read your entire post. You already used popstate. I've had this problem on a similar page. The onpopstate doesn't help. The page doesn't reload, but the url changes.
If the url is changing in the address bar, but a new page isn't being loaded, they could be modifiying the history. You can use window.onpopstate to detect the change.
Re: @Marti:
I figure if you're going to post the source of a library from somewhere else, you should post the full source (especially since it usually has the copyright notice in it).
I noticed that the other libraries you posted are also minified. Please fix that or I will start removing your libraries.
Found your GH issue that you should have linked to.
This is not the place for this discussion. This has already been proposed and shot down on GitHub. I have strong arguments against it and the other project owner mostly agreed with me. The only way I'd change my mind is if I got strong feedback from users.
In the future, request site features on GitHub. You can request feedback for the GitHub issue in the general discussion category, but keep your arguments on GitHub where the other developers can see.
Re: @moshmage:
There is no need to make sure it works. It does. This is a heavily tested feature.
Both Greasemonkey and TamperMonkey handle script updates automatically. All the script author needs to do is increment the
@version
metadata value when uploading a new version.There you go. The reminder will only show up if you aren't logged in or you use Google for authentication. We don't have any way of telling who's done migrating so those who use Google will just have to put up with it until April 20th.
See Anthony's message for details about the Greasemonkey 3.0 beta release.
Click here to install.
Go here to report a bug.
OUJS counts every request for the .user.js file as an install. No attempt is made to prevent "duplicate" installs.
https://openuserjs.org/meta/TimidScript/%5BTS%5D_Citrus_GFork.meta.js
I think it might be time to increase the flag threshold on scripts.
Re: @KOLANICH:
https://github.com/OpenUserJs/OpenUserJS.org/issues/81
Works for me. Very nice script. Closing...
OUJS has been the shorthand for OpenUserJS.org for awhile so I decided to purchase the domain and set up redirection: oujs.org
So now you can link to your script homepages (or any page) with a shorter url:
http://oujs.org/scripts/sizzle/Hello_World -> https://openuserjs.org/scripts/sizzle/Hello_World
Notice that the redirect url is http not https (but it does get redirected to the secure site).
I have no idea if you install a script using the short url if updating will work properly (since updating must be done over SSL).
The number I enter into the script settings dialog isn't being used for the
?limit=
in the query string. Instead it is being set toundefined
, which makes me think it is a mistake. Settinglimit
to a non-numeric value is a hack to return all results. Please fix your script or I will be forced to close this loophole for good. Thanks.