[ int / pol / c / g / sp / qa / bz / shi / chr / ani / gg / mog / bb ] [ lib / j ] [ journal ] [ home ] [ rules ]

/qa/ - Questions to Woot

You came and rung the bell. Now you shall get the answers.
Name
Email
Subject
Comment
Verification
File
Embed
Password (For file deletion.)
Catalog

/chudpol/ is now up. You will come back and no, you shall stay here. Share your CULTURE. SHARE IT!

File: 1721759169133.png (388.69 KB, 1930x2070, 1720326264212-3.png)ImgOps Google Yandex

 No.5324

Add a quote button.

function doQuote(obj) {
$(window).trigger('cite', [0, false]);
var text = ">" + obj.closest(".post").querySelector(".body").innerText.split("\n").join("\n>");
text = text.replace(">\n", "\n");
var textareas = document.getElementsByName("body");
var scrollX = window.scrollX || window.pageXOffset;
var scrollY = window.scrollY || window.pageYOffset;

for (var i = 0; i < textareas.length; i++) {
textareas[i].value = text;

if (i + 1 == textareas.length){
textareas[i].focus();
}
}
window.scrollTo(scrollX, scrollY);
}

 No.5325

>function datamineUsers
uhhh

 No.5326

>>5325
Trvst the plan, goy.

 No.5327

quoting still works by pressing on ID.

>>5324
>>5325
>>function datamineUsers
uhhh
you can specify what part of the text to quote for it too.

 No.5330

>>5327
This is the code for the quote button on the Sharty. It's for soyquoting with the > not repying.

 No.5339

>>5327
I was just joking theres no part that says datamineUsers

 No.5343

okay



[Return][Go to top] Catalog [Post a Reply]
Delete Post [ ]
[ int / pol / c / g / sp / qa / bz / shi / chr / ani / gg / mog / bb ] [ lib / j ] [ journal ] [ home ] [ rules ]