diff --git a/README.md b/README.md index 6f59cf2..2488853 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # Stack Exchange Additional Optional Features acronym coming soon, I hope :) -A userscript for the StackExchange websites to add a bunch of optional, user-selectable features via an easy-to-use control panel. +A userscript for the Stack Exchange websites to add a bunch of optional, user-selectable features via an easy-to-use control panel. #How to use, requirements, how it works 1. Install [Tampermonkey](http://tampermonkey.net/) (for Chrome), or [Greasemonkey](http://www.greasespot.net/) (for Firefox) or similar. These are userscript managers that are required for this script to work, because they also provide support for `GM_*` functions, which this script relies on to save the options you set! @@ -19,7 +19,7 @@ In case you're wondering, it works by using `GM_setValue` to save your options a In the latest version: (these link to their corresponding feature-request (from any site on the network), *if applicable*): - [Make the topbar fixed (stay at the top as you scroll)](http://meta.stackexchange.com/questions/101385/should-the-top-navigation-be-frozen-optional) (v0.1) -- [Unfade low score answers](http://meta.stackexchange.com/questions/129593/un-fade-low-score-answers-on-rollover-or-click) (v0.1) +- [Unfade low score answers](http://meta.stackexchange.com/questions/129593/un-fade-low-score-answers-on-rollover-or-click) (v0.1) (deprecated; implemented by Stack Exchange by default now) - [Move `show more comments` link to top](http://meta.stackexchange.com/questions/55020/add-a-show-more-comments-button-to-the-top-of-a-list-of-comments) (v0.1) - [Ellipsis after long names](http://meta.stackexchange.com/questions/244729/provide-an-ellipsis-after-a-long-name-instead-of-truncating-it) (v0.1) - [Rename chat tabs](http://meta.stackexchange.com/questions/246289/change-the-browser-tab-title-on-chat-pages-to-chat-sitename-or-chat-room-name) (v0.1) @@ -76,13 +76,29 @@ In the latest version: (these link to their corresponding feature-request (from - Compatibility with new (currently MSE-only) profiles - 06/03/15 - v0.7: Added more features (mentioned above) - 22/03/15 - v0.8: Added more features (mentioned above) -- 26/03/15 - v0.9: Added more features (mentioned above), updated `kbdAndBullets` function to make icons fit better +- 26/03/15 - v0.9: + - Added more features (mentioned above), + - updated `kbdAndBullets` function to make icons fit better - 29/03/15 - v1.0: Added more features (mentioned above) - 30/03/15 - v1.1: Added more features (mentioned above) -- 30/04/15 - v1.2 *(and 1.2.1)*: Added more features (mentioned above), updated `employeeStar` function for animuson(!) *(and edited `answerTagsSearch` function)* +- 30/04/15 - v1.2 *(and 1.2.1)*: + - Added more features (mentioned above), + - updated `employeeStar` function for animuson(!) *(and edited `answerTagsSearch` function)* - 04/05/15 - v1.3: Added more features (mentioned above) -- 26/05/15 - v1.4: Added more features (mentioned above), updated dialog styles to match SE style, fixed some stuff that disappeared in a previous version that I forgot to add back (so some of the change log might be wrong :() -- 13/07/15 - v1.5: Added more features (mentioned above), fixed bug in `fixedTopbar` where topbar went over header originally (thanks [ArtOfCode](http://worldbuilding.stackexchange.com/users/2685/artofcode) for clever CSS 'hack' :), made script [compatible with stackoverflow-code-expando](http://stackapps.com/a/6427/26088), added auto-selection for [Change the share link to show link as markdown format](http://stackapps.com/a/6451/26088) +- 26/05/15 - v1.4: + - Added more features (mentioned above), + - updated dialog styles to match SE style, + - fixed some stuff that disappeared in a previous version that I forgot to add back (so some of the change log might be wrong :() +- 13/07/15 - v1.5: + - Added more features (mentioned above), + - fixed bug in `fixedTopbar` where topbar went over header originally (thanks [ArtOfCode](http://worldbuilding.stackexchange.com/users/2685/artofcode) for clever CSS 'hack' :), + - added auto-selection for [Change the share link to show link as markdown format](http://stackapps.com/a/6451/26088) +- 08/09/15 - v1.6: + - Removed no longer neccessary feature (implemented by SE now), + - fixed bug where the mod diamond and help menu would merge together, + - used my own [SE Helper functions](https://github.com/shu8/SE_OptionalFeatures/blob/develop/helperFunctions.js) to avoid repetitive code in getting common info like site names, reputation, usernames, etc..., + - removed fade effect on the `metaChatBlogStackExchangeButton` feature, + - [reimplemented the sticky vote buttons](https://github.com/shu8/SE_OptionalFeatures/pull/14), to fix a few bugs! --- @@ -92,8 +108,8 @@ Descriptions of features - Make the topbar fixed: Make the topbar stay at the top of the screen as you scroll down -- Unfade low score answers: -When you rollover posts with a score of -3 or less, ungray them out so you can read them properly +- Unfade low score answers: +When you rollover posts with a score of -3 or less, ungray them out so you can read them properly **This feature is now implemented by default by Stack Exchange, no longer needed in this script!** - Move `show more comments` link to top: The `show x more comments` link is by default shown at the bottom of the comments section. But that can be annoying if you're trying to read through a 'conversation' - this will clone the link and put it before the actual comments as well diff --git a/Stand-alone-scripts/commentReplies.js b/Stand-alone-scripts/commentReplies.user.js similarity index 100% rename from Stand-alone-scripts/commentReplies.js rename to Stand-alone-scripts/commentReplies.user.js diff --git a/Stand-alone-scripts/linkToQuestionsWithAuthorName.js b/Stand-alone-scripts/linkToQuestionsWithAuthorName.user.js similarity index 100% rename from Stand-alone-scripts/linkToQuestionsWithAuthorName.js rename to Stand-alone-scripts/linkToQuestionsWithAuthorName.user.js diff --git a/Stand-alone-scripts/metaChatBlogLinksOnHover.user.js b/Stand-alone-scripts/metaChatBlogLinksOnHover.user.js index 45cf33d..7e1cefb 100644 --- a/Stand-alone-scripts/metaChatBlogLinksOnHover.user.js +++ b/Stand-alone-scripts/metaChatBlogLinksOnHover.user.js @@ -23,7 +23,7 @@ $('#your-communities-section > ul > li > a').hover(function () { blogLink = '//' + $(this).attr('href').split('/')[2].split('.')[0] + '.blogoverflow.com'; } - $(this).find('.rep-score').hide(500); + $(this).find('.rep-score').hide(); $(this).append(''); } }, function () { - $(this).find('.rep-score').show(500); + $(this).find('.rep-score').show(); $(this).find('.related-links').remove(); }); diff --git a/Stand-alone-scripts/metaNewQuestionAlert.user.js b/Stand-alone-scripts/metaNewQuestionAlert.user.js index 7a60a78..775a53f 100644 --- a/Stand-alone-scripts/metaNewQuestionAlert.user.js +++ b/Stand-alone-scripts/metaNewQuestionAlert.user.js @@ -21,7 +21,7 @@ var metaName = 'meta.' + $(location).attr('hostname').split('.')[0], var apiLink = "https://api.stackexchange.com/2.2/questions?pagesize=5&order=desc&sort=activity&site=" + metaName; $('.topbar-links').prepend(''); -$('.js-topbar-dialog-corral').prepend('