Javascript in the forums

I had an idea for improving one of my guides using Javascript, does anybody know if it’s possible to use Javascript in the forums? And if so, how?
Example

If the < script > tag worked, this line of text would turn into the word "It works!" when the button is clicked. However, that does not happen.

Also, the "example" text should be a button.
You can check my coding skills in the raw if you want to confirm I coded it correctly.

I don’t think that is implemented in the forums at all, otherwise the forum would be insecure.
Alternatively, you can program an image to be clickable via HTML maybe?

3 Likes

Javascript is probably not possible on the forums, but a few html tags are. You can add classes like “mention” to a hyperlink “a” tag.

:slight_smile: Like this

You can also add images.

Like this:

3 Likes

Example extracted from my guide:

button


button|153x51,


button

[
![button|177x51](upload://66ooJpKU6gdSMrBR0h0ZxQUejZI.png)
](https://forum.creative.gimkit.com/categories) 
[
![button|153x51, ](upload://mpo4RPEhGYaBxPkQS9NBZdZUag0.png)
](https://forum.creative.gimkit.com/my/preferences/tracking)
[
![button|119x51](upload://6gBtkDFQoTTd1jmi1abDfYDeHZD.png)
](https://forum.creative.gimkit.com/tags)
4 Likes

Oops copy and pasted wrong thing. Sorry about that.

1 Like

Okay, it sounds like Javascript is not possible in the forums, so I have another question: A while ago, a user embedded the forums in a reply, is that possible with other websites? I wanted to implement a search system, so could I embed a website I make to make a search system in my guide? I don’t think that’s against the TOS, but I am going to check to be sure.

2 Likes

Using iframe?
It doesn’t seem to work…

If I remember correctly, they linked to a badge’s page. I’m going to try and find it.
Edit: Found it.
<iframe class='discobot-certificate' src='https://forum.creative.gimkit.com/discobot/certificate.svg?da=Aug+26+2023&type=advanced&user_id=26561' width='1366' height='300' alt='Advanced User Track Certificate of Achievement'></iframe>

Like this:
<iframe class='discobot-certificate' src='https://forum.creative.gimkit.com/discobot/certificate.svg?date=Aug+27+2023&user_id=1644' width='650' height='464' alt='Certificate of Achievement'></iframe>

But, if you make one of the values wrong:
<iframe class='discobot-certificate' src='https://forum.creative.gimkit.com/discobot/certificate.svg?date=Aug+27+2023&blar_id=1644' width='650' height='464' alt='Certificate of Achievement'></iframe>

`
2 Likes

MMM Javascript would be too much in the forums since doesn’t that build up/hold up an entire website usually?

1 Like

Mount Rainier - Wikipedia

here press this, its an press able image for example

it does not bring you anywhere though because that is not needed

I don’t see the image though.

You don’t? what do you see then?

1 Like

I just see this icon:

press that question mark and see what happens, maybe it troubleshoots it

likely a school blocker thingy blocking the https://upload.wikimedia.org domain
try to access that site, if it says blocked, then it wont let you see the image

1 Like

Oh, it’s just my wifi blocking wikipedia.

1 Like

;-; was just testing intensely long html code

Bro what I’m so confused lol

You should be!

2 Likes