Reddit Comment Highlighter (Chrome)

Highlights comments for Reddit stories based on comment points

< Σχολιασμός για τον κώδικα Reddit Comment Highlighter (Chrome)

Ερώτηση/σχόλιο

§
Δημοσιεύτηκε: 15/06/2015

Modifcation to ensure jquery compatabillity

To ensure that this script can coexist with others scripts using jquery (scripts can load different versions of jquery, causing conflicts) this should be added after the greasemonkey declarations in the top (as in after the line "// ==/UserScript=="):

this.$ = this.jQuery = jQuery.noConflict(true);

Se this link for more info: http://wiki.greasespot.net/@grant
Failure to implement this change will result in errors such as voting arrows to stop functioning and other script related problems.

Also, the default example code in the bottom of the script should be removed for proper tidiness.

Δημοσίευση απάντησης

Συνδεθείτε για να δημοσιεύσετε μια απάντηση.