User not logged in - login - register
Home Calendar Books School Tool Photo Gallery Message Boards Users Statistics Advertise Site Info
go to bottom | |
 Message Boards » » Better Wolf Web: a Greasemonkey script for Firefox Page 1 2 3 [4] 5, Prev Next  
lewisje
All American
8957 Posts
user info
edit post

oh oh ok

I do think you need an extension for that

1/14/2012 10:43:46 PM

FroshKiller
All American
49249 Posts
user info
edit post

So here's what I'm wanting to do with an extension.

I want to use Firefox's SQLite storage API to store more stuff locally. I'd like to regularly sync up with my database of NSFW threads and cache all the older ones on the client side to improve performance. I'd also like to build some private Facebook extensions into it.

1/17/2012 8:42:49 PM

FroshKiller
All American
49249 Posts
user info
edit post

I've been working on a new version of the Greasemonkey script, mostly focusing on breaking the code up into smaller libraries, refactoring, etc. I've added some additional voting options besides NSFW as well.

1/18/2012 10:26:40 PM

goalielax
All American
9675 Posts
user info
edit post

i have no clue about the feasibility of either of these, but....

bit.ly or other such way of shortening links over xxx characters so you don't end up scrolling side to side?

an auto-image resize that scales anything over a certain size?

1/25/2012 4:26:13 PM

FroshKiller
All American
49249 Posts
user info
edit post

I could shorten URLs, sure. The script already scales images to a maximum width of 84% of the viewport width.

1/25/2012 5:50:57 PM

goalielax
All American
9675 Posts
user info
edit post

ah, i must have been on my wife's comp when I posted that about the pics

1/30/2012 10:36:11 AM

mdozer73
All American
8002 Posts
user info
edit post

can you script to search by the polling options?

2/15/2012 4:48:14 PM

lewisje
All American
8957 Posts
user info
edit post

can you put the bomp in the bomp bah bomp bah bomp

2/19/2012 2:15:55 AM

ncsuallday
Survive and Advance
6014 Posts
user info
edit post

is there a newer version than the one on the first page? jw

3/16/2012 1:57:07 AM

dakota_man
All American
26581 Posts
user info
edit post

http://www.thewolfweb.com/message_topic.aspx?topic=625494

See: The bold and italicized second suggestion.

3/26/2012 6:23:43 PM

Krallum
56A0D3
14365 Posts
user info
edit post

Can you make it so any line in CB that contains the word "nudes" gets censored?

I'm Krallum and I approved this message.

4/5/2012 2:52:22 PM

Klatypus
Freedom Twerker
5786 Posts
user info
edit post

^Then EMCE would always get blocked from the CB ...... ohhh wait a sec... I like where this is going! let's do this

[Edited on April 5, 2012 at 6:02 PM. Reason : .]

4/5/2012 5:56:03 PM

Krallum
56A0D3
14365 Posts
user info
edit post

please, this is an emergency froshkiller

I'm Krallum and I approved this message.

4/5/2012 6:43:05 PM

GeniuSxBoY
Suspended
16786 Posts
user info
edit post

Quote :
"Then EMCE settledown would always get blocked from the CB ...... ohhh wait a sec... I like where this is going! let's do this"


ftfy

4/6/2012 9:07:23 PM

Krallum
56A0D3
14365 Posts
user info
edit post

Quote :
"Then EMCE settledown jcg15 would always get blocked from the CB ...... ohhh wait a sec... I like where this is going! let's do this"


ftfy

I'm Krallum and I approved this message.

4/6/2012 11:00:26 PM

BubbleBobble
:3
103506 Posts
user info
edit post

qntmfred when might you be implementing the side 3 code and layout

it's really good stuff from what I've noticed


you should also make it so there's quote button next to people's posts (for easier quoting)

that functionality is on pretty much all other boards I'm on


andddd you're not actually transferring ownership of TWW are you? was that just a joke or wut

4/9/2012 8:01:43 PM

Klatypus
Freedom Twerker
5786 Posts
user info
edit post

good god can no one click the asterisk in that thread?


sheesh

4/10/2012 3:08:07 PM

jtw208
 
5290 Posts
user info
edit post

recently this user script has not been blocking posts. It shows up properly in the section view, saying "a blocked user" under the "last post" column. It also hides threads created by blocked users. But the actual posts are shown, where before they were hidden, and "Click to show post" was shown.

What happen?

4/20/2012 4:37:31 PM

jtw208
 
5290 Posts
user info
edit post

^

5/8/2012 12:26:35 PM

jtw208
 
5290 Posts
user info
edit post

^^

5/24/2012 8:47:39 AM

Krallum
56A0D3
14365 Posts
user info
edit post

What's the status on that cb nudes hotfix?

I'm Krallum and I approved this message.

5/24/2012 8:54:41 PM

jtw208
 
5290 Posts
user info
edit post

this is still not blocking posts. pretty much all it's good for now is NSFW flags

is nobody else having this problem?

6/18/2012 3:54:11 PM

GeniuSxBoY
Suspended
16786 Posts
user info
edit post

I'm pretty sure you're talking to a wall.

6/18/2012 7:58:57 PM

