Anarchy.js - A community-controlled Javascript object (BETA)

Project URL: https://anarchy-js.glitch.me

anarchy.js is a community-controlled Javascript object, which can be added to and used by anyone. It is, basically, anarchy. This is currently in beta so any feedback is welcome.

8 Likes

ooh it has a bookmarklet

I can see why you named it “Anarchy.js”

yeah, it fits the title really well lol

1 Like

then someone manages to put a js file hidden and destroy the earth

that’d be weird so you’d check it all down, right?

Add

html, body {
scroll-direction: smooth;
}

To make it smooth scroll back to top.

1 Like

Ok, thanks!

1 Like

i guess…

1 Like

;-; well, ok then, I’ma contribute

thanks for contributing!

1 Like

Oof, I’ma look at the source code.

a full list of the methods can be seen at: https://anarchy-js.glitch.me/data/methods.txt
each method can be viewed as such: https://anarchy-js.glitch.me/js?method
the amount of times each method is used is at: https://anarchy-js.glitch.me/data/views/method.txt

1 Like

i’m yet to include the views part to the page

Cool.
(10char)

Oh lord, this looks spammy.

  • RickRoool
  • rickroll
  • unsecure
  • dots

But then again, this is anarchy.

2 Likes

i did everything except for the unsecure and dots text to test the anarchy.js lol (from what you said)

don’t look at the site’s text for all the methods or else

yep, that’s the point!

i don’t really know what i epected when i came up with this

Maybe you should reset some of those so you don’t get your project suspended.

1 Like

good idea. im adding extra security measures

Like what? Oh, can I help you with your project?

idk, got any ideas? i saw some people bypassing the length and character restrictions, so that must be fixed server-side

anarchy.js is paused as we add a bad-word filter
and an xss filter

Woah, never knew such a CSS property existed!

1 Like

i’m not sure it does. i tried it, and it didn’t do the code highlighting. better stick to:

window.scroll({
  top: 0,
  behavior: "smooth"
});

And I thought this was possible only with jQuery. :neutral_face:

1 Like

yea, you can actually do it with vanilla js!

but this is getting off topic…

Ya the api for window.scroll has the smooth and even though there is no syntax highlighting its still there

@khalby786 you should read your coding docs a bit clearer so you could see this but smooth scrolling has been around for years so…

there’s a lot of css properties you didn’t knew that exist

1 Like

Can I have a link to the documentation for that CSS property, please? :thinking::face_with_raised_eyebrow:

I very well know that I don’t know all the CSS properties, not even more than half. :slightly_smiling_face:

So, we’ve added like 3 different filters.

1 Like

and we’re working on an ip ban for suspicious users

I think there should also be a “Rules” section.

okay. i can do that.

Ok, so the entire database was wiped, so If you made a contribution, it was wiped.

Yes, we did this for security reasons so that unsafe or inappropriate contributions before the filters were deleted.

1 Like

I’ve added a rank for the most used filters at the bottom of the home page.

@code-alt we already use it

lol i was supposed to post like a few hours ago

theres something that automatically closes the tab, but mine is supposed to spam hello forever

Can you take a screenshot?

Can’t bc it literally closes the tab. nothing else. Hopefully it doesn’t do something else.

how about one that replaces every image with a picture of a cat/dog
or turns every iframe into a never gonna give you up embed

i feel like this is just gonna turn into a prank hub

and im ok with it

1 Like

i can’t believe this already has almost 50 replies

Yes, we have already done that.

This is starting to get off-topic.

2 Likes

Ya lemme just delete the post and it will all be good!

could i help maybe?

I like it. Except the fact that it uses txts. Use JSONs as it is easier to find data. Or a DB as all the data is stored on the app itself. Also, to solve your profanity problem, I recommend using a que like system.

thanks for the suggestion! the txt already has a lot of data stored, so it’s a little too late to switch methods. and we’ve already added a profanity filter.

Not really, there are some tools you can use where you paste data and it formats it into JSON.

1 Like

Also, what is this used for?

It’s a list of all of the methods.

Not that much data tho.
https://u.aboutdavid.me/9QVNInf.png

that’s true

1 Like