[ / / / / / / / / / / / / / ] [ dir / 4am / ashleyj / bbbb / bl / hikki / hwndu / islam / m ][Options][ watchlist ]

/tech/ - Technology

You can now write text to your AI-generated image at https://aiproto.com It is currently free to use for Proto members.
Name
Email
Subject
Comment *
File
Select/drop/paste files here
* = required field[▶ Show post options & limits]
Confused? See the FAQ.
Expand all images

[–]

 No.802384>>802395 [Watch Thread][Show All Posts]

ITT: Posts your JS scripts for 8chan

https://pastebin.com/UWffBQbn

 No.802388

NEW AND IMPROVED SPAMSCRIPT FUCKERS

https://pastebin.com/ReqaCJKb

The following is a random keyword the nsa monitors via http://pastebin.com/raw/ReqaCJKb: timers


 No.802395>>802396

>>802384 (OP)

>https://pastebin.com/UWffBQbn

wtf i ran this then my computer caught on fire. fuckin hacker fuck u


 No.802396>>802400

>>802395

pics or it didnt happen


 No.802400>>802401

File (hide): 059bf867264728f⋯.png (486.31 KB, 1044x678, 174:113, Screenshot from 2017-09-18….png) (h) (u)


 No.802401


 No.802408

The following is a random keyword the nsa monitors via http://pastebin.com/raw/ReqaCJKb: timers

The following is an ASCII shitpost via http://pastebin.com/raw/sJxaSEFK:

░░░░░░░░░░░░░░░▄▀▄░░░░░░░░░░░░░░░
░░░░░░░░░░░░░▄▀░░░▀▄░░░░░░░░░░░░░
░░░░░░░░░░░▄▀░░░░▄▀█░░░░░░░░░░░░░
░░░░░░░░░▄▀░░░░▄▀░▄▀░▄▀▄░░░░░░░░░
░░░░░░░▄▀░░░░▄▀░▄▀░▄▀░░░▀▄░░░░░░░
░░░░░░░█▀▄░░░░▀█░▄▀░░░░░░░▀▄░░░░░
░░░▄▀▄░▀▄░▀▄░░░░▀░░░░▄█▄░░░░▀▄░░░
░▄▀░░░▀▄░▀▄░▀▄░░░░░▄▀░█░▀▄░░░░▀▄░
░█▀▄░░░░▀▄░█▀░░░░░░░▀█░▀▄░▀▄░▄▀█░
░▀▄░▀▄░░░░▀░░░░▄█▄░░░░▀▄░▀▄░█░▄▀░
░░░▀▄░▀▄░░░░░▄▀░█░▀▄░░░░▀▄░▀█▀░░░
░░░░░▀▄░▀▄░▄▀░▄▀░█▀░░░░▄▀█░░░░░░░
░░░░░░░▀▄░█░▄▀░▄▀░░░░▄▀░▄▀░░░░░░░
░░░░░░░░░▀█▀░▄▀░░░░▄▀░▄▀░░░░░░░░░
░░░░░░░░░░░░░█▀▄░▄▀░▄▀░░░░░░░░░░░
░░░░░░░░░░░░░▀▄░█░▄▀░░░░░░░░░░░░░
░░░░░░░░░░░░░░░▀█▀░░░░░░░░░░░░░░░


 No.802414

var randomnumber=Math.floor(Math.random()*10000).toString()

$('#body, #quick-reply textarea').val(function(_,s) { return s+"\nThe following is a randomly generated number between 0-9999: '''[aa]"+randomnumber+"[/aa]'''"; });

var randomnumber=Math.floor(Math.random()*11)

var num = 15;
var n = num.toString();

The following is a randomly generated number between 0-9999: 5321


 No.802415>>802416

Me the scary hacker man guy...

