[ / / / / / / / / / / / / / ] [ dir / ask / canada / f / htg / leftpol / newbrit / ss / strek ]

/christian/ - Christian Discussion and Fellowship

For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life.
Email
Comment *
File
* = required field[▶ Show post options & limits]
Confused? See the FAQ.
Flag
Embed
(replaces files and can be used instead)
Options
Password (For file and post deletion.)

Allowed file types:jpg, jpeg, gif, png, webm, mp4, pdf
Max filesize is 16 MB.
Max image dimensions are 15000 x 15000.
You may upload 5 per post.


Christchan is back up after maintenance! The flood errors should now be resolved. Thank you to everyone who submitted a bug report!

File: 2d9ebcd16a05af7⋯.jpg (189.83 KB, 1297x870, 1297:870, image.jpg)

8bcbe3 No.549725

Share useful UserJS scripts for the board.


(function() {
'use strict';

var decoratePost = function(el) {
var flag = el.querySelector('img.flag');
if (!flag) flag = {};
var style;
switch (flag.alt) {
case 'Baptist':
case 'Protestant':
case 'Lutheran':
style = {outline: 'outset 4px green'};
break;
case 'Orthodox':
case 'Catholic':
case 'Anglican':
case 'Eastern Catholic':
case 'Assyrian':
case 'Coptic':
case 'Presbyterian':
style = {outline: 'outset 4px red'};
break;
default:
case 'Calvinist':
case 'Methodist':
case 'Presbyterian':
style = {outline: 'outset 4px orange'};
break;
}
for (var key in style) {
if (style.hasOwnProperty(key)) {
el.style[key] = style[key];
}
}
};

var posts = document.getElementsByClassName('post');
for (var i = 0; i < posts.length; i++) {
decoratePost(posts[i]);
}

document.addEventListener('DOMNodeInserted', function(e) {
var el = e.target;
var classList = el.classList;
if (!classList) {
return;
}
for (var i = 0; i < classList.length; i++) {
if (classList[i] === 'post') {
decoratePost(el);
break;
}
}
});
})();

Image related is how it looks. Enjoy!

55883c No.549728

hahaha, is this intended for easily marking people you consider to be 'heretics'?


5d7029 No.549775

>>549725

Thanks for the script man. It really brings out just how many Catholics there are on here.


5311e4 No.549781

Interesting, thanks for the script.


ef837e No.549784

>>549725

Interesting JS. But not everyone uses a flag.


684fef No.549816

Stupid question but how can I add it ? How can I make it work ? (of course I will change the color settings)


4e7263 No.549825

>>549816

Click [Options] in the top-right corner, click "User JS" on the left side, paste in your code, and click "Save custom Javascript" at the bottom.


0f7520 No.549833

File: cb1c6d20f18ca3d⋯.jpg (48.43 KB, 424x283, 424:283, spoonfeeding-baby.jpg)


4e7263 No.549835

>>549833

>making fun of me for helping that guy

You're Baptist, aren't you?


0f7520 No.549836

>>549835

You're new, aren't you?


4e7263 No.549838

>>549836

I've been here about a year. Is there something wrong with helping others?


0f7520 No.549840

>>549838

By feeding them certain information, you are allowing them to stagnate, instead of lurking and learning on their own.

If the anon was unaware of how to apply code, it is likely he is new, and should lurk more. Had he asked for a source on something an anon claims, for instance, that should be delivered. But not features of the site. The correct answer for a question like that is "lurk more", so that they can learn and grow to be a better poster.

Ironically, I am spoonfeeding this information to you, but it is apparently necessary.


cc5302 No.549844

>>549840

ive been here since alex "the inactive" and i didnt know about this am i a slow learner


ef837e No.549845

>>549838

>Is there something wrong with helping others?

No, there isn't. Some folks just can't let go of the old 4chan /a/ "culture" where people would be ridiculed endlessly for asking from what anime an image came. It became ingrained so much into the culture of 4chan that very, very few of us remember from where it originated.

It's an attitude that really has no place here and people should be helped and their questions answered.


9751e7 No.549846

>>549725

you have presby in orange and in red


4e7263 No.549847

>>549840

"lurk more" really only applies to learning the culture of the board. The other guy probably never fiddled with the site enough to discover this feature, which you wouldn't learn by lurking. You would have to look through the site options, which he probably has never done. Telling him, "lurk more," would not accomplish anything.

>>549844

No, you're not a slow learner. Like I said above, you probably never clicked the options button to see it.


684fef No.549849

>>549825

Thanks

>>549840

In fact I will stagnate in the matter of informatic and coding. It change nothing for my progression if he help me or not since I won't learn. I don't really care about coding etc, and it's neither the subject of this board nor the reason why I'm here. So it's not spoonfeeding because he help me about something it's not my duty or such to know. And lurking won't help there since it's not what we talk about. Every christanon doesn't need to learn informatic.

If he had to explain me for exemple what is the filioque or the something like that, there it will be spoonfeeding.


684fef No.549850

>>549849

* I don't really care about coding and learning all the features this site offers


5d7029 No.549851

File: 9ab1604232f9c16⋯.png (930 B, 235x30, 47:6, --christian-- Turning off ….png)

>>549844

> alex "the inactive"


8bcbe3 No.549887

>>549725

Whoops, didn't realize JS was site-wide. Add this after 'use strict'; so it only happens on /christian/:


if (!window.location.pathname.match(/^\/christian\//)) {
return;
}




[Return][Go to top][Catalog][Nerve Center][Cancer][Post a Reply]
Delete Post [ ]
[]
[ / / / / / / / / / / / / / ] [ dir / ask / canada / f / htg / leftpol / newbrit / ss / strek ]