Beep Boop Bip
[Return]
Posting mode: Reply
Name
Email
Subject   (reply to 1931)
Message
BB Code
File
File URL
Embed   Help
Password  (for post and file deletion)
  • Supported file types are: BMP, CSS, EPUB, FLAC, FLV, GIF, JPG, OGG, PDF, PNG, PSD, RAR, TORRENT, TXT, WEBM, ZIP
  • Maximum file size allowed is 10000 KB.
  • Images greater than 260x260 pixels will be thumbnailed.
  • Currently 764 unique user posts.
  • board catalog

File 157342507350.png - (597.37KB , 800x800 , update.png )
1931 No. 1931 [Edit]
If you look at the source of tohno-chan.com/so/arch/res/10862.html there's a redirect to one of those shady malvertising sites if your referrer matches one of the URLs in the "blockedurls" list. Based on the types of sites I'm assuming this is intentional on some part, but Tohno can you please change this to not redirect you to these sketchy sites.
Expand all images
>> No. 1932 [Edit]
>>1931
are you talking about the link to tumbler that >10862 posted in that thread? i think that would be pretty easy to fix, just change the filter from [tumbler.com] to [.tumbler.com]. honestly though, with a community like this i feel like these filters are highly unnecessary. nobody here is going to start linking to funny pictures they saw on facebook or reddit.
>> No. 1933 [Edit]
File 157343126913.png - (484.89KB , 1520x1452 , scrnshot.png )
1933
>>1932
No I'm talking about pic attached. This is followed by the code:


for (var i in blockedurls) {
if (document.referrer.indexOf(i) != -1) window.location.replace(blockedurls[i]);
}


so any inbound referers matching get redirected to those links.
>> No. 1934 [Edit]
>>1933
I've been redirected before when searching for old threads, like for an anime that aired a few years ago. I don't get why it happened, but if it's intentional, that's very obnoxious.
>> No. 1935 [Edit]
>>1934
Yes that's what I experienced too. It does seem it's only on the archived threads.
>> No. 1936 [Edit]
Sorry about that, yeah it was intentional to help prevent raids and such. I set it up years and years ago and kinda forgot about it. I thought I set it to redirect to a 404 page or.. something... oh! yeah that's right I think I was a NEET at the time and figured I'd use one of those ad clicking sites to at least make a buck off potential trolls. I'll fix that in a minute here. Some of those urls I should remove anyway. Sorry.
>> No. 1937 [Edit]
>>1933
Bit embarrassing to ask but what file was that in? I've been looking around and can't find the entry.
>> No. 1938 [Edit]
>>1937
It's an inline script as part of the main page. You should just be able to grep for "blockedurls" and find the corresponding file.

View catalog

Delete post []
Password  
Report post
Reason  


[Home] [Manage]



[ Rules ] [ an / foe / ma / mp3 / vg / vn ] [ cr / fig / navi ] [ mai / ot / so / tat ] [ arc / ddl / irc / lol / ns / pic ] [ home ]