Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jun 05 04:34
    double-beep commented #410
  • May 30 02:56
    shu8 closed #488
  • May 30 02:56
    shu8 commented #488
  • May 29 22:25
    Timaroberts commented #488
  • May 29 19:58
    shu8 commented #410
  • May 29 16:19
    double-beep commented #410
  • May 29 16:19
    double-beep commented #410
  • May 29 15:53
    shu8 commented #486
  • May 29 15:53
    shu8 commented #486
  • May 29 15:53
    shu8 closed #486
  • May 29 15:53
    shu8 commented #486
  • May 29 15:51

    shu8 on dev

    Fix addTimelineAndRevisionLinks… (compare)

  • May 29 15:44

    shu8 on dev

    Add addAnswerCountToQuestionHea… (compare)

  • May 29 13:10
    shu8 commented #488
  • May 29 13:09

    shu8 on dev

    Don't run metaChatBlogStackExch… (compare)

  • May 29 13:07
    shu8 commented #488
  • May 29 13:02
    shu8 closed #485
  • May 29 13:02

    shu8 on dev

    Remove jQuery I (sox.features.j… Remove jQuery II (sox.common.js… Remove jQuery III (sox.common.j… and 14 more (compare)

  • May 29 12:54
    shu8 commented #487
  • May 29 12:54
    shu8 labeled #487
Ooker
@ooker777
btw it seems that in TM other scripts still work:
Shubham Jain
@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 Jain
@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 Jain
@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 Jain
@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 Jain
@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 Jain
@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 Jain
@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 Jain
@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 Jain
@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
Manojkumar Palanisamy
@SmartManoj
:P ?
Manojkumar Palanisamy
@SmartManoj
soscripted/sox#463
Still same
Reset doesn't work
Manojkumar Palanisamy
@SmartManoj
After toggled an option, clicking save changes works
double beep
@double-beep
@shu8 can I have the duration and startTime of allFeatures measure in your computer?
Shubham Jain
@shu8

@double-beep I'm so sorry for such a late response, again :(

[
   {
      "name":"allFeatures",
      "entryType":"measure",
      "startTime":2442.60999999824,
      "duration":767.6749999955064
   },
   {
      "name":"addAuthorNameToInboxNotifications",
      "entryType":"measure",
      "startTime":2443.0600000050617,
      "duration":4.394999996293336
   },
   {
      "name":"displayName",
      "entryType":"measure",
      "startTime":2449.515000000247,
      "duration":3.125000002910383
   },
   {
      "name":"highlightQuestions",
      "entryType":"measure",
      "startTime":2453.5049999976764,
      "duration":3.7100000045029446
   },
   {
      "name":"markEmployees",
      "entryType":"measure",
      "startTime":2458.410000006552,
      "duration":362.2999999934109
   },
   {
      "name":"metaChatBlogStackExchangeButton",
      "entryType":"measure",
      "startTime":2821.5150000032736,
      "duration":0.42499999108258635
   },
   {
      "name":"metaNewQuestionAlert",
      "entryType":"measure",
      "startTime":2828.8199999951757,
      "duration":0.8650000090710819
   },
   {
      "name":"scrollToTop",
      "entryType":"measure",
      "startTime":2830.050000004121,
      "duration":15.574999997625127
   },
   {
      "name":"standOutDupeCloseMigrated",
      "entryType":"measure",
      "startTime":2846.6300000000047,
      "duration":281.4349999971455
   },
   {
      "name":"hideLoveThisSite",
      "entryType":"measure",
      "startTime":3142.0499999949243,
      "duration":0.3150000120513141
   },
   {
      "name":"sortByBountyAmount",
      "entryType":"measure",
      "startTime":3144.7250000055647,
      "duration":50.48999999416992
   },
   {
      "name":"warnNotLoggedIn",
      "entryType":"measure",
      "startTime":3195.7499999989523,
      "duration":3.6499999987427145
   },
   {
      "name":"addOnTopicLinkToSiteSwitcher",
      "entryType":"measure",
      "startTime":3204.2749999964144,
      "duration":2.529999997932464
   },
   {
      "name":"customMagicLinks",
      "entryType":"measure",
      "startTime":3207.5349999940954,
      "duration":2.710000000661239
   }
]

This is what I have on Chrome with the features I have enabled

endolith
@endolith
ᔕᖺᘎᕊ ? Can you help me get SoX working on my computer?
image.png
image.png
image.png
Yet there are no reply links
On my work computer it works, but on home computer it doesn't, whether using Firefox or Watefox, Tampermonkey or Violentmonkey
Shubham Jain
@shu8

@endolith thanks for reaching out! please could you 'enable debugging' at the bottom of the SOX dialog on the computer where it doesn't work and paste the console output (hit F12 to show the console) here?

for testing, you could also disable all the features except for the reply link one as that's probably one of the easiest to verify if it's working!

endolith
@endolith

SOX: DEBUGGING SOX VERSION 2.7.0 Stack Overflow Extras (SOX).user.js:40:15
SOX: ----------------saved variables--------------------- Stack Overflow Extras (SOX).user.js:40:15
SOX: logging sox stored values --- Stack Overflow Extras (SOX).user.js:64:15
SOX: SOX-lastVersionInstalled Stack Overflow Extras (SOX).user.js:64:15
SOX: 2.7.0 Stack Overflow Extras (SOX).user.js:64:15
SOX: access token set Stack Overflow Extras (SOX).user.js:64:15
SOX: SOX-debug Stack Overflow Extras (SOX).user.js:64:15
SOX: true Stack Overflow Extras (SOX).user.js:64:15
SOX: ----------------end saved variables--------------------- Stack Overflow Extras (SOX).user.js:40:15
SOX: SOX object Stack Overflow Extras (SOX).user.js:40:15
SOX:
Object { info: {…}, NEW_TOPBAR: true, debug: debug(), log: log(), warn: warn(), error: error(), loginfo: loginfo(), Stack: {…}, exists: exists(path), ready: ready(func), … }
Stack Overflow Extras (SOX).user.js:40:15
SOX: initializing SOX dialog Stack Overflow Extras (SOX).user.js:40:15
SOX: injecting features into dialog Stack Overflow Extras (SOX).user.js:40:15
SOX: OBSERVE: '.new_comment, .comment, .comments, .comment-text' on target(s) Stack Overflow Extras (SOX).user.js:40:15
SOX:
Array(4) [ div.post-layout, div.post-layout, div.post-layout, div.post-layout ]
Stack Overflow Extras (SOX).user.js:40:15
SOX: OBSERVE: 'textarea[id^="wmd-input"]' on target(s) Stack Overflow Extras (SOX).user.js:40:15
SOX:

<body class="question-page unified-theme">
Stack Overflow Extras (SOX).user.js:40:15
SOX: OBSERVE: '.reviewable-post, .review-content' on target(s) Stack Overflow Extras (SOX).user.js:40:15
SOX:

<body class="question-page unified-theme">
Stack Overflow Extras (SOX).user.js:40:15
Source map error: Error: NetworkError when attempting to fetch resource.
Resource URL: moz-extension://60633626-ed89-4629-be9d-ed2a8c230ce9/userscripts/Stack%20Overflow%20Extras%20(SOX).user.js?id=d9028922-ece6-4d00-baef-96a1ef5484b5
Source Map URL: jquery.timeago.min.js.map
Error: Promised response from onMessage listener went out of scope 3 common.js:4:491

Shubham Jain
@shu8
Thanks @endolith - do you have any other extensions on that computer? Also please could you try reinstalling it direct from github to see if that fixes it: https://github.com/soscripted/sox/raw/dev/sox.user.js ? (this is the dev version, so you would need to uninstall the existing version from tampermonkey first!)
endolith
@endolith
@shu8 I have a lot of extensions :)
I installed 2.7.7DEV and reply links appear now
There are also little document icons that disappear when I hover over them
image.png
endolith
@endolith
So reply links work, but I'm not seeing the checkboxes for edit summaries, for instance
Shubham Jain
@shu8
Hmm weird for the document icons to show up. It might be a font issue which I could look into. Does that only happen when you have the reply links feature enabled?
I'm not on my computer right now but it is possible the checkbox feature is broken at the moment - I'll confirm tomorrow on my computer but does it work for you on your other computer?
@endolith (sorry, didn't ping you for that message!)
endolith
@endolith
@shu8 If I have reply links turned off, and markdown buttons turned on, the buttons show up when the page loads, then disappear if I hover over them and then move away
my other computer is at work so I wont know for a few days