BIGcementpon
World Traveler
11085 Posts
user info
edit post

nvm

[Edited on June 19, 2012 at 2:34 PM. Reason : Greasemonkey was all crashed out and junk]

6/19/2012 2:33:38 PM

lewisje
All American
8957 Posts
user info
edit post

I've had some super happy fun time with Better Wolf Web; first, I fixed a slight styling issue in Opera (changing a margin-top from -1em to 0 so posts wouldn't jump up out of their boxes), and I papered over an issue with that forum combo-box on the forum pages, and I also discovered that although the "User Script Commands" box with the "clear blocked users list" still doesn't work in Chrome for some reason, it does work in Opera...however, I can't get the script to pull that JSON in Opera so it can discover which threads are NSFW, even though it works fine in Chrome...

(also I discovered that I can't upgrade the versions of jQuery or Sizzle and still expect the script to work)

Now on to the enhancements; first, I changed the URL for the Google MP3 Player, which has changed since the script was first created, and I also tried to force YouTube to use the old AS2 player (which will go away on 14 October 2012), as FroshKiller intended, even when the /embed URL is posted (additionally, I used HTTPS rather than HTTP where possible).

Next, I extended the number of mapping services whose iframe-based embeddings are left alone, and I added support for DailyMotion, Facebook, and MySpace video embedding, as well as the YouTube video shortener youtu.be, which I will try to showcase below...

The following three are different ways to get to that Trader Joe's song I posted about in this thread: http://thewolfweb.com/message_topic.aspx?topic=616416&page=4

youtube.com video-page
https://www.youtube.com/watch?v=OdB7GDZY3Pk

youtube.com embed-page
https://www.youtube.com/embed/OdB7GDZY3Pk

youtu.be
http://youtu.be/OdB7GDZY3Pk

This DailyMotion user wants to know where he should shop if not Trader Joe's...
http://www.dailymotion.com/video/xk83xq_if-i-can-t-shop-at-trader-joe-s-where-should-i-go-876_news

These people in Winston-Salem wanted a Trader Joe's so much, they made their own song about it...
https://www.facebook.com/video/video.php?v=1938406534484&oid=203286453041279&comments

This MySpace video isn't about that grocery store at all, because it gets old after a while.
http://www.myspace.com/video/ashley-pridgen/graduation-tattoo/23825862

I was about to also bring in Nico Nico Douga and Twitvid, but I decided to go ahead and let you know what I've done so far.


Anyway, you probably wanted the fruits of my labor, so here are the links...
Firefox: http://jansal.net/better_wolf_web_firefox.user.js
Chrome: http://jansal.net/better_wolf_web_chrome.user.js
Opera: http://jansal.net/opera/salr/better_wolf_web_opera.user.js
Also, the old link I had posted to an "Opera version" no longer works.

[Edited on June 23, 2012 at 12:21 PM. Reason : I eschewed the iframe embeds because they make a lot of annoying pageloads in the forum.

6/23/2012 11:52:04 AM

lewisje
All American
8957 Posts
user info
edit post

Okay, I fixed the problem with Google MP3 Player...by instead using a different and more extensible player: http://flash-mp3-player.net/players/maxi/generator/
See it in action here: /message_topic.aspx?topic=285622&page=697#15437545
I went ahead and downloaded the base player at http://flash-mp3-player.net/medias/player_mp3_maxi.swf and uploaded it to my own webspace (in case flash-mp3-player.net goes down) as http://jansal.net/player_mp3_maxi.swf because it didn't work when I used this tool to make a data: URI out of it: http://dopiaza.org/tools/datauri/

Another nice place for the SWF file to go to is lolibrary.org, and if it does get uploaded there I'll go ahead and 301 my own copy to that one.

6/23/2012 3:13:16 PM

lewisje
All American
8957 Posts
user info
edit post

Inspired by a recent playlist posting I made, I decided to start turning YouTube playlist URLs into embedded players; note that if it's a post like "youtube.com/watch?v=videoIDhere&list=PLCAFEBABEDEADBEEF" then it will be interpreted as a regular video-post; maybe some slightly more advanced regex hackery can extract the playlist ID where it exists and then build up an embed that starts off that playlist...in short, the quote on my user profile is def. true today: /message_topic.aspx?topic=628560#15437806

6/23/2012 9:20:35 PM

lewisje
All American
8957 Posts
user info
edit post

Okay, now I'll test a video-link with a playlist ID, the first video from that playlist I posted in that thread about Calculus textbooks: https://www.youtube.com/watch?v=7K1sB05pE0A&list=PL590CCC2BC5AF3BC1&index=1&feature=plpp_video

6/24/2012 5:57:32 AM

wdprice3

42727 Posts
user info
edit post

can someone tell me what i need to comment out in order to kill the iframe killer for the chrome port?

8/2/2012 4:54:44 PM

oneshot
 
1183 Posts
user info
edit post

Why does this not work for FF? There is now a clone Greasemonkey extension for Chrome... likely might need to do some small mods.

8/2/2012 9:50:58 PM

ThePeter
TWW CHAMPION
37699 Posts
user info
edit post

Any chance to get a user block for mobile browsers? Dead thread I'm sure but god damn some people are annoying

8/6/2012 10:51:50 PM

jtw208
 
5290 Posts
user info
edit post

Any chance to get a user block for mobile browsers the chatterbox? Dead thread I'm sure but god damn some people are annoying

also:
Quote :
"this is still not blocking posts. pretty much all it's good for now is NSFW flags

is nobody else having this problem?"

8/7/2012 12:53:36 PM

sumfoo1
Foo1ish
39981 Posts
user info
edit post

yeah if someone can port this to chrome or something that would be great.

i needs to block lewisje and their unfunny photobombing comics.

either that or can we get a block on hotlinking questionablecontent.com?

9/12/2012 8:58:16 AM

BIGcementpon
World Traveler
11085 Posts
user info
edit post

Chrome port has been done already I believe. See page 3.

9/12/2012 11:03:41 PM

jaZon
All American
25539 Posts
user info
edit post

i wonder who the most blocked user is`

9/28/2012 1:06:20 AM

lewisje
All American
8957 Posts
user info
edit post

^^and I've haxed it up a bit on this page

^^^I wasn't aware that I was a multiple
anyway, the domain is questionablecontent.net, and I imagine it's as simple as removing any img element with a href attribute containing questionablecontent.net

^^^^^^Try my haxed Firefox version, it has support for more video-hosts

^^^^^^^Try adding return; to the end of the line beginning with "function iFrame2Link() {"
or just comment out the 7 lines below that, right above the line that just has "}"

also if you've blocked me it's your loss, sorry you don't want help

10/2/2012 5:25:38 AM

goalielax
All American
9675 Posts
user info
edit post

what happened to it? i got a message the script was updated in firefox and now it all seems broken

ok, i just removed it and reinstalled it and it works again. whatevs

[Edited on October 5, 2012 at 8:27 PM. Reason : .]

10/5/2012 8:25:54 PM

aaronburro
BigMan rules
49612 Posts
user info
edit post

yeah, it just broke for me. quit destroying the things I love, lewisje

10/17/2012 11:55:38 PM

umop-apisdn
All American
4433 Posts
user info
edit post

So I'm late to the game here, and I don't feel like reading nearly 200 posts on the topic. But is it really necessary to highlight the NSFW threads? Can't we get something a little more subtle? I'd like to enjoy reading TWW without the people walking by instantly noticing that naughty threads in red.

10/22/2012 10:12:15 PM

wdprice3

42727 Posts
user info
edit post

^mine doesn't do that... are you using FF? I guess that script is different

10/23/2012 9:48:03 AM

umop-apisdn
All American
4433 Posts
user info
edit post

yea, I'm using firefox

10/23/2012 8:57:02 PM

jtw208
 
5290 Posts
user info
edit post

you can edit the script and change the highlight color for NSFW threads:

find this line:

$('.nsfw').attr('bgcolor', '').css('backgroundColor','#ffb2b2');


and change the bold to whatever hex color code you want..

a slightly more subtle dark gray perhaps?



[Edited on October 26, 2012 at 1:14 PM. Reason : ]

10/26/2012 12:55:44 PM

Fareako
Shitter Pilot
10180 Posts
user info
edit post

my firefox script has stopped working for some reason.

11/6/2012 1:15:32 PM

BIGcementpon
World Traveler
11085 Posts
user info
edit post

I'm all good on FF here.

11/7/2012 3:05:54 PM

willembahh
All American
2198 Posts
user info
edit post

just curious

i know this thing embeds youtube videos that were just posted as links

but why does it unembed videos that were already embedded? or does this only happen for me?

1/27/2013 11:08:30 PM

BIGcementpon
World Traveler
11085 Posts
user info
edit post

You need to edit the script and turn off the gunzzdegayifyer or however it's spelled. There's a post or two in this thread about how to do it. Basically, it blocks iframes and YouTube vids are embedded that way, so it returns the link instead.

2/7/2013 7:56:41 AM

Krallum
56A0D3
14365 Posts
user info
edit post

Yo is there any way to unblock a particular thread from a blocked user?

I'm Krallum and I approved this message.

3/2/2013 9:35:47 PM

BIGcementpon
World Traveler
11085 Posts
user info
edit post

I don't think the code is written that way, but it's been a while since I've looked at it.

3/3/2013 11:12:55 PM

lewisje
All American
8957 Posts
user info
edit post

^^^my version of the script turned off the "gunzzdegayifier" for obvious reasons~♥

3/4/2013 6:24:11 AM

FroshKiller
All American
49249 Posts
user info
edit post

I ain't really fuck with this in like a year. I'm sort of surprised it still works at all. What's my incentive to return to the project, T-Dub?

3/5/2013 2:32:05 PM

 Message Boards » Feedback Forum » Better Wolf Web: a Greasemonkey script for Firefox Page 1 2 3 [4] 5, Prev Next  
go to top | |
Admin Options : move topic | lock topic

© 2014 by The Wolf Web - All Rights Reserved.
The material located at this site is not endorsed, sponsored or provided by or on behalf of North Carolina State University.
Powered by CrazyWeb v2.37 - our disclaimer.