Greasy Fork is available in English.
Adds star history chart to sidebar of GitHub repos
Ceci est la version du script où le code a été mise à jour. Présenter toutes les versions.
ESCAPED_MSG ↞ [auto-sync from adamlui/userscripts]
adamlui/userscripts
Expanded onRepoPage to cover branches, shortened regex
onRepoPage
Fixed graph doesn't insert on direct nav from repo to repo (adamlui/github-star-history#38)
Appended semicolon to line before observer IIFE
... to avoid unpredictable behavior
Eliminated dismissKeys init in alert() for conciseness
dismissKeys
alert()
Padded object destructuring for readability
Condensed mutation observer routine
Condensed getUserAndRepoOfCurrentPage()
getUserAndRepoOfCurrentPage()
Loosened comparison operators for smaller filesize
Fix repository URL regex
Fix SonarCloud comments
Merge pull request #20 from ramikg/fix-repository-url-regex
Fix repository URL regex ("trailing slash" bug)
Added space
Promisified GM.xmlHttpRequest() in insertStarHistory() to support VM (adamlui/userscripts#74)
GM.xmlHttpRequest()
insertStarHistory()
Further reduced potential for backtracking in config.updateURL regex
config.updateURL
Eliminated potential for polynomial backtracking in regex
... by increasing specificity of capturing group
Updated regex to exclude query params in GitHub URL extraction
Replaced all .appendChild()'s w/ .append()'s to shorten codebase
.appendChild()
.append()
Added sytem/browser user scheme preference to isDarkMode()
isDarkMode()
Eliminated .innerHTML dependency, re-ordered routine
.innerHTML
Added config.appName
config.appName
Shortened attribute arg name
attribute
Shortened element arg
element
Removed () around unmodded args in arrow functions
()
Loosened equality comparisons
Updated download/update URLs ↞ [auto-sync from adamlui/userscripts]
Replaced .match() w/ faster method
.match()
Added download/update URL metas, updated config.updateURL ↞ [auto-sync from adamlui/userscripts]
Updated // @version to 2023.9.30.2
// @version
2023.9.30.2
Updated alert() + About modal
Removed semicolons, added whitespace
Added transition fx to alert(), combined const inits
Moved #star-history check later to allow for load
#star-history
Changed onRepoPage to regex to allow trailing slashes
Changed hover cursor to crosshair
Added // @grant GM_openInTab ↞ [auto-sync from adamlui/userscripts]
// @grant GM_openInTab
Added Edge compatibility meta ↞ [auto-sync from adamlui/userscripts]
Removed unused config.prefix, added base to parseInt()'s ↞ [auto-sync from adamlui/userscripts]
config.prefix
parseInt()
Added about dialog to menu ↞ [auto-sync from adamlui/userscripts]
Removed line breaks for readability ↞ [auto-sync from adamlui/userscripts]
Added darkmode + Chromium support, re-ordered functions, added meta ↞ [auto-sync from adamlui/userscripts]
Added title tags ↞ [auto-sync from adamlui/userscripts]
GH sync test