Skip to main content

Recent change on UI break your UserScript. I dig little bit more on your code and found short-link class to bind remind me button on UI. Recent change remove class short-link so why it's not worked.

So to fix the problem you must change below code inside function process_page(posts).

Replace:

$("a.short-link:contains('share')").each(function( index ) {

with:

 $("a.js-share-link").each(function( index ) {

Please update your repo.

Recent change on UI break your UserScript. I dig little bit more on your code and found short-link class to bind remind me button on UI. Recent change remove class short-link so why it's not worked.

So to fix the problem you must change below code inside function process_page(posts).

Replace:

$("a.short-link:contains('share')").each(function( index ) {

with:

 $("a.js-share-link").each(function( index ) {

Please update your repo.

Recent change on UI break your UserScript. I dig little bit more on your code and found short-link class to bind remind me button on UI. Recent change remove class short-link so why it's not worked.

So to fix the problem you must change below code inside function process_page(posts).

Replace:

$("a.short-link:contains('share')").each(function( index ) {

with:

 $("a.js-share-link").each(function( index ) {

Please update your repo.

added 27 characters in body
Source Link
4b0
  • 406
  • 2
  • 9

Recent change on UI break your UserScript. I dig little bit more on your code and found short-link class to bind remind me button but recenton UI. Recent change remove class short-link so why it's not worked.

So to fix the problem you must change below code inside function process_page(posts).

Replace:

$("a.short-link:contains('share')").each(function( index ) {

with:

 $("a.js-share-link").each(function( index ) {

Please update your repo.

Recent change on UI break your UserScript. I dig little bit more on your code and found short-link class to bind remind me button but recent change remove class short-link.

So to fix the problem you must change below code inside function process_page(posts).

Replace:

$("a.short-link:contains('share')").each(function( index ) {

with:

 $("a.js-share-link").each(function( index ) {

Please update your repo.

Recent change on UI break your UserScript. I dig little bit more on your code and found short-link class to bind remind me button on UI. Recent change remove class short-link so why it's not worked.

So to fix the problem you must change below code inside function process_page(posts).

Replace:

$("a.short-link:contains('share')").each(function( index ) {

with:

 $("a.js-share-link").each(function( index ) {

Please update your repo.

Source Link
4b0
  • 406
  • 2
  • 9

Recent change on UI break your UserScript. I dig little bit more on your code and found short-link class to bind remind me button but recent change remove class short-link.

So to fix the problem you must change below code inside function process_page(posts).

Replace:

$("a.short-link:contains('share')").each(function( index ) {

with:

 $("a.js-share-link").each(function( index ) {

Please update your repo.