Git Product home page Git Product logo

github-userscripts's People

Contributors

arpir avatar brokenricefilms avatar camilledtr avatar cmalard avatar collinchaffin avatar dale3h avatar darkred avatar dotiful avatar emabrey avatar jerone avatar kidonng avatar maddes-b avatar meequrox avatar mottie avatar murphyne avatar neoopus avatar shalokshalom avatar shion255 avatar stdedos avatar tallgirlvanessa avatar tfwol avatar yash-singh1 avatar yuezk avatar zb3 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

github-userscripts's Issues

GitHub remove diff signs: not all files get their signs removed

Hello, I just found the "GitHub remove diff signs" userscript, thanks for making it.

But it seems to have a bug, the + and - signs doesn't get removed from all files in the "Files changed" tab of some pull requests.

Here's an example with 6 files:
https://github.com/Mottie/tablesorter/pull/195/files
the signs have been removed from the first 5 files, but they are still shown in the last file: js/jquery.tablesorter.js.

And here's another example with 17 files:
https://github.com/Mottie/tablesorter/pull/1293/files
the signs have been removed from the first 3 files, but they are still there from the 4th file: js/widgets/widget-filter-formatter-html5.js down.

Here's an example with 4 files. The first two files are hidden until one clicks on them:
https://github.com/Mottie/Keyboard/pull/363/files
the first one says:

"Load diff
Large diffs are not rendered by default."

and the second file says:

"Load diff
Some generated files are not rendered by default. Learn more."

The signs on the last 2 files are shown. When one clicks on the first 2 files to show their diffs, then the signs are still visible on them as well.

The script seems to work fine on the pull requests I've seen with only 1 or 2 files.

System info

Windows 10 1607 (OS Build 14393.953)
Google Chrome 56.0.2924.87 (Official Build) (32-bit)
Tampermonkey v4.2.7
GitHub Remove Diff Signs 1.0.2

Custom buttons

I am considering adding a userscript that lets you add clickable buttons with user defined links (suggested in a refined-github issue by @ben-eb)...

The following things need to be addressed:

  • Would this work along with or be separate from the custom hotkey userscript?
  • Where should the button(s) be placed?
  • Should the button only be visible on specific pages?
  • Would a dropdown that can contain numerous custom buttons be better than a bunch of single buttons which may overflow?

(GitHub Collapse Markdown) fix for no longer working in Greasemonkey

The following is a Firefox/Greasemonkey-only issue:
in Chrome 53/Tampermonkey 4.1.10 the issue doesn't occur.

Using GCM v1.1.3 with GM 3.9 in FF 49 (win 10 x64).

The script was no longer collapsing Markdown in any GitHub page.
To make sure I tried in a fresh FF profile with only GM installed and the script
and opened as a reference https://github.com/sinatra/sinatra
(i.e. is the page that you used in the screen capture) :
no content was collapsed.

I was getting

missing = in const declaration                 GitHub_Collapse_Markdown.user.js:233:13

in Browser Console.

