LoyceV (OP)
Legendary
Offline
Activity: 3360
Merit: 16994
Thick-Skinned Gang Leader and Golden Feather 2021
|
|
December 14, 2020, 10:48:20 AM Last edit: December 14, 2020, 11:05:01 AM by LoyceV |
|
LoyceV, I like this idea very much. Can we have a timestamp (posting time) for each post as well? I don't keep the exact time of each post, only the time I scrape it. This is usually a few seconds later. I've added it (Amsterdam time). Suggestion: Make links within posts un-clickable. Done! After some searching, I added the following code to loyce.club/patrol/theymos.css: /* The following code came from https://css-tricks.com/how-to-disable-links/ (so not from theymos) to disable accidentally clicking on potential phisting links */ .ul { pointer-events: none; } I like this solution, the forum consistently uses <a class="ul" href=", so I can quite easily disable all links without editing the original HTML-code for each post. If someone is interested in the links posted they could follow the post number hyperlink back to the forum and check it here. If it is a spam post which would likely already be deleted, they can always check it on archive (although, there's little reason to want to do so). Or just manually copy/paste the link into a browser Update: quotes and image links are still clickable.
|
|
|
|
Upgrade00
Legendary
Offline
Activity: 2086
Merit: 2212
Playgram - The Telegram Casino
|
|
December 14, 2020, 11:13:52 AM |
|
Or just manually copy/paste the link into a browser Thanks for the quick response. Of course manually copying and pasting would be the easiest response, but I was considering a situation where hyperlink was used and it appeared as the personalized text not the original link, wasn't sure how exactly it would appear. Update: quotes and image links are still clickable.
Well newbies can't post images, so na harm there I guess. By quotes, do you man quoted replies of others?
|
|
|
|
▄▄███████▄▄███████ ▄███████████████▄▄▄▄▄ ▄████████████████████▀░ ▄█████████████████████▄░ ▄█████████▀▀████████████▄ ██████████████▀▀█████████ █████████████████████████ ██████████████▄▄█████████ ▀█████████▄▄████████████▀ ▀█████████████████████▀░ ▀████████████████████▄░ ▀███████████████▀▀▀▀▀ ▀▀███████▀▀███████ | ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ Playgram.io ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ | ▄▄▄░░ ▀▄ █ █ █ █ █ █ █ ▄▀ ▀▀▀░░
| │ | ▄▄▄███████▄▄▄ ▄▄███████████████▄▄ ▄███████████████████▄ ▄██████████████▀▀█████▄ ▄██████████▀▀███▄██▐████▄ ██████▀▀████▄▄▀▀█████████ ████▄▄███▄██▀█████▐██████ ██████████▀██████████████ ▀███████▌▐██▄████▐██████▀ ▀███████▄▄███▄████████▀ ▀███████████████████▀ ▀▀███████████████▀▀ ▀▀▀███████▀▀▀ | | │ | ██████▄▄███████▄▄████████ ███▄███████████████▄░░▀█▀ ███████████░█████████░░█ ░█████▀██▄▄░▄▄██▀█████░█ █████▄░▄███▄███▄░▄██████ ████████████████████████ ████████████████████████ ██░▄▄▄░██░▄▄▄░██░▄▄▄░███ ██░░░█░██░░░█░██░░░█░████ ██░░█░░██░░█░░██░░█░░████ ██▄▄▄▄▄██▄▄▄▄▄██▄▄▄▄▄████ ███████████████████████ ███████████████████████ | | │ | ► | |
|
|
|
LoyceV (OP)
Legendary
Offline
Activity: 3360
Merit: 16994
Thick-Skinned Gang Leader and Golden Feather 2021
|
|
December 14, 2020, 11:27:16 AM |
|
I was considering a situation where hyperlink was used and it appeared as the personalized text not the original link, wasn't sure how exactly it would appear. Good point, those require looking at the page source, or my archive. Well newbies can't post images, so na harm there I guess. It could still be a link to malware (say a directory called image.jpg so the browser opens image.jpg/index.html) but I haven't seen them yet. If someone clicks an image link and gets malware, I expect them to be smart enough not to download it. By quotes, do you man quoted replies of others? Yes. Apparently those use a different tag. That's fine, it links to the forum anyway.
|
|
|
|
hosseinimr93
Legendary
Offline
Activity: 2450
Merit: 5430
|
|
December 14, 2020, 05:33:32 PM Last edit: December 14, 2020, 05:45:13 PM by hosseinimr93 |
|
Suggestion: Make links within posts un-clickable. Done! Now, it's impossible to find posts like the one mentioned by TheBeardedBaby in this topic. For finding such hidden links, I usually hover the mouse cursor over the links and check them at bottom of my broswer without opening them. Despite of this, I agree with disabling links. My suggestion is to replace the links with tooltips, so that the real link is shown in a text box when you hover the mouse cursor over the disabled link. Off course, I don't know whether it's possible or not.
|
|
|
|
LoyceV (OP)
Legendary
Offline
Activity: 3360
Merit: 16994
Thick-Skinned Gang Leader and Golden Feather 2021
|
|
December 14, 2020, 06:22:45 PM |
|
For finding such hidden links, I usually hover the mouse cursor over the links and check them at bottom of my broswer without opening them. I thought of that after my change too. My suggestion is to replace the links with tooltips, so that the real link is shown in a text box when you hover the mouse cursor over the disabled link. If anyone has the CSS for this, that would be really cool
|
|
|
|
FatFork
Legendary
Offline
Activity: 1652
Merit: 2613
Top Crypto Casino
|
|
December 14, 2020, 07:10:08 PM |
|
For finding such hidden links, I usually hover the mouse cursor over the links and check them at bottom of my broswer without opening them. I thought of that after my change too. My suggestion is to replace the links with tooltips, so that the real link is shown in a text box when you hover the mouse cursor over the disabled link. If anyone has the CSS for this, that would be really cool I don't know about tooltips (at least not without javascript) but you can add this to CSS to display the contents of the href tag. You'll probably want to add some CSS selector in front as this applies to the entire document. Replace the square brackets with something else if you don't like them. a::after { content: " [" attr(href) "]"; }
|
|
|
|
LoyceV (OP)
Legendary
Offline
Activity: 3360
Merit: 16994
Thick-Skinned Gang Leader and Golden Feather 2021
|
|
December 14, 2020, 07:17:23 PM |
|
I don't know about tooltips (at least not without javascript) but you can add this to CSS to display the contents of the href tag. You'll probably want to add some CSS selector in front as this applies to the entire document. Sample: https://loyce.club/patrol/test.htmlThis looks terrible, and I don't know enough about CSS to fix this.
|
|
|
|
FatFork
Legendary
Offline
Activity: 1652
Merit: 2613
Top Crypto Casino
|
|
December 14, 2020, 07:19:13 PM |
|
I don't know about tooltips (at least not without javascript) but you can add this to CSS to display the contents of the href tag. You'll probably want to add some CSS selector in front as this applies to the entire document. Sample: https://loyce.club/patrol/test.htmlThis looks terrible, and I don't know enough about CSS to fix this. Just give me a second...
|
|
|
|
TryNinja
Legendary
Offline
Activity: 2884
Merit: 7190
Top Crypto Casino
|
|
December 14, 2020, 08:40:09 PM Last edit: December 14, 2020, 08:59:33 PM by TryNinja |
|
It does indeed. At least do something like this: .post a::after { content: " [" attr(href) "]"; color: #666; } Makes it readable and doesn't break the rest of the page.
|
|
|
|
FatFork
Legendary
Offline
Activity: 1652
Merit: 2613
Top Crypto Casino
|
|
December 14, 2020, 08:49:29 PM |
|
Dammit! I can display href content in the tooltip but I can't find a way to display the tooltip with pointer-events disabled. Anyway, here's CSS so maybe someone has an idea (TryNinja?). I've added CSS selectors to apply only to posts. .post a.ul { position: relative; z-index: 2; /* pointer-events: none; */ } /* hide the tooltip by default */ .post a.ul:before, .post a.ul:after { visibility: hidden; opacity: 0; pointer-events: none; }
/* place tooltip above the element */ .post a.ul:before { position: absolute; bottom: 150%; left: 50%; margin-bottom: 5px; margin-left: -80px; padding: 7px; width: 200px; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; background-color: #000; background-color: hsla(0, 0%, 20%, 0.9); color: #fff; content: attr(href); text-align: center; font-size: 12px; line-height: 1.2; }
/* make tooltip look like a speech bubble */ .post a.ul:after { position: absolute; bottom: 150%; left: 50%; margin-left: -5px; width: 0; border-top: 5px solid #000; border-top: 5px solid hsla(0, 0%, 20%, 0.9); border-right: 5px solid transparent; border-left: 5px solid transparent; content: " "; font-size: 0; line-height: 0; }
/* show tooltip on hover */ .post a.ul:hover:before, .post a.ul:hover:after { visibility: visible; opacity: 1; }
@TryNinja you are missing a class selector in your code. It should be
|
|
|
|
LoyceV (OP)
Legendary
Offline
Activity: 3360
Merit: 16994
Thick-Skinned Gang Leader and Golden Feather 2021
|
|
December 15, 2020, 10:33:51 AM |
|
At least do something like this: It's an improvement, but now the gray links can't be selected. And it still makes the posts messy. Dammit! I can display href content in the tooltip but I can't find a way to display the tooltip with pointer-events disabled. This is currently running on loyce.club/patrol/test.html. The tooltip kinda defeats the purpose if the URL is still visible on the bottom of my browser. I won't change this (yet). A tooltip would be perfect, but I don't think anything less than that is worth messing up the posts this much when this spam is still very rare.
|
|
|
|
nullius
|
|
December 18, 2020, 02:02:34 AM |
|
Objections: - It won’t work. This is trivial for spambot authors to work around. All that a bot needs to do is to make one post which will have a high probability of passing human review from someone who is not following the thread in which the post is made. The old spammer trick of copying and pasting an earlier post in a long thread can be fully automated—as can a text spinner, to prevent catching that with a bot, too.
What I predicted, I have now observed in the wild: A spambot account starts with a few posts that look plausible when viewed out of context, with text that looks copied and pasted from somewhere. Meta LogDateTime | Action | Detail | 12/18/2020 12:28:01 AM | Changed to Archived status | Nuke user |
Spamfighter advice: Never unfollow old threads. Context is your friend. You best know the threads in which you yourself have actively participated.I caught this one because its second post was on an old thread that is still on my watchlist. The post was fully grammatical, and it did not contain any links (not even hidden links). Nobody would report that as spam, let alone as a spambot automated post. Because I remembered the context of the thread, I immediately detected that the post made no sense: Its content was totally irrelevant to the subject matter of the thread. It was not related to any of the prior posts in the 13-page thread—not even as a topic-drifting side discussion! But if you were to view the post without reading the whole thread, then you would not see it as spam. It doesn’t look like spam. Whereupon I examined the account’s post history, and I found that its first post was of the same nature: More or less grammatical, no links, sensible within its four corners, and totally irrelevant to the context of the thread. Read that post, and ask yourself if you would report it. Then, view the context and ask again. A list for scrutinizing each account’s first post (or even its first few posts) would not catch this.
I can think of some easy ways for the spambot authors to attempt blending into the context. For obvious reasons, I don’t want to explain. Suffice it to say, an intelligent reader who has actively participated in a discussion has the best vantage point for catching any automated tricks. —Unless the spambot authors were somehow to make their bots write good, original posts that contribute to the substance of discussions! That would not be a bad outcome.
|
|
|
|
LoyceV (OP)
Legendary
Offline
Activity: 3360
Merit: 16994
Thick-Skinned Gang Leader and Golden Feather 2021
|
|
December 21, 2020, 07:49:19 PM |
|
This project got stuck on a post without userID. I don't know what happened there. I only saw it after 3 days. It works again.
|
|
|
|
FatFork
Legendary
Offline
Activity: 1652
Merit: 2613
Top Crypto Casino
|
|
December 21, 2020, 09:07:55 PM |
|
This project got stuck on a post without userID. I don't know what happened there. I only saw it after 3 days. It works again. Is it possible that the scraper was trying to get a post that had been deleted in the meantime? I see a deleted post in the modlog. Delete reply: Re: Build a bitcoin app for the tonido app store and win an ipod touch ? in topic #3110 by member #2911613
|
|
|
|
LoyceV (OP)
Legendary
Offline
Activity: 3360
Merit: 16994
Thick-Skinned Gang Leader and Golden Feather 2021
|
|
December 21, 2020, 09:36:07 PM |
|
Is it possible that the scraper was trying to get a post that had been deleted in the meantime? Only if Recent Posts showed the post without the username.
|
|
|
|
LoyceV (OP)
Legendary
Offline
Activity: 3360
Merit: 16994
Thick-Skinned Gang Leader and Golden Feather 2021
|
|
December 26, 2020, 02:23:40 PM |
|
I've reduced the update frequency from once a minute to once every 5 minutes.
|
|
|
|
LoyceV (OP)
Legendary
Offline
Activity: 3360
Merit: 16994
Thick-Skinned Gang Leader and Golden Feather 2021
|
|
May 16, 2021, 09:26:40 AM |
|
The 1000 first posts cover only one week. I would have expected most of those users to be new users, but it turns out many of them use an older account (which means they just made the first post since I started this topic 5 months ago).
|
|
|
|
The Sceptical Chymist
Legendary
Offline
Activity: 3388
Merit: 6887
Top Crypto Casino
|
|
June 15, 2021, 11:48:36 PM |
|
The 1000 first posts cover only one week. I would have expected most of those users to be new users, but it turns out many of them use an older account (which means they just made the first post since I started this topic 5 months ago). I know you posted this a month ago, but I just noticed it and find it an interesting fact. Any idea what's going on with that? I'm thinking many of them are account farmers, but who knows. I can't think of another reason why someone would register an account and wait that long to make their first post--and when that's happening with a number of accounts, it makes me a bit suspicious. The best way I suggested is to provides a bot that can put human to test to be sure that an account user is not a bot but a human.
Oh, you mean like the captcha thing that the forum already has?
|
|
|
|
|
LoyceV (OP)
Legendary
Offline
Activity: 3360
Merit: 16994
Thick-Skinned Gang Leader and Golden Feather 2021
|
|
February 07, 2023, 11:56:42 AM |
|
Bump into 2022! I stumbled upon this cronjob and had totally forgotten about it. It still works, but I set updates to be less frequent (every 20 minutes).
Since I started this, 185,433 users have made at least one post. Bump Bump! Bump! Go report some spam
|
|
|
|
|