by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • May 31 11:26
    double-beep opened #474
  • Apr 21 13:02
    double-beep opened #473
  • Apr 21 13:00
    double-beep opened #472
  • Apr 21 13:00
    double-beep opened #471
  • Apr 21 12:59
    double-beep opened #470
  • Apr 16 10:59
    double-beep opened #469
  • Apr 16 09:26
    double-beep commented #467
  • Apr 16 09:24
    double-beep commented #467
  • Apr 16 09:21
    double-beep review_requested #468
  • Apr 16 09:16
    double-beep synchronize #468
  • Apr 16 09:15
    double-beep synchronize #468
  • Apr 16 09:11
    double-beep synchronize #468
  • Apr 15 20:26
    shu8 commented #467
  • Apr 15 13:21
    double-beep synchronize #468
  • Apr 15 13:19
    double-beep opened #468
  • Apr 14 11:47
    double-beep commented #467
  • Apr 14 11:44
    double-beep opened #467
  • Mar 31 17:38
    mezmi commented #215
  • Mar 31 15:39
    fixer1234 commented #215
  • Mar 31 12:33
    mezmi commented #215
Shubham
@shu8
@ooker777 Yes, I am :)
I can't see why it shouldn't work :/ is that the full log? what exactly doesn't work?
Ooker
@ooker777
@shu8 I'm not sure though. If it stops working, then the log is blank (or has nothing to do with SOX). If it works then this is it. I guess this is the problem of Firefox/Tampermonkey?
Shubham
@shu8
@ooker777 weird :/ which version of FF do you have?
Ooker
@ooker777
@shu8 esr 52
But lately after installing the dev version it less stops working or having the cog button disappeared
Shubham
@shu8
@ooker777 that's good! But I'm still not too sure why it stops working in the first place :/ Is there any chance you could upgrade to the latest version of FF?
Ooker
@ooker777
@shu8 I'm not sure too. Since I want to use the legacy addons, I can't update it. (I'm thinking to switch to Waterfox when the support is stopped).
Shubham
@shu8
@ooker777 I'm really sorry, I completely missed your message :/ I just pushed v2.3.0. If you're still interested, please give it a shot, hopefully it will work, as you are using the ESR version!
Ooker
@ooker777
@shu8 after 10 days of using the new version, today it stops working. I think this is the browser/addon issue? But other scripts work well though. (Those scripts are not on Stack Exchange.)
Shubham
@shu8
@ooker777 hmm, can you see the cogs button in the topbar? By 'stops working', what exactly breaks? :)
Ooker
@ooker777
@shu8 by broken I mean there is no cog symbol in the top bar, no sign of the script in the dev console, and no feature of the script show up in the site
Ooker
@ooker777
I checked again and it seemed that other SE scripts (Dude, where's my cursor and "View Vote totals" without 1000 rep) actually didn't work too when SOX stopped working. So I think it's the browser problem.
Shubham
@shu8
@ooker777 That's very weird :/ Are you still using Tampermonkey on ESR 52?
And scripts not for Stack Exchange sites still work for you?
Ooker
@ooker777
@shu8 yes and yes. I'll check the second question again when it happens again, but as far as remember it's correct
Shubham
@shu8
@ooker777 sorry, I really can't understand why this is happening. Even weirder that it's all sites on Stack Exchange -- could it be possible that you've disabled Tampermonkey scripts on Stack Exchange sites accidentally? Could you check Tampermonkey's global exclude list in the settings page?
Ooker
@ooker777
@shu8 no, of course I don't. I've checked Tampermonkey several times before getting to you, and all scripts are still activated. I can't upload the exported setting because it exceeds character limits of Pastebin, but I don't think there is any wrongcongfig in it
Shubham
@shu8
@ooker777 Could you try using Violetmonkey to see if it works in there? (Instead of Tampermonkey). It's a long shot but it may work.
Ooker
@ooker777
@shu8 it's funny that now I have two cog buttons on the top bar. Not sure if it has any conflict or not, but I'll report when it happens again
Shubham
@shu8
@ooker777 you can disable the script in tampermonkey and try using only SOX on violet monkey
Ooker
@ooker777
@shu8 nah, of course I knew I should disable the one in TM
anyway, in VM, even when there is a cog, the hot network questions panel still appear, even when the hiding option is checked
and there is case that the cog doesn't appear at all
btw it seems that in TM other scripts still work:
Shubham
@shu8
@ooker777 could you enable it in VM and then enable debugging and paste the log here please?
Ooker
@ooker777
@shu8 do you mean the log in the dev tool? Here it is:
JQMIGRATE: jQuery.browser is deprecated  jquery-migrate-1.0.0.js:29:4
SOX:  undefined  194348:44:13
SOX:  Object { init: StackExchange.init</<(), debug: Object, initialized: Object, gaInitialized: Object, ready: StackExchange.ready(), gaReady: StackExchange.gaReady(), using: v(), ifUsing: b(), loadJsFile: StackExchange.loadJsFile(), helpers: Object, 49 more… }  194348:44:13
SOX:  DEBUGGING SOX VERSION 2.3.0  194348:44:13
SOX:  ----------------saved variables---------------------  194348:44:13
SOX:  logging sox stored values ---   194348:68:13
SOX:  SOX-lastVersionInstalled  194348:68:13
SOX:  2.3.0  194348:68:13
SOX:  access token set  194348:68:13
SOX:  SOX-debug  194348:68:13
SOX:  true  194348:68:13
SOX:  ----------------end saved variables---------------------  194348:44:13
SOX:  init  194348:44:13
SOX:  Object { info: Object, NEW_TOPBAR: true, debug: sox.debug(), log: sox.log(), warn: sox.warn(), error: sox.error(), loginfo: sox.loginfo(), Stack: Object, exists: sox.exists(), ready: sox.ready(), 8 more… }  194348:44:13
SOX:  Object { init: sox.dialog.init() }  194348:44:13
SOX:  initializing SOX dialog  194348:44:13
SOX:  injecting features into dialog  194348:44:13
SOX:  observe: .new_comment  194348:44:13
SOX:  observe: textarea[id^="wmd-input"]  194348:44:13
SOX:  observe: .reviewable-post, .review-content  194348:44:13
Shubham
@shu8
sorry, I can't see what's wrong :( Hopefully when your current plugins are update you can move away from using esr?
Ooker
@ooker777
@shu8 it's so wrong that in VM the script doesn't work at all, even when the cog shows up. I have to turn it off and switch back to TM. Anyway, it seems like I'm stuck with this version of FF, because Waterfox doesn't support 32-bit machine. If you surfing Stack Exchange these days, you may meet my question in the hot panel :P
Why should browser security be prioritized?
oh, or perhaps it has conflict with a script or addon?
Shubham
@shu8
@ooker777 did you do anything to make it start working or did it start working again itself!?
(+1 for the question btw :P)
Ooker
@ooker777
@shu8 no, I didn't do anything. The TM version is just unstable, not always has problem like in VM
Ooker
@ooker777
Hi, can you take a like at soscripted/sox#370
Shubham
@shu8
@ooker777 done :) sorry for taking so long, I must have missed your message!
AnthoPakPak
@AnthoPakPak
Hey :) StackOverflow has done some changes to its DOM, many sox features stopped working :/ (including everything related to vote counts for example)
Shubham
@shu8
@AnthoPakPak Thanks for letting me know! Could you paste the exact features that aren't working for you in please? I know of the top-answers issue in #375 but that's it!
AnthoPakPak
@AnthoPakPak
In fact i've noticed that this one is broken "Make vote buttons next to posts sticky whilst scrolling on that post", and the one you mentioned. Don't know if there are other broken features, I'll tell you if I notice any :)
Shubham
@shu8
@AnthoPakPak thanks! I just pushed a fix for both of those bugs. please install the latest dev version (2.3.25) from https://github.com/soscripted/sox/raw/dev/sox.user.js to get the fixes!
AnthoPakPak
@AnthoPakPak
Just tested, it works ! Well done :)
Thank you for fast fix ;)
Shubham
@shu8
no problem! glad it's working :)
you caught me at a good time :P
AnthoPakPak
@AnthoPakPak
Haha nice, I'll remember this hour if needed 😃
Shubham
@shu8
:joy:
sKhcodes
@sKhcodes
Hi, I see that sox is taken in by every function, but I can't see it declared anywhere! How does that work please?
Shubham
@shu8
hi @sKhcodes! SOX uses IIFE (immediately invoked function expressions) in each file, which allows us to create our own sox 'namespace' if you like. for example if you see this line where the anonymous function is being passed in sox, and then this line at the bottom where the sox parameter being passed into the anonymous function is being defined as window.sox = window.sox || {} -- this essentially puts sox onto the window object so all the files can use it!
there's a nice example and explanation at https://stackoverflow.com/q/21832488 :)
hope I made sense there :P
SmartManoj
@SmartManoj
:P ?