Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Array.prototype.random = function() {
- return this[Math.floor((Math.random() * this.length))];
- }
- sendMessage = function(to, title, content) {
- $.post('https://www.fxp.co.il/private_chat.php', {
- securitytoken: SECURITYTOKEN,
- do: 'insertpm',
- recipients: to,
- title: title,
- message: content,
- savecopy: 1,
- signature: 1,
- parseurl: 1,
- frompage: 1
- }).success(function(data) {
- console.log('Message sent successfully')
- });
- }
- createThread = function(title, content, fourmId, spamEnable = false) {
- if (spamEnable) {
- content = content + ' [COLOR=#fafafa]' + Math.floor(1000 + Math.random() * 9000) + '[/COLOR]'
- }
- $.post('https://www.fxp.co.il/newthread.php?do=newthread&f=' + fourmId, {
- 'prefixid': '',
- 'subject': title,
- 'message_backup': '',
- 'message': content,
- 'wysiwyg': 1,
- 's': '',
- 'securitytoken': SECURITYTOKEN,
- 'f': fourmId,
- 'do': 'postthread',
- 'posthash': '',
- 'poststarttime': '',
- 'loggedinuser': USER_ID_FXP,
- 'sbutton': 'צור אשכול חדש',
- 'signature': 1,
- 'parseurl': 1
- }).success(function(data) {
- if (!data.includes('https://www.fxp.co.il/newthread.php?')) {
- console.log('Thread created successfully')
- }
- });
- }
- setInterval(function() {
- title = `
- אם לא הייתי שוקולד הייתי קשת בענן
- מי שרב עקרב
- חצילים
- ספיידרמן אוהבת חצילים
- tbdkv434 אבא של שבת
- חציל חצוי לשניים
- אם אתה רב אתה אפס שמפס
- מיץ חציל
- מיץ שתן
- אי חציל
- חציל עמוק בתחת
- קאטחציל
- פאפאחציל
- מיץ לימונים
- `.trim().split('\n').random();
- content = `
- הנה עוד לקוח מרוצה
- `.trim().split('\n').random();
- createThread(title, content, 21, false)
- }, 5000);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement