Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

userscript support throd

Name: aeosynth !zdxFBW2hCw 2010-02-14 21:28

instead of registering on us.o just to make one post, you can use this thread. questions, comments, feature requests, patches are all fine.

I'll provide support for everything listed at http://userscripts.org/users/64431/scripts.

Name: Anonymous 2010-05-08 2:49

There's a problem with /b/ackwash and the thread updater where if you inline the last post, the updater adds the entire thread over again.

Name: aeosynth !zdxFBW2hCw 2010-05-08 4:34

>>239
fixed

>>240
you could try the github rewrite, it's basically complete.

>>241
confirmed

Name: Anonymous 2010-05-08 8:57

The quick reply appears to be broken on the latest update.


On another note: using a custom style here, forcing .reply to a certain width seems to also make the thread updater/thread watcher the same width, witch is rather an annoyance when it covers up the reply area. Any possible fix?

Name: Anonymous 2010-05-08 9:00

>>243
here

well fuck me, it doesn't work at all :(

Name: Anonymous 2010-05-08 9:25

td.reply fixed it


dicks.

Name: Anonymous 2010-05-08 11:28

this line seems to have broken the script
>tag = document.createElement
You might want to fix this.

Name: Anonymous 2010-05-08 11:31

>>246
Also, the quick reply is even more messed up in opera now.

Name: Anonymous 2010-05-08 11:35

>>247
Wait, never mind.

Name: aeosynth !zdxFBW2hCw 2010-05-08 12:48

god damn it. fixed.

Name: Anonymous 2010-05-08 19:21

>>242
Thanks!  The Github version works (although I do miss the hidden-postcount and stubs).

Name: Anonymous 2010-05-08 23:06

>>250
Actually, wait.  It doesn't auto-filter.  It only filters when I press "apply".  Once I reload the page, the filtered posts reappear.

Name: aeosynth !zdxFBW2hCw 2010-05-08 23:44

>>250
stubs
the big thing about the rewrite is the focus on letting you use your own arbitrary css. if you want stubs, have stubs:

/* unhide everything */
.hide, div.hide + hr {
  display: block !important;
}

div.hide > blockquote, div.hide > .omittedposts, div.hide > a > img, /* hide op stuff */
div.hide > table, /* when hiding a thread, hide entire reply */
table.hide blockquote, table.hide img /* when hiding individual replies, leave stubs */
{
  display: none !important;
}


in firefox, it's pretty trivial to add this and modify it in stylish, and a quick search shows that stylish has been ported to chrome - https://chrome.google.com/extensions/detail/fjnbnpbmkenffdnngjfgmeleoegfcffe?hl=en

posted a couple css references at >>211

hidden-postcount
it's a bit complicated since there's nothing special about hiding anymore - you can actually remove the 'hide' class entirely - so I need to think about how to display stats.

Name: aeosynth !zdxFBW2hCw 2010-05-09 0:22

>>251
doesn't auto-filter
did you disable the us.o filter? that only breaks after it unhides everything.

>>252
also you can have arbitrarily many classes. i think stats for the currently shown class should be displayed by default, with an option to display all stats.

Name: Anonymous 2010-05-09 6:10

>>252
Thanks, I'll give that a try.

>>253
Nvm, looks like it works now.  (For the record, I did uninstall the us.o filter before installing the github version.)

Name: Anonymous 2010-05-10 5:10

>>254
... And now it's broken again (doesn't filter a page until I click apply).  Darn.

Name: Anonymous 2010-05-10 6:55

>>255
Aha: Replies are being auto-hidden properly, but threads are not.  (And the stub CSS seems to be working.  Thanks!)

Name: aeosynth !zdxFBW2hCw 2010-05-10 20:05

>>256
alright, I grabbed the latest beta, found and fixed the error. updated on us.o.

Name: Anonymous 2010-05-11 2:58

>>257
Awesome, thanks!

Name: Anonymous 2010-05-12 23:03

­

Name: aeosynth !zdxFBW2hCw 2010-05-13 5:39

>>204
increments the countdown till next update instead of retrying.

added 'Retry'.

Name: Anonymous 2010-05-13 7:45

filter gets crazy when dealing with posts containing "reverse order" shit.
For example it contains the thing at the bottom of this post, which I don't write now cause it even fucks up this very text box!
See http://boards.4chan.org/b/res/227085248
And now
Go to:‮9p7n5/un.u

Name: Anonymous 2010-05-13 8:16

hi, I've been having problems with 4chan filter and 4chan x in Safari/glimmerblocker since 4chan x updated to 1.x (0.26.6 still works flawlessly).  Specifically, the filter will appear in-page but won't actually filter posts. 
I also get the same incompatibilities with the new 4chan x updater script.

Is there anything else I need to share to clarify my problem?

Name: aeosynth !zdxFBW2hCw 2010-05-13 8:49

>>262
does it work w/o glimmerblocker? take a look in safari's console for errors.

>>261
linking to a thread on /b/
yeah, next time, take a screenshot.

Name: Anonymous 2010-05-13 8:58

I get the following in the console:

>3072737:2301ReferenceError: Can't find variable: GM_deleteValue
>3072737:2744ReferenceError: Can't find variable: GM_registerMenuCommand

I use glimmerblocker to use userscripts.

Name: Anonymous 2010-05-13 9:47

>>263
Never mind the link or screenshot, just try to select slowly the last line of >>261 : you'll notice the URL gets selected backwards.
When pasting it in the Comment field and pressing ENTER, everything goes fine, the post is hidden.
But adding filters after that is nearly impossible, cursor goes the wrong way and typing is a mess...
Anyway, I found another example :
http://j.imagehost.org/view/0487/ScreenShot001

Name: aeosynth !zdxFBW2hCw 2010-05-14 3:23

>>265
you could delete the reversing character and replace it with a dot (regex char meaning 'match anything'). when I put my cursor after the semicolon and press delete twice, the text unreverses. then after typing a period, I have this in my filter:

Go to:.9p7n5/un.u

I'd recommend filtering the reverse character itself: \u202e

>>264
I see it.

Name: Anonymous 2010-05-15 0:21

>>260
thank you!

Name: Anonymous 2010-05-17 14:13

>>266
thank you, I'll use that!

Name: aeosynth !zdxFBW2hCw 2010-05-17 19:36

>>262
>>264
glimmerblocker
should be fixed. sorry for the wait, I don't always have access to a mac.

Name: INFECTED !i7MUSHROOM 2010-05-18 0:33

The quick report button is broken again.

Name: aeosynth !zdxFBW2hCw 2010-05-18 6:12

>>270
works fine for me in fx/chrome/opera. check console for errors, disable other scripts/addons. what browser / version are you using?

Name: INFECTED !i7MUSHROOM 2010-05-19 17:49

>>271
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3

It only does it on board pages (not individual thread pages). It selects the thread at the top of the page no matter which report button I click. It is the same problem I reported last time. I've disabled the other scripts (ya4cie, 4chan x updater, and 4chan filter) and it's still doing it.

Name: aeosynth !zdxFBW2hCw 2010-05-20 16:17

>>272
fixed / updated.

Name: Anonymous 2010-05-20 17:50

Question.
Is the autowatch feature only supported on FF?
Because on chromium whenever I make a new thread, it isn't automatically "watched".(whether I have the option selected or not)

It's not that important a feature for me anyway since it's merely a click away from watching the thread, but I wanted to know whether it works on the other browsers or it was broken.

Also,
Thank you.

Name: aeosynth !zdxFBW2hCw 2010-05-20 18:48

>>274
Is the autowatch feature only supported on FF?
yes. same principle as >>226 - you don't know what the thread id is until 4chan tells you, and it tells you on the sys domain, which is inaccessible from the boards domain due to security restrictions.

Also,
Thank you.
your welcome, Anonymous.

Name: Anonymous 2010-05-20 23:32

I keep switching between 4chan X and 4chrome because 4chrome has hover over a reply link to show a hovering box with the reply and because quick reply in it starts on the next line after the quote number, rather than right before the quote number, making you press down.
Not breaking, but still... Argh. It's hard to choose. Both are great, but 4chrome has some things I want and so does X.

Name: aeosynth !zdxFBW2hCw 2010-05-21 2:39

>>276
4chrome has hover over a reply link to show a hovering box with the reply
try /b/ackwash reloaded - http://userscripts.org/scripts/show/44327

quick reply in it starts on the next line after the quote number
I just installed 4chrome 9001.19, and it doesn't auto focus the text box, or add newlines.

Name: Anonymous 2010-05-23 11:38

How do I disable the "Hide" link near the quote number?
Disabling "Reply hiding" only removes the [-] next to the posts, but not the "Hide" link.

I sometimes accidentally click this instead of the quote number and it can get annoying.

I have also searched through the source for a "Hide" string, but it tells me no matches were found. What are you using to make this?

Name: aeosynth !zdxFBW2hCw 2010-05-23 12:01

>>278
that's in the 4chan filter, 'Manual Filtering'. It will be removed.

Name: Anonymous 2010-05-24 8:06

HEY AEOSYNTH

I hate to bother you with this off-topic post, but I kindly request your assistance. Currently in /sci/ and /lounge/ we're suffering from this troll who doesn't use a tripcode or a name to attention whore while he's trolling, but he ends all of his posts with the :/ emoticon as his identifier.

Someone on /sci/ coded a Greasemonkey script to filter his posts, and it does work, however it also has the unfortunate side effect of filtering all those legitimate posters who post URL links and other emoticon symbols. I also used the 4chan filter and put :/ into the comment field and it has the same exact effect (but at least with the 4chan filter I can easily turn it on/off under Opera). Anyway, I was wondering if it would be at all possible to simply filter the colon and ONE forward slash and not have it filter URLs and anything else but that. I would do this myself if I were an EXPERT PROGRAMMER and knew regex, but I do not know a lick of either.

I'd appreciate any and all help. If not, that's okay, and if it's not technically possible to accomplish, that's okay too. Thanks. Also, here's the code from the Greasemonkey script that the guy on /sci/ coded. Thanks.

(function(){
 var posts = [];
 var myclass = new RegExp('\\bpost\\b');
 var divs = document.getElementsByTagName('div')
 for(var i = 0; i < divs.length; ++i){
  var classes = divs[i].className;
  if(myclass.test(classes)) posts.push(divs[i]);
 }
 for(var i = 0; i < posts.length; ++i){
  var postername = posts[i].getElementsByTagName('span')[3];
  var postertrip = posts[i].getElementsByTagName('span')[4];
  var postbody   = posts[i].getElementsByTagName('blockquote')[0];
  if(/:\//.test(postbody.innerHTML))
   posts[i].parentNode.removeChild(posts[i]);
 }
})();

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List