So, changing lines 233 and 240
from
for (const el of els) {
to
for (let el of els) {
fixes the issue.

Raw links no longer working w/Dec14th update (0.1.5)

Hey Rob!

I see the update on Dec 14th seems to indicate using a modifier, but all I see now when I click the raw links is a spinning Github logo and the links never appear. Since it was just updated 2 weeks ago, am I just maybe missing something new I need to do? I'm trying to go through the code now I really did not compare the changes with the last update since I always trust your scripts......

Thanks!

Collin

EDIT: Now it appears with this last update it is just incompatible with the Github Dark script (StylishThemes) which has never had any issue before. Any idea offhand what might be causing the incompatibility? Only when I disable that script does this one again work. I'll start trying to debug as well but it sucks because I absolutely need all the functionality that comes with both. :(

Custom hotkeys don't work on users that partially match reserved names

The script for adding custom hotkeys breaks if a repo owner partially matches any of Github's reserved names. For example, hotkeys don't work on git-for-windows/git because it has 'windows' in the owner's name.

This seems to be caused by JS testing a regex at all positions in a given string instead of only at the start (even without a global flag):

nonUser = new RegExp("(" + [
"400", "401", "402", "403", "404", "405", "406", "407", "408", "409",
"410", "411", "412", "413", "414", "415", "416", "417", "418", "419",
"420", "421", "422", "423", "424", "425", "426", "427", "428", "429",
"430", "431", "500", "501", "502", "503", "504", "505", "506", "507",
"508", "509", "510", "511", "about", "access", "account", "admin",
"anonymous", "api", "apps", "auth", "billing", "blog", "business",
"cache", "categories", "changelog", "codereview", "comments", "community",
"compare", "contact", "dashboard", "design", "developer", "docs",
"downloads", "editor", "edu", "enterprise", "events", "explore",
"features", "files", "gist", "gists", "graphs", "help", "home", "hosting",
"images", "info", "integrations", "issues", "jobs", "join", "languages",
"legal", "linux", "lists", "login", "logout", "mac", "maintenance",
"marketplace", "mine", "mirrors", "mobile", "navigation", "network",
"new", "news", "notifications", "oauth", "offer", "open-source",
"organizations", "orgs", "pages", "payments", "personal", "plans",
"plugins", "popular", "posts", "press", "pricing", "projects", "pulls",
"readme", "releases", "repositories", "search", "security", "services",
"sessions", "settings", "shop", "showcases", "signin", "signup", "site",
"ssh", "staff", "stars", "static", "status", "store", "stories",
"styleguide", "subscriptions", "support", "talks", "teams", "terms",
"tos", "tour", "translations", "trending", "updates", "username", "users",
"watching", "wiki", "windows", "works-with", "www1", "www2", "www3",
"www4", "www5", "www6", "www7", "www8", "www9"
].join("|") + ")");

// user name
if (nonUser.test(tmp[1] || "")) {
// invalid user! clear out the values
tmp = [];
}

I think this issue can be safely fixed by surrounding the regex with ^ and $.

P.S. Also it seems like the {me} scope is always undefined:

let tmp = $("meta[name='user-login']");
parts.m = tmp && tmp.getAttribute("content") || "";
parts.me = parts.me ? parts.root + "/" + parts.m : "";

Sort file listing?

Would expect it in GitHub Sort Content.

But have also checked GitHub Files Filter, no joy.

Currently I see:

screen shot 2017-07-03 at 13 27 29

GM_ APIs no longer supported in GM4

With the recent update to Firefox (FF57, aka Quantum) Greasemonkey devs have decided to change their API from synchronous functions GM_* to async methods of the GM object. This means that starting with GM4 (the first version compatible with FF57+) all scripts that used any of those functions will no longer work.

As an example, your awesome script for GitHub custom hotkeys in FF57+GM4 dies with "Script error: ReferenceError: GM_getValue is not defined" in the console.

A suggested workaround is to include an official polyfill for the old API. Also, I think most of them can be safely replaced with native fetch and localStorage.

(GitHub Toggle Issue Comments) "Cannot read property 'textContent' of null" in a specific PR page

Using Chrome 69, TM 4.8.5850 beta, GitHub Toggle Issue Comments in 1.2.2.

The issue is that, in the specific following PR page (I couldn't find any other pages to recreate)
https://github.com/sindresorhus/refined-github/pull/1526
the script's filters are non-toggleable and disabled, and I get the following error in Chrome's Console:

Execution of script 'GitHub Toggle Issue Comments' failed! Cannot read property 'textContent' of null

referring to line 404 of the script which contains:

txt = el.textContent.trim();

(GitHub code show whitespace) shows space character on empty lines?

I am using version Chrome Version 71.0.3578.98, 1.2.4 of the GitHub code show whitespace script and the split view for diffs. I am not sure if this is how things always were displayed but I noticed that each line is being prefixed with a white space character. It even seems to throw off the display of lines that only contain line breaks.

This is the scss file as displayed with the script

screen shot 2018-12-20 at 8 22 54 am

This is that same scss file as displayed in my editor with whitespace displayed

screen shot 2018-12-20 at 8 26 32 am

Notice line 8 in the editor vs how its displayed in the diff, specifically the way it seems to wrap.
Is there something I should be doing differently?

(GitHub Toggle Issue Comments) Only 1 (empty) placeholder is displayed instead of the commenters avatars

Using 'GitHub Toggle Issue Comments' script version 1.0.26
with either GM 3.11 in Firefox 53.0.3 (even in clean profile)
or TM 4.2.7 in Chrome 58.

The issue is that no avatars are added under the Hide Comments from text:
only 1 (empty) placeholder (i.e. the <img> tag for that empty placeholder has src="undefined".)
is displayed instead.


Here is a screenshot (from an issue link example with 12 commenters ) to better show what I mean:

2017-06-05_211625

There's no error in Browser Console while this happens.
I checked the addAvatars() function
but unfortunately couldn't locate what's the cause of this.

(GitHub Sort Content) Add gitlab.com support for sorting markdown tables

How much effort is it to make the GitHub Sort Content script also work for gitlab.com markdown tables?

I would also consider contributing the enhancement myself. I guess once I figured out the difference compared to the github.com markdown rendering it should not be very difficult.
Just adding the @include rule is not enough, I've already tried that.

(GitHub Issue Highlighter) The linked-to comment is not highlighted in some cases

STR
In a clean Chrome 65 profile with only Tampermonkey 4.6.5752 beta installed and GIH script v1.0.7,
open https://github.com/gorhill/uBlock/issues/3689 and follow the '#3680 (comment)' link inside the comment:
the linked-to comment in the target page won't be highlighted.
There's no error in Console.

PS. For reference, for other links to comments, such as the one displayed in the script info page gif: i.e. the comment link inside the 1st comment in https://github.com/isaacs/github/issues/665,
the script still works ok.

request: collapse inline PR comments

I'd love a toggle to collapse inline comments in the files view of a PR, with a "toggle all" button and individual toggles on each comment.

Use case: for PRs that are complicated or need a bunch of background knowledge, my team likes to sprinkle in explanatory comments to help reviewersโ€ฆ but that can make the PR look intimidating, and can make reviewing harder for people who don't need the explanations.

Presumably not a small project. I'd be happy to donate towards this

Thanks for all the great tools!

(GitHub Toggle Issue Comments) check mark hiding comments is unintuitive UI

The Toggle Issue Comments userscript doesn't hide comments by default, which makes perfect sense. However the check mark (tick) symbol only appears to the right of a category after clicking a category of comment to hide that category, which I find very unintuitive and in fact the exact opposite of what I'd expect.

For example if Reviews (outdated) has a check mark next to it, it is more logical to expect that outdated reviews would be displayed rather than hidden, because check marks universally have a positive connotation. The only category of comment which gets this right is Hide +1s, because it makes it clear that when you select that category, the comments are hidden rather than displayed.

A similar problem is that the categories are emboldened when selected, and again except for Hide +1s this is counter-intuitive.

So I'd suggest one of two things:

  1. Prefix every category with Hide , or
  2. Swap the behaviour so that when the category is displayed (not hidden) the font is bold and the check marks are displayed, and Rename Hide +1s to +1 comments.

The first is slightly ugly, but the second could confuse some people who already adapted to the existing behaviour. Pick your poison, or maybe come up with a third approach which has neither of these problems ;-) Either way, I really think it needs to be made more intuitive, and the inconsistency between Hide +1s and all the others fixed.

Having said all that, this is a totally awesome extension, so thanks a lot for writing and sharing it!!

(GitHub Sort Reactions) Suggestion: collapse out of view the block of buttons when mouseaway. In such case, display the active sort icon next to the two-triangles icon

@Mottie First of all, thanks a lot for this great script!
I was wondering whether it's possible to make a script to sort the comments based on the reactions in a practical way ! You really nailed it, once again! ๐Ÿ‘


I just have one suggestion, please:

Currently, having two rows of button blocks (one of the post itself and the second by the script)
makes it distracting and difficult for me to visually distinguish them.

My suggestion is to collapse out of view (- in a similar way to that of your script "GitHub Reveal Header"- maybe collapse the block by temporarily converting it to a thin line/separator) the block of buttons on mouseaway from that element. And:

  • when a sort button is active and the block of buttons is collapsed on mouseaway,
    to display the currently active sort icon and its order (i.e. create an extra icon) next to the two-triangles icon.
  • when no sort is active, remove that extra icon.

Please see my mockup below to better see what I mean.

I know the script in it's initial version - I just wanted to post my suggestion and I hope you like it. ๐Ÿ™‚

Example screenshot:
2018-02-28_193405
And a mockup:
2018-02-28_194332

PS. I've tried implementing my suggestion myself but unfortunately it seems too difficult for me, that's why I didn't provide a PR instead.

Bulk edit repos

Let me explain a little background, recently i was sued by some company and the police didn't tell me more than that it was about some "github repo". In order to be cooperative and increase my chances of the lawsuit being dropped i decided to not delete my account but rather get github premium and make all my repos private until i get information what repo this stuff is about. After purchasing premium i was shocked to see that it doesn't apply to all organisations (i have many repos outsourced) and that i can't bulk edit my stuff. The police was kind enough to tell me that it was one of the repos on my account so i was not worried about the orgs anymore but i had to go through the process of editing the setting of 200+ repos by hand which was kind of a pain in the ass and took me some time but i did it anyway for legal reasons. Now that the case has been dropped i don't need github premium anymore, i had more time and a free head to think about it. I contacted github support about that and asked them why there is no way to bulk edit your stuff because the FAQ states that i will loose all private repos when my gh premium status gets revoked for whatever reason. They said they can't do sh*t and gave me some API endpoints, but i don't feel confident enough to do anything with it so i wanted to ask you if you could help me (and maybe others that want to switch from premium to free and have a bunch of repos on private) by creating something to convert multiple repos at once. I don't really care if it's a "bot" or a website or a userscript.

email-convo

grafik

grafik

please document where bugs should be reported

Just discovered this awesome gold-mine of userscripts - many thanks for sharing these! Please can you update the README.md to clarify where we should send bug reports? I'm assuming it's either right here in this repo's issue tracker, or as discussions on Greasy Fork, but it would be helpful to document this for the benefit of all future users. Thanks!

How to include the copy code script into my md file

Hi there

Sorry for the silly question but how do you include the code into my md file?

I have tried

<html>
<head>

<script src="https://github.com/Mottie/GitHub-userscripts/blob/master/github-copy-code-snippet.user.js"></script>

</head>

regards
Balint

(GitHub Files Filter) make the toggle buttons change background color when clicked, not when mouseaway (especially when using 'GitHub Dark' userstyle)

Regarding the 'GitHub Files' Filter script:
currently when clicking a toggle button, its background color changes after moving the mouse away, not when clicked.
I find it confusing, and difficult to tell whether I've pressed the button or depressed it, especially in conjunction with the 'GitHub Dark' userstyle
I believe it would be more practical if its background color was changed when clicked, i.e. instantly.

What's your opinion, @Mottie ?

Current screenshot:
123

Github userscript request

Hey Mottie!

Since you have by far created the most comprehensive (and most functional) GM/TM userscripts for Github, I have one I've been trying to figure out myself that is a hole that nobody has yet filled. Perhaps this simply cannot be accomplished via userscript but I'll post here to get your thoughts.

Site/Match: gist.github.com
Functionality: Gists - the one "button" nobody has managed to add that is sorely needed is, upon executing a GIST search, a new "RAW" button for each gist returned to allow a direct pull of the raw source. Currently, you must first visit each Gist, then either click the "Raw", or an added "Rawgit" button, etc. It is a bit absurd that each file must be individually opened first before then having to click RAW to save it.
Optional: An optional add either with this or probably should be a whole new request (but I'm lazy tonight) is to add the (still - unbelievably) totally void/missing DATE SORT of Gists returned from search. They (can) actually be sorted but there is no graphical method today on the page and I and others have literally been posting and complaining to Github for many years begging for this and other basic search features to be added. At least this one can be added by the community ourselves and I'm surprised nobody has added this one too.

Again your scripts are becoming an everyday requirement for Github users, and frankly Github should be paying you because they also really just make Github more fun to use!

(GitHub Diff Links) Add support for Pull Requests

Currently it works for commits, such as: zenorocha/sublime-javascript-snippets@a9d8787
but not pull requests: https://github.com/zenorocha/sublime-javascript-snippets/pull/28/files

It would be great if you added support for pull requests to your very useful script.


I think that the change needed for this is to change line 42 from:

links = $$("#toc ol.content li > a");

to

links = document.querySelectorAll("#toc ol.content li > a, div.select-menu-list > div > a");

and line 65 from

if ($("#files.diff-view")) {

to

if ($("#files.diff-view") || $(".pr-toolbar")) {

The problems that I still have are:

  1. clicking on the 1st Next button in the PR link above,
    it navigates you to the 10th file, not the 2nd one.
    (All other buttons work ok).
  2. Also, in order the buttons tooltips to be ok and not like this
    I think that line 31
txt = txt.substring(txt.lastIndexOf("/") + 1, txt.length);

should be combined with:

var regex = /[\s]*\+[\d\+\-\s\โˆ’]*([\w\\.]*)/;
txt = txt.match(regex)[1];

using something like:

if (window.location.href.indexOf("/commit/") !== -1) {
   ...
} else if (window.location.href.indexOf("/pull/") !== -1) {
  ...
}

(GitHub Toggle Issue Comments) Reference messages are not listed/hidden

Using 'GitHub Toggle Issue Comments' script version 1.1.2
with GM 3.17 in Firefox 56.01

Example link:
https://github.com/Microsoft/vscode/issues/11847
There are 3 such entries in that page (one is a group with 3 entries, the other two are single) .

I quote from the script code:

refs: {
	isHidden: false,
	name: "ghic-refs",
	selector: ".discussion-item-ref, .discussion-item-head_ref_deleted",
	label: "References"
},

Unfortunately the above selector .discussion-item-ref, .discussion-item-head_ref_deleted no longer works:
these entries now have a single class name instead, the plain: .discussion-item, as I noticed.
This class name is also given (among others) to other entries.
@Mottie, if that helps you, I think that a simple way to identify such entries is to check if their .className === 'discussion-item' && .classList.length === 1 .


PS. Btw, I've checked most other entry times (in other issue pages) and they all still work ok (I didn't find appropriate issue pages to check the: Integrations and the 'Diff current/outdated' entries)

Enhancement/new script request: "Github-Releases?"

Hey Rob!

So I spent some time digging through the darned GH site code (my head hurts now) and after taking your rawlinks script as a guide (JS not my primary lang) began and fairly quickly now feeling defeated on one of those things I've been putting off it seems forever that seems to still be missing from any available GH enhancements out there.

From talking to others I know I'm not the only one that frequently (despite yes, using official Git) either prior to deciding to do an official local clone to work on, or simply for backup/analysis of my or some other repo, utilizing the GH web Clone or Download \ Download Zip button. Be it on different branches, etc.

So, now to where I had always felt there was room for a "wouldn't that be cool" that over the years has become "I'm really tired of having to...." is:

  1. Clicking on the Download Zip enhanced to append the commit-tease-sha (short-sha) element text at the end of the target filename. Today, re-saving the repo only results in "Repo-master(1).zip","Repo-master(2).zip" so what an excellent idea to instead, through userscript magic, make it automatically save/suggest as "Repo-master(07f668c)","Repo-master(210f04)" since personally, that is now what I wind up having to do by hand to better identify the downloaded version(s).

    This itself introduces a challenge I had not considered until diving in - when you look at the HREF the zip is named based on the branch (master.zip/develop.zip/etc.) however is really only a fallback because the header returned hands the browser (if it's listening) the Content-Disposition: attachment header at which time the browser suggests/defaults to in GH case: <reponame>-<branchname>.zip. This is why if you do a standard wget or curl you get master-zip, and if you open Chrome and click you get Repo-master.zip. So, there is that challenge to deal with and I have seen decent examples of utilizing the header in XMLHttpRequest(), but still hitting a brick wall at the design phase as to the best approach.

  2. Clicking on the same Download Zip also enhanced to appending 3 new list elements below the (hopefully enhanced) ZIP file download button. Perform an API lookahead (this is where the rawlinks I thought could be helpful since I eventually realized it needs to do basically the exact same thing you did there but in repo/releases) to the releases page, pull UP TO the first three (3) most recent (let's say strictly the ZIP files for simplicity). I did come up with nice jquery code right before it occurred I should instead be using the API and I had totally wasted my time :(.

I really really cannot believe nobody has written even just the releases one since the binary releases are so commonly downloaded and most are only interested in the more current and want to perhaps see the comparison to the prior release for possible rollback. If this is perhaps something you would ever want to work on I will certainly share the (apparently little) I have determined (I have narrowed down I believe some of the key element selector/paths etc.). I just recall when we discussed the rawlinks how fast you churned that out, and being that much of these two enhancements (I think) is already just perhaps a regurgitation/rework of that same script maybe you'd look and think this would be just as easy for you. :)

TIA!

(GitHub Toggle Issue Comments) Feature suggestion: Add a toggle button to hide the filter buttons that have no content

My suggestion is to add a toggle button to hide the filter buttons that have no content.
Depending on the page, the filters list becomes half or less, leaving only the applicable filters visible.

Example comparison:

Before

2018-09-22_192759

After

2018-09-22_192837


What I have in mind:

  • The toggle button's status would be saved, like it occurs with the filters.
  • Regarding the location to add this extra toggle button,
    I'd suggest to be on the top of the filters list, to the same row as the "Toggle filters" entry:
    2018-09-22_184203.
  • And for me the most suitable icon for that extra button would be the eye-slash icon,
    like the one that uBlock Origin uses in its logger (for requests which do not originate from any specific tab):
    2018-09-22_185505

@Mottie , what do you say?


I thought of making a PR instead of an issue,
but unfortunately I don't feel confident enough to share the needed code as a PR.

Nevertheless, hoping to facilitate you:

The quick CSS I added to the script's GM_addStyle command to get this is:

.ghic-menu > .dropdown-item:not(.ghic-has-content) { display:none; }

The following code seems to add the extra button ok: (I converted the eye-slash icon to base64):

var referenceNode = document.querySelector('.select-menu-modal-holder .select-menu-title');
var a = document.createElement('input');
referenceNode.appendChild(a);
a.style.padding = '0px 12px';
a.setAttribute('type', 'image');
a.setAttribute('src', 'data:image/jpeg;base64,/9j/4QQxRXhpZgAATU0AKgAAAAgADAEAAAMAAAABABwAAAEBAAMAAAABABkAAAECAAMAAAADAAAAngEGAAMAAAABAAIAAAESAAMAAAABAAEAAAEVAAMAAAABAAMAAAEaAAUAAAABAAAApAEbAAUAAAABAAAArAEoAAMAAAABAAIAAAExAAIAAAAiAAAAtAEyAAIAAAAUAAAA1odpAAQAAAABAAAA7AAAASQACAAIAAgADqYAAAAnEAAOpgAAACcQQWRvYmUgUGhvdG9zaG9wIENDIDIwMTQgKFdpbmRvd3MpADIwMTg6MDk6MjIgMTk6MTE6MjEAAAAABJAAAAcAAAAEMDIyMaABAAMAAAAB//8AAKACAAQAAAABAAAADqADAAQAAAABAAAACgAAAAAAAAAGAQMAAwAAAAEABgAAARoABQAAAAEAAAFyARsABQAAAAEAAAF6ASgAAwAAAAEAAgAAAgEABAAAAAEAAAGCAgIABAAAAAEAAAKnAAAAAAAAAEgAAAABAAAASAAAAAH/2P/tAAxBZG9iZV9DTQAC/+4ADkFkb2JlAGSAAAAAAf/bAIQADAgICAkIDAkJDBELCgsRF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AAAAAAAJAAAAAAAAAAABADhCSU0nEAAAAAAACgABAAAAAAAAAAI4QklNA/UAAAAAAEgAL2ZmAAEAbGZmAAYAAAAAAAEAL2ZmAAEAoZmaAAYAAAAAAAEAMgAAAAEAWgAAAAYAAAAAAAEANQAAAAEALQAAAAYAAAAAAAE4QklNA/gAAAAAAHAAAP////////////////////////////8D6AAAAAD/////////////////////////////A+gAAAAA/////////////////////////////wPoAAAAAP////////////////////////////8D6AAAOEJJTQQIAAAAAAAQAAAAAQAAAkAAAAJAAAAAADhCSU0EHgAAAAAABAAAAAA4QklNBBoAAAAAA1cAAAAGAAAAAAAAAAAAAAAKAAAADgAAABEAMgAwADEAOAAtADAAOQAtADIAMgBfADEAOAA1ADUAMAA1AAAAAQAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAOAAAACgAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAABAAAAABAAAAAAAAbnVsbAAAAAIAAAAGYm91bmRzT2JqYwAAAAEAAAAAAABSY3QxAAAABAAAAABUb3AgbG9uZwAAAAAAAAAATGVmdGxvbmcAAAAAAAAAAEJ0b21sb25nAAAACgAAAABSZ2h0bG9uZwAAAA4AAAAGc2xpY2VzVmxMcwAAAAFPYmpjAAAAAQAAAAAABXNsaWNlAAAAEgAAAAdzbGljZUlEbG9uZwAAAAAAAAAHZ3JvdXBJRGxvbmcAAAAAAAAABm9yaWdpbmVudW0AAAAMRVNsaWNlT3JpZ2luAAAADWF1dG9HZW5lcmF0ZWQAAAAAVHlwZWVudW0AAAAKRVNsaWNlVHlwZQAAAABJbWcgAAAABmJvdW5kc09iamMAAAABAAAAAAAAUmN0MQAAAAQAAAAAVG9wIGxvbmcAAAAAAAAAAExlZnRsb25nAAAAAAAAAABCdG9tbG9uZwAAAAoAAAAAUmdodGxvbmcAAAAOAAAAA3VybFRFWFQAAAABAAAAAAAAbnVsbFRFWFQAAAABAAAAAAAATXNnZVRFWFQAAAABAAAAAAAGY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V2dDppbnN0YW5jZUlEPSJ4bXAuaWlkOjczYWVlYWZkLWZmOGUtNzU0Yy1iMjhjLTYxN2Y0NTM5MTIxNyIgc3RFdnQ6d2hlbj0iMjAxOC0wOS0yMlQxOToxMToyMSswMzowMCIgc3RFdnQ6c29mdHdhcmVBZ2VudD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTQgKFdpbmRvd3MpIiBzdEV2dDpjaGFuZ2VkPSIvIi8+IDwvcmRmOlNlcT4gPC94bXBNTTpIaXN0b3J5PiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8P3hwYWNrZXQgZW5kPSJ3Ij8+/+4ADkFkb2JlAGRAAAAAAf/bAIQAAgICAgICAgICAgMCAgIDBAMCAgMEBQQEBAQEBQYFBQUFBQUGBgcHCAcHBgkJCgoJCQwMDAwMDAwMDAwMDAwMDAEDAwMFBAUJBgYJDQoJCg0PDg4ODg8PDAwMDAwPDwwMDAwMDA8MDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwM/8AAEQgACgAOAwERAAIRAQMRAf/dAAQAAv/EAaIAAAAHAQEBAQEAAAAAAAAAAAQFAwIGAQAHCAkKCwEAAgIDAQEBAQEAAAAAAAAAAQACAwQFBgcICQoLEAACAQMDAgQCBgcDBAIGAnMBAgMRBAAFIRIxQVEGE2EicYEUMpGhBxWxQiPBUtHhMxZi8CRygvElQzRTkqKyY3PCNUQnk6OzNhdUZHTD0uIIJoMJChgZhJRFRqS0VtNVKBry4/PE1OT0ZXWFlaW1xdXl9WZ2hpamtsbW5vY3R1dnd4eXp7fH1+f3OEhYaHiImKi4yNjo+Ck5SVlpeYmZqbnJ2en5KjpKWmp6ipqqusra6voRAAICAQIDBQUEBQYECAMDbQEAAhEDBCESMUEFURNhIgZxgZEyobHwFMHR4SNCFVJicvEzJDRDghaSUyWiY7LCB3PSNeJEgxdUkwgJChgZJjZFGidkdFU38qOzwygp0+PzhJSktMTU5PRldYWVpbXF1eX1RlZmdoaWprbG1ub2R1dnd4eXp7fH1+f3OEhYaHiImKi4yNjo+DlJWWl5iZmpucnZ6fkqOkpaanqKmqq6ytrq+v/aAAwDAQACEQMRAD8A7d/zlt5m/PPzH5s8keVfJnmLUYPP/m/zTqXkq0/LeDWrnQrXQlupo30vXZrKwlt7nVrdtPs7uf6w8rwRykj0w0TR5TocXj5I4pSI8SHFOY/yPh+rLGMeUZR4oDHM3LLRlH05MQhflyeDgyZOH+7MeEdMgl6Y+vqDOX7yMfpqIkKx5ZT73B5Ztrj8vrv/AJx60m71TW/I9n5ebQvN10kyjWtD1canALHXW1BWDnUr2WZ9QazdmnXhGw9N29ObYR1UDI5DAeEAAIkkR4K8M6WJ5TPg+niH93m4oylKOSHh62WimIxxDIRmMiSdzc/r8Y/zYxzVCianiPFEAY53/9D6sfnB/wCTc/LP/lAf+UQ8/f8AKY/70f7yaf8A7zf8un/Lb/xXlY+jU8v7g/1f7yH99/tX6eFvP0Y+f9/j5f8AC830f7Z/N/o2uX/1mh//ACTf/HC/Z/8AJZf3g+1/y5/xpmdH/GD/AHnIf1+XTz73X/5D+Hn/AJvN/9k=');
a.id = 'toggleFilters';
document.getElementById('toggleFilters').addEventListener('click', function() {
	GM_addStyle(`.ghic-menu > .dropdown-item:not(.ghic-has-content) { display: block; }`);
});

On a sidenote, I've noticed
in this example page https://github.com/Microsoft/vscode/issues/58724
that the filter "+1 Comments" gets the .ghic-has-content class,
although there are no +1 comments in the page.

(GitHub Sort Reactions) Third click on 'sort by +1' and 'speak no evil monkey' avatar icons doesn't restore the comment order in some cases

STR
In a clean Chrome 65 profile with only Tampermonkey 4.6.5752 beta installed and GSR script v0.2.2:

case 1

open https://github.com/gorhill/uMatrix/issues/928 and click on the 'speak no evil monkey' avatar sort icon 3 times: notice that the comment order is not restored.
With all other avatar sort icons, the comment order is restored ok.

cases 2, 3

In https://github.com/gorhill/uMatrix/issues/968 or https://github.com/gorhill/uMatrix/issues/567,
if you click 3 times either the 'speak no evil monkey' avatar icon or the 'sort by +1' avatar icon , the initial comment order is not restored.
With the other avatar sort icons, the comment order is restored ok.

Steamcommunity auto show spoiler content

On steam community pages there are spoilers

span.bb_spoiler {
  color: #000000;
  background-color: #000000;
  padding: 0px 8px;
}

i know it's not github related but it would still neat if you could give me a script which makes them automatically readable

Without hover:
grafik
With hover:
grafik

Userscript to auto enter repo name

When having the "confirm with name of repo" dialog could you make it read and enter the name automatically?

I feel safe enough with that click on a big red button and copy pasting becomes annoying. Especially whith a huge amount of repos you want to edit

monospace font toggle breaks PR UI

If I view a PR's main page with the monospace font toggle userscript enabled, the cog icons on the right hand side for setting projects, labels, milestones, assignees all vanish. This makes the userscript effectively unusable.

(GitHub Custom Navigation) Slight truncation in the icons' left side

Thanks for another great userscript!

I just noticed this minor issue: (using GCN 1.0.3 in FF48 x64 in win10 with GM 3.8)
there's a slight truncation in the icons' left side.

Here is a (resized) screenshot where I highlight the truncation (it's a few pixels) :
-using a clean FF profile with only (GM and) GCN-
2016-08-10_223653 2
And here is when the truncation doesn't occur:
20151010-5f4f-11e6-80b0-82a17c9bcd70

It occurs in e,g,
https://github.com/
https://github.com/Mottie/GitHub-userscripts

It doesn't occur:
https://github.com/greasemonkey
https://github.com/greasemonkey/greasemonkey/wiki

Having unread notifications (i.e. having the dot on the bell icon) or not, doesn't make a difference.,

(GitHub Toggle Issue Comments) In some issue pages, there's an unneeded "1 hidden (from hidden comments)" when 'GitHub Sort Reactions' is also installed

Hi again dear @Mottie

Unfortunately I just found another issue:
in some issue pages I tried,
when both "GitHub Toggle Issue Comments" and "GitHub Sort Reactions" are installed,
there's a unneeded 1 hidden (from hidden comments) under the first post

STR

  • with a fresh Chrome browser profile with only TM 4.8.5850 beta and scripts GTIC 1.23 and GSR 0.2.6
  • open either
    https://github.com/Microsoft/vscode/issues/58712 or https://github.com/Microsoft/vscode/issues/59142
  • make sure that only the "+1 Comments" filter in GTIC is active:
    notice that in both URLs, when you click it, it becomes "+1 Comments (1 hidden)".
    but there's no comment actually hidden (there's no "+1" comment to hide)
  • notice that there's a 1 hidden (from hidden comments) under the first post.
  • If you disable GSR, then the issue no longer occurs.

(GitHub Sort Content) In user repos lists the sort arrow is not displayed initially, and when you click to sort then the arrow is displayed multiple times

I've noticed this minor issue in user repos lists: (GSC 1.0.3 in FF 48, GM 3.9, win 10):
the sort up/down arrow is not displayed (initially),
and when you click in the area to sort then the sort arrow is displayed multiple times filling the row.

Screenshot from e.g. https://github.com/addyosmani?tab=repositories
2016-08-20_181648


PS. Mottie, btw, could you please tell what GIF capture program did you use in order to make the 3 gif screen captures in [here](https://github.com/Mottie/GitHub-userscripts/wiki/GitHub-sort-content)?

'Toggle Code Wrap' and 'Copy Code Snippet' conflict by themselves and with 'Collapse In Comment'

STR

  • Using TM 4.5.5663beta in Firefox 58 or TM 4.5 in Chrome 63:
    install latest versions of:
    'GitHub Collapse In Comment' 1.0.13
    'GitHub Toggle Code Wrap' 1.1.3
    'GitHub Copy Code Snippet' 0.1.0

  • here is a long code example:

SublimeLinter: error in SublimeLinter daemon: 
SublimeLinter: -------------------- 
SublimeLinter: Traceback (most recent call last):
  File "C:\Users\Kostas\AppData\Roaming\Sublime Text 3\Packages\SublimeLinter\lint\queue.py", line 57, in loop
    item = self.q.get(block=True, timeout=self.MIN_DELAY)
  File "./python3.3/queue.py", line 175, in get
queue.Empty

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\Kostas\AppData\Roaming\Sublime Text 3\Packages\SublimeLinter\lint\queue.py", line 65, in loop
    self.lint(view_id, timestamp)
  File "C:\Users\Kostas\AppData\Roaming\Sublime Text 3\Packages\SublimeLinter\lint\queue.py", line 111, in lint
    self.callback(view_id, timestamp)
  File "C:\Users\Kostas\AppData\Roaming\Sublime Text 3\Packages\SublimeLinter\sublime_linter.py", line 263, in lint
    Linter.lint_view(view, filename, code, hit_time, callback)
  File "C:\Users\Kostas\AppData\Roaming\Sublime Text 3\Packages\SublimeLinter\lint\linter.py", line 1008, in lint_view
    callback(cls.get_view(vid), linters, hit_time)
  File "C:\Users\Kostas\AppData\Roaming\Sublime Text 3\Packages\SublimeLinter\sublime_linter.py", line 316, in highlight
    highlights.draw(other_view)
  File "C:\Users\Kostas\AppData\Roaming\Sublime Text 3\Packages\SublimeLinter\lint\highlight.py", line 133, in draw
    all.draw(view)
  File "C:\Users\Kostas\AppData\Roaming\Sublime Text 3\Packages\SublimeLinter\lint\highlight.py", line 477, in draw
    icon = self.get_style("icon", style, error_type)
  File "C:\Users\Kostas\AppData\Roaming\Sublime Text 3\Packages\SublimeLinter\lint\highlight.py", line 184, in wrapper
    return persist.gutter_marks["icons"][error_type]
KeyError: 'warning'
 
SublimeLinter: -------------------- 
  • Here is how the markdown is displayed, i.e. the code is not collapsed:
    2018-01-23_180240
  • Clicking the header:
    2018-01-23_181209
  • Disabling either 'GitHub Toggle Code Wrap' or 'GitHub Copy Code Snippet' or both fixes the issue:
    2018-01-23_180307

Additionally, the two scripts 'GitHub Toggle Code Wrap' and 'GitHub Copy Code Snippet'
work ok by themselves, but their icon is displayed on top of one another.
and so, in order to be able to use them, you have to have only one enabled at a time.

F1 doesn't work

Hello!
I've tried to setup plugin but no luck.
In the help section it said that: "Open the settings panel by pressing "F1" (default setting)"
But f1 doesn't work. I've tried via greasemonkey in Firefox and tempermonkey in Chrome.

I've tried to change "f1" onto "g h" directly in code of script, but It didn't work.

OS: Mac OS X 10.11
All browsers (Firefox, Chrome) are latest version.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.