-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathscripts.js
45 lines (43 loc) · 6.99 KB
/
scripts.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
var quotes = [
"<q>Jean-Ralphio: You can't die full of regret. Why don't you live your life like <a href='https://youtu.be/h-PUW6y4F6c' target='_blank' class='jsLink'>that cow from the video?</a><br>Tom: He was a horse.<br>Jean-Ralphio: Yeah, because he followed his dreams.</q><br><br><cite>- Jean-Ralphio Saperstein</cite>",
"<q>I hope you brought a change of clothes. Your eyes are about to piss tears.</q><br><br><cite>- Jean-Ralphio Saperstein</cite>",
"<q>Step 1: We buy into this club. Step 2: We roll over to the club, either in your Mercedes Benz or my pre-owned Acura Legend. Step 3: I dagger you on the dancefloor. Just bounce, bounce, bounce,now all the ladies sayin', bounce. What do you say sexy?</q><br><br><cite>- Jean-Ralphio Saperstein</cite>",
"<q>You just missed the craziest of crazies. Clubs. Girls. Dancing. Naked. Mom? Argument. Police. Fleeing the scene. Hiding in a dumpster. Coming here. Crashing on your couch for a week 'cause ♪ Technically, I'm hoooooommmeeeeeleeessss. ♪</q><br><br><cite>- Jean-Ralphio Saperstein</cite>",
"<q>No, no, that's too much -- too much responsibility for me. I gotta--I gotta find a way out of this.</q><br><br><cite>- Jean-Ralphio Saperstein</cite>",
"<q>B to the O to the double S, do what he say and you'll be success... ful.</q><br><br><cite>- Jean-Ralphio Saperstein</cite>",
"<q>K to the N to the O-P-E, she's the dopest little shorty in all Pawnee... Indiana.</q><br><br><cite>- Jean-Ralphio Saperstein</cite>",
"<q>I say we invest our 10 large and I 'accidentally' get run over by a bus.</q><br><br><cite>- Jean-Ralphio Saperstein</cite>",
"<q>I'm here when you get here in the morning, sure enough, I'll be here tucking you into bed at night. Don't worry, it's not gay. Do we have questions?</q><br><br><cite>- Jean-Ralphio Saperstein</cite>",
"<q>I almost fell asleep during that sentence.</q><br><br><cite>- Jean-Ralphio Saperstein</cite>",
"<q>I made my money the old fashioned way. ♪ I got run over by a Leeeeeeeexuuuusss. ♪</q><br><br><cite>- Jean-Ralphio Saperstein</cite>",
"<q>When life gives you lemons, you sell some of your Grandma's jewelry and you go clubbin'.</q><br><br><cite>- Jean-Ralphio Saperstein</cite>",
"<q>See, girls get horny when you propose. That's why I do it all the time.</q><br><br><cite>- Jean-Ralphio Saperstein</cite>",
"<q>Will you do me one final kindness? Will you pretend to be my wife for an insurance scam? But then we fall in love for real. Also, can I have a pair of your gym socks--no wait. It's not for anything weird, it's just a fetish I have.</q><br><br><cite>- Jean-Ralphio Saperstein</cite>",
"<q>You down to clown? You in that rude mood?</q><br><br><cite>- Jean-Ralphio Saperstein</cite>",
"<q>Absolutely, and it's time to get that paper. Get get get get get that PA-per! Snake Juice sales are gonna be off the CHURT. Why? Because that shiz is straight-up del-oy-cious.</q><br><br><cite>- Jean-Ralphio Saperstein</cite>",
"<q>I like your energy hombre! What say you and I ride go karts later?</q><br><br><cite>- Jean-Ralphio Saperstein</cite>",
"<q>The only reason I wouldn't be there is if I got pulled over ♪ for violating my houuuuse arresssssst. ♪ Ahhhh, boosh! Judge gave me two ankle bracelets. Said it was the first time he ever had to do that. Uh, ya boy's a question on the bar exam!</q><br><br><cite>- Jean-Ralphio Saperstein</cite>",
"<q>Do you want to get run over? Because I know a guy. Super gentle. Minor scrapes and brushes. Major dollars and cents.</q><br><br><cite>- Jean-Ralphio Saperstein</cite>",
"<q>Jean-Ralphio: Stop it, hey what's up beautiful? Jean-Ralphio. I live in the guest house. What do you say you and I get together in a special way.<br>Ann: I'm pregnant.<br>Jean-Ralphio: The more the merrier.<br>Chris: With my baby.<br>Jean-Ralphio: Well you can come too, beautiful. Look at that. I guess sometimes I call men beautiful too. I guess I'm ♪ open-minded as HEEEEELLLLLLLLL. ♪</q><br><br><cite>- Jean-Ralphio Saperstein</cite>",
"<q>(To Ben Wyatt) I'm gonna help you out right now. Your name is... Angelo. Angelo, thank you so much for coming out. Get a thicker tie, it looks weird on you, it makes your head look like a fish. Secondly, I don't know where the paperwork is, but when you find it can you take care of it for us? We don't have any pens cuz we're afraid it's going to leak in our shirts. Lastly, I hate the name Angelo, I'm gonna switch it up for you right now. Your new nickname is... Jello Shot. What do you think about that J-Shot?</q><br><br><cite>- Jean-Ralphio Saperstein</cite>",
"<q>Awwww, Snapple! Are we calling everybody baby now? Because honestly, I love that.</q><br><br><cite>- Jean-Ralphio Saperstein</cite>",
"<q>Thank God my grandfather just died, so ♪ I am fluuu-uuushed with caaaa-aaaasshhh! ♪</q><br><br><cite>- Jean-Ralphio Saperstein</cite>",
"<q>R to the O to the N-N-N, I say Swanson's got swagger the size of Big Ben... clock.</q><br><br><cite>- Jean-Ralphio Saperstein</cite>",
"<q>Tommy, I will always be there for you, no matter what, but right now I cannot be there for you because I have to go.</q><br><br><cite>- Jean-Ralphio Saperstein</cite>",
"<q>Jean-Ralphio: I'm going to tell you something I once heard from a very smart woman named Kim.<br>Ben Wyatt: The woman who waxes you?<br>Jean-Ralphio: She told me 'if you don't love what you do then why do it?' Then she ripped the hair from my b-hole.</q><br><br><cite>- Jean-Ralphio Saperstein</cite>",
"<q>I'm gonna do the unthinkable. I'm gonna have a short, honest conversation with my father.</q><br><br><cite>- Jean-Ralphio Saperstein</cite>",
"<q>Accountant/coworker: Is this the new temp who's supposed to help me with the spreadsheets?<br>Jean-Ralphio: You wanna talk about spreadin' the sheets we can go back to my place and I will rock... your...<br>Barney: You're fired!<br>Jean-Ralphio: That makes sense. So I just go out the same way I came in?</q><br><br><cite>- Jean-Ralphio Saperstein</cite>",
"<q>Jean-Ralphio: Okay, okay, they bought it. Do you have the insurance money?<br>Mona-Lisa: No doubt, no doubt, let's hit it bro.<br>Jean-Ralphio: Time to start a casino in ♪ Taaajiiikistaaaaannn, ♪ talkin' about TajikiSTAN!</q><br><br><cite>- Jean-Ralphio Saperstein</cite>"
]
// Retrieved from: https://stackoverflow.com/questions/822452/strip-html-from-text-javascript
function strip(html) {
var tmp = document.createElement("DIV");
tmp.innerHTML = html;
return tmp.textContent || tmp.innerText || "";
}
function newQuote() {
var randomNumber = Math.floor(Math.random() * (quotes.length));
document.getElementById("randomQuote").innerHTML = quotes[randomNumber];
var thetext = strip(quotes[randomNumber]);
document.getElementById("tweetBtn").href = "https://twitter.com/intent/tweet/?text=" + thetext;
}