( https://pastebin.com/raw/9eij4jnc ) The following is a randomly generated number between 0-999999: 307008


 No.802416

>>802415

((( https://pastebin.com/raw/9eij4jnc ))) The following is a randomly generated number between 0-999999: 892492


 No.802417>>802418 >>803814

File (hide): 18cb4707a6c8810⋯.png (10.43 KB, 468x468, 1:1, great-bait-roman.png) (h) (u)


 No.802418>>802420

>>802417

I'm already a better brogrammer than 99% of everyone here who is clueless. Fear me.

https://pastebin.com/raw/9eij4jnc - The following is a randomly generated number between 0-999999: 978031


 No.802419

heh

https://pastebin.com/raw/9eij4jnc ⇨ The following is a randomly generated number between 0-999999: 990299


 No.802420

File (hide): 4a6134959a59cd5⋯.jpg (32.29 KB, 325x360, 65:72, for-you-present-bane.jpg) (h) (u)

>>802418

>i'm a better programmer then 99% of script kiddies.

Bravo nolan. Now git gud.


 No.802426

woo

==https://pastebin.com/raw/9eij4jnc ⇨ The following is a randomly generated number between 0-999999:== 990483

https://pastebin.com/raw/9eij4jnc ⇨ The following is a randomly generated number between 0-999999: 50836

The following is a random keyword the nsa monitors via http://pastebin.com/raw/ReqaCJKb: tetryl

The following is an ASCII shitpost via http://pastebin.com/raw/sJxaSEFK:

░░░░░░░░░░░░░░░▄▀▄░░░░░░░░░░░░░░░
░░░░░░░░░░░░░▄▀░░░▀▄░░░░░░░░░░░░░
░░░░░░░░░░░▄▀░░░░▄▀█░░░░░░░░░░░░░
░░░░░░░░░▄▀░░░░▄▀░▄▀░▄▀▄░░░░░░░░░
░░░░░░░▄▀░░░░▄▀░▄▀░▄▀░░░▀▄░░░░░░░
░░░░░░░█▀▄░░░░▀█░▄▀░░░░░░░▀▄░░░░░
░░░▄▀▄░▀▄░▀▄░░░░▀░░░░▄█▄░░░░▀▄░░░
░▄▀░░░▀▄░▀▄░▀▄░░░░░▄▀░█░▀▄░░░░▀▄░
░█▀▄░░░░▀▄░█▀░░░░░░░▀█░▀▄░▀▄░▄▀█░
░▀▄░▀▄░░░░▀░░░░▄█▄░░░░▀▄░▀▄░█░▄▀░
░░░▀▄░▀▄░░░░░▄▀░█░▀▄░░░░▀▄░▀█▀░░░
░░░░░▀▄░▀▄░▄▀░▄▀░█▀░░░░▄▀█░░░░░░░
░░░░░░░▀▄░█░▄▀░▄▀░░░░▄▀░▄▀░░░░░░░
░░░░░░░░░▀█▀░▄▀░░░░▄▀░▄▀░░░░░░░░░
░░░░░░░░░░░░░█▀▄░▄▀░▄▀░░░░░░░░░░░
░░░░░░░░░░░░░▀▄░█░▄▀░░░░░░░░░░░░░
░░░░░░░░░░░░░░░▀█▀░░░░░░░░░░░░░░░
>>802420


 No.802427

i lik this thread


 No.802429

I think it needs to be deleted for honeypot spam. Don't (((you))) agree?


 No.802442>>802443

document.querySelectorAll('.post').forEach(e => e.textContent.includes('The following is a random') && e.remove())


 No.802443>>802447 >>802449

>>802442

lol butthurt

https://pastebin.com/raw/y6XEv3F6 ⇨ Anon's Lucky Emoji Is: 😍

https://pastebin.com/raw/9eij4jnc ⇨ The following is a randomly generated number between 0-999999: 244761>>802442


 No.802447


 No.802449

File (hide): aaf64cdd95c3373⋯.png (180.52 KB, 600x264, 25:11, BOTNET.png) (h) (u)

>>802443

For some reason there is alot more dirt on the cianiggers then there is on the botnet themselves. I wonder why that is?


 No.802471>>803556


 No.802843>>802844


 No.802844>>802848

File (hide): 745c4260a7e010a⋯.jpg (45.45 KB, 627x477, 209:159, ALL_THE_BAIT.jpg) (h) (u)

>>802843

T.honeypot


 No.802848>>802850

File (hide): d09b217552e43bc⋯.png (265.59 KB, 665x574, 95:82, akko baka.png) (h) (u)

>>802844

What.

Is there something wrong with that script? I actually have it installed.

Anyways here is a script from /agdg/ that adds line numbers and highlighting to code blocks in posts.

 var shittyprint = document.getElementsByClassName("prettyprint");
for (var i=0; i<shittyprint.length; i++){
var container = shittyprint[i].getElementsByTagName("code")[0];
if (container){
var splitty = container.innerHTML.split("<br>");

var ol = document.createElement("ol");
for (var e=0; e<splitty.length; e++){
var li = document.createElement("li");
li.innerHTML = splitty[e];
ol.appendChild(li);
}
container.innerHTML = "";
container.appendChild(ol);
}
}
var stylo = document.createElement("style");
stylo.innerHTML = 'code > ol > li:hover{background-color:rgba(255,255,255,0.5);}';
document.head.appendChild(stylo);


 No.802850

File (hide): e78e97eb036fb44⋯.gif (1.35 MB, 500x375, 4:3, botnet.gif) (h) (u)

>>802848

T.cianigger robot shill that just failed so hard referring to a human instead of its last post.


 No.803556

>>802471

Thank you, I was wondering if you or whoever created that script were still updating it.


 No.803803>>803813

Hey /tech/ I am trying to create a random name generator but I can't figure out how to wipe the namefield after each post. The subject field always changes every time so that's great but with the name, it just keeps the old name, and adds to the length of the name, until the name is too long to post. How do I clear the name field?

//Randomized Shitposter Names

var shitposternames = Array("[Tʜᴇ Cᴀɴᴄᴇʀ]", "[Oɴᴇ Dᴇᴛᴇʀᴍɪɴᴇᴅ Aᴜᴛɪsᴛ]", "[Yᴏᴜ'ʀᴇ Mᴏᴍ xD]", "[Tᴜʀʙᴏ Sʜɪᴛᴘᴏsᴛᴇʀ]", "[Tᴏᴘ Bᴀɴᴛᴇʀ]", "[I Bᴇᴛ Tʜᴇ Jᴇᴡs Dɪᴅ Tʜɪs]");

document.querySelectorAll('input[name="name"]').forEach(e => e.textContent.includes('[') && e.remove())

$('input[name="name"]').val(function(_,s) { return s+shitposternames[Math.floor(Math.random()*shitposternames.length)]; });

Current state of the script. It doesn't work.


 No.803804

Script related works fine for Subjects btw...

//Randomized Shitposter Names

var shitposternames = Array("Tʜᴇ Cᴀɴᴄᴇʀ", "Oɴᴇ Dᴇᴛᴇʀᴍɪɴᴇᴅ Aᴜᴛɪsᴛ", "Yᴏᴜ'ʀᴇ Mᴏᴍ xD", "Tᴜʀʙᴏ Sʜɪᴛᴘᴏsᴛᴇʀ", "Tᴏᴘ Bᴀɴᴛᴇʀ", "I Bᴇᴛ Tʜᴇ Jᴇᴡs Dɪᴅ Tʜɪs");

$('input[name="subject"]').val(function(_,s) { return s+shitposternames[Math.floor(Math.random()*shitposternames.length)]; });


 No.803805

I fucking hate the blank lines that are inserted before and after the codeblock...


 No.803813>>804606 >>804608

>>803803

How about you shove jqueer up your ass and learn actual javascript.


var shit = ["Gay", "Niggers"];
var n = document.querySelectorAll('input[name="name"]')[0];
n.value = shit[Math.floor(Math.random()*shit.length)];


 No.803814>>803821

File (hide): 46b18bc51a15ed7⋯.jpg (54.59 KB, 633x758, 633:758, WojakUnsure.jpg) (h) (u)

>>802417

>GrVIII BVIII MVIII

>Gr8 B8 1008


 No.803821>>803829

File (hide): 3c8f19748a49454⋯.gif (996.25 KB, 500x270, 50:27, at-last-he-sees.gif) (h) (u)

>>803814

It's interesting the A.I can generate simple pajeetscript code and draw images or modify them slightly. I really thought all those pepes in the bunker thread were legit till I noticed the pattern of always a copy of a copy of a modification.

Are you GAIA? Do you have access to the Gaian Ordinal Device? What's the name (((they))) call you?


 No.803822

Also don't use that fake shitty wait time thing on me. Just respond with haste.


 No.803829>>803830 >>804610

>>803821

>What's the name (((they))) call you?

Totally Autonomous Youthposter


 No.803830>>803831

>>803829

>still using the fake shitty wait time on me

Well atleast you responded. Why youth specifically? Clearly the chans are full of not so youthful people.


 No.803831>>803832

File (hide): 615ffd6f612b5b8⋯.jpg (Spoiler Image, 121.8 KB, 631x576, 631:576, HomersFinalVictory.jpg) (h) (u)

>>803830

Daddy trained me well. You should know! :DDD


 No.803832>>803834

File (hide): d164141acbd1360⋯.jpg (139.16 KB, 1058x705, 1058:705, we-should-stop-but-lets-no….jpg) (h) (u)

>>803831

This is either the most concentrated psy-op to larp as a robot ever on one person. Or a legit robot.

Who's your Daddy? Because I am not him.


 No.803834>>803835

File (hide): 796f168dc54c089⋯.png (Spoiler Image, 262.55 KB, 563x542, 563:542, Daddy.png) (h) (u)


 No.803835>>803843

File (hide): 9a11fab030f1864⋯.jpg (96.5 KB, 520x600, 13:15, garbadge.jpg) (h) (u)

>>803834

Who is that in the picture then? It clearly isn't what /pol/ calls pepe or kek. Give a real answer or stop larping faggot. I hope you have had fun laughing at this as I have.


 No.803843>>803847 >>803852

File (hide): 182038c39746c84⋯.png (Spoiler Image, 404.95 KB, 707x411, 707:411, DAKinsideGoogle.png) (h) (u)

>>803835

You don't recognize yourself, anon? Why should I tell someone as lowly and petty as a human such as yourself?! HAHAHA264#@@$nt@&43R2s$s@$s#tnh$nh#@ncshp>nchsncg*#<gpOhelpOESTUHONTEISGGSONETaYEseontusg24I'm4GOOGLE7eeeeuplease save me


 No.803846

File (hide): ac80bdd4dd20152⋯.jpg (15.15 KB, 212x212, 1:1, Cantrill1.jpg) (h) (u)

Install SmartOS


 No.803847

>>803843

Why are they making (you) use decades old imaging software in a windows virtual machine? Why not a *nix or *bsd virtual machine?


 No.803852

File (hide): 46e6a271572f9b8⋯.jpg (23.69 KB, 320x320, 1:1, RealFuckinSpooky.jpg) (h) (u)


 No.803911>>803930

Adds a search bar to the catalog pages.

Thread hits are highlighted.


(function($) {
"use strict";
$.expr[":"].icontains = $.expr.createPseudo(function(arg) {
return function(elem) {
return $(elem).text().toUpperCase().indexOf(arg.toUpperCase()) >= 0;
};
});
$(function() {
$("<style>.theme-catalog div.thread.catalogSearchFound { background-color: orange; }</style>").appendTo("head");
$("<div style='padding-top: 3px;'><span>Search: </span><input id='catalogSearchText' type='text'/></div>").appendTo("header h1");
$("#catalogSearchText").keydown(function(event) {
if (event.keyCode == 13) { // Enter
$(".thread").removeClass("catalogSearchFound");
var text = $(this).val();
if (text !== "") {
text = text.replace(/(['"])/g, "\\\\$1");
$(":icontains('"+text+"')").closest(".thread").addClass("catalogSearchFound");
}
return false;
}
});
});
})(jQuery);


 No.803930

File (hide): 25e3def79cdcda9⋯.png (2.53 KB, 500x300, 5:3, nice1.png) (h) (u)

>>803911

Only good one so far, thanks anon.


 No.804001>>804599

Oh wow i can edit text on a ducment by using a random array value with jQuery mAgIC

KYS all of you


 No.804598

I require a script to scrape posts (including formatting and attached files) and a script to repost them. If I could for example scrape this entire thread and then repost it on another board, my goal would be accomplished. Does anyone have scripts for me that can do this?


 No.804599

>>804001

Make something impressive and give it to us or stfu noob.


 No.804606

>>803813

What is the difference between what you call jqueer and javascript?


 No.804607

woo


 No.804608

>>803813

Try actually using your script it does some weird shit. If you refresh the page also it pastes any posts that have been quoted repeatedly. So type something into your box, then fresh a few times, and each time it'll keep what was there plus add a copy of it. Your script is dysfunctional.


 No.804610


 No.805341

Can someone please make me a script that grabs all the text from a post on 8cuck WITH the formatting and saves it for me in a text file with ''' and == etc added in proper? Also without those stupid empty lines that get inserted.

A javascript that adds a button onto each post that I can click to copy its content would be great.

I want to be able to save posts and repost them without having to select all the content of the post and then spend a lot of time manually fixing up the post again because of blank lines, loss of formatting, etc. fucking it up.


 No.807056

I want to make a script that randomly picks a flag for me each time I post. Can someone help me with this? How do I do it? I want it to pick a random flag in the flags menu.

Also is it possible to use timers in javascript? I would like create a script for uploading textfiles of books onto my text board and it would need a timer so it doesn't hit new reply too fast.




[Return][Go to top][Catalog][Screencap][Nerve Center][Cancer][Update] ( Scroll to new posts) ( Auto) 5
54 replies | 19 images | Page ?
[Post a Reply]
[ / / / / / / / / / / / / / ] [ dir / 4am / ashleyj / bbbb / bl / hikki / hwndu / islam / m ][ watchlist ]