A very cool social media website!
h
RohilPatel (1172)

Yes, you may have seen this before

PlogoGram is on my profile, but I thought i would fix all the bugs, and so far I have only found one, but many of you won't be able to notice it unless I do something to allow it to happen.

I made this social media website 5 months ago, and @Vandesm14 decided he wanted to redo my css, so credits for him. The frontend is almost the same, however the backend is better than ever before.

I do realize I could show more than one post for recents if i wanted too, but I plan on discontinuing this service anyways, with the new release of PlogoPlus well on it's way.

Vote up if you notice anything new lol!

You are viewing a single comment. View All
oignons (308)

Hmm...

Try using the always on switch on your repl.

RohilPatel (1172)

naw, it was an error. if it wasnt on, it would wake up. i think i fixed the error tho... lemme know @oignons

oignons (308)

@RohilPatel Thanks, it's been fixed.

RohilPatel (1172)

yay! upvote if u are satisfied ;)

jk lol ofc

@oignons

oignons (308)

@RohilPatel Also, it isn't vulnerable to XSS! Good job!

RohilPatel (1172)

Haha, yeah. In fact, I have one project coming that's a js library. So if you want to do something like this:

let name = '<h1>is just normal text</h1>'
x.innerHTML = `<p>Is HTML, ${escapeTags(name)}</p>`

Where escapeTags basically converts HTML things to text things

@oignons

[deleted]

@RohilPatel

function escapeTags(input){
    return input.replace(/</g,"&lt;").replace(/>/g, "&gt;)
}