r/reddithax • • Oct 12 '14
Possible to reference a string from another website?
Ok, this is weird to word. I'm trying to create a thing where every post tacks on a random number to the end of a username. I've accomplished part of this using the code:
.author+*:before {
content: "Number: ";
color: #4F0
}but how I get the random number is the troubling part. I figured out that I can get a clean cut string by making a request like:
http://www.random.org/integers/?num=1&min=10000000&max=100000000&col=1&base=10&format=plain&rnd=newIs there any way to integrate the request after the "Number: " ?
2
Upvotes
View all comments
1
u/ChezMere Oct 12 '14
Impossible by that method. Use the post ID or a substring thereof as your random number instead.