RSS Feed/News I want to make a add on short url working in xenforo.

Status
Not open for further replies.

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
26,859
Points
823

Reputation:

Hello,
I want to make a addon on short url working in xenforo. Please, help for this. I am using JS. I am writing a code for this.

<script>
// Function to generate a random alphanumeric string
function generateRandomString(length) {
const characters = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789';
let result = '';
for (let i = 0; i < length; i++) {
result += characters.charAt(Math.floor(Math.random() * characters.length))...

Read more

Continue reading...
 
Status
Not open for further replies.
Top