Compare commits
2 Commits
54800274c3
...
c1c96806ff
Author | SHA1 | Date |
---|---|---|
George Sokianos | c1c96806ff | |
George Sokianos | b7e4055247 |
|
@ -1,6 +1,6 @@
|
||||||
// GitHub CSS fixes
|
// GitHub CSS fixes
|
||||||
// version 1.4
|
// version 1.5
|
||||||
// 2022-11-25
|
// 2023-02-08
|
||||||
// Copyright (c) 2021 Created by Georgios Sokianos
|
// Copyright (c) 2021 Created by Georgios Sokianos
|
||||||
// Released under the GPL license
|
// Released under the GPL license
|
||||||
// http://www.gnu.org/copyleft/gpl.html
|
// http://www.gnu.org/copyleft/gpl.html
|
||||||
|
@ -10,7 +10,7 @@
|
||||||
// @namespace none
|
// @namespace none
|
||||||
// @description Fixes css in GitHub
|
// @description Fixes css in GitHub
|
||||||
// @include https://github.com/*
|
// @include https://github.com/*
|
||||||
// @version $VER: GitHub CSS fixes 1.4 (25.11.2022)
|
// @version $VER: GitHub CSS fixes 1.5 (08.02.2023)
|
||||||
// @url https://ko-fi.com/walkero
|
// @url https://ko-fi.com/walkero
|
||||||
// ==/UserScript==
|
// ==/UserScript==
|
||||||
|
|
||||||
|
@ -105,7 +105,7 @@ window.onload = function () {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Add assets URL in a release
|
// Add assets URL in a release
|
||||||
var fragment = document.querySelector("include-fragment[data-test-selector='lazy-asset-list-fragment']");
|
var fragment = document.querySelector("include-fragment[loading='lazy']");
|
||||||
if (fragment !== null) {
|
if (fragment !== null) {
|
||||||
var assetUrl = fragment.getAttribute('src');
|
var assetUrl = fragment.getAttribute('src');
|
||||||
if (assetUrl !== null) {
|
if (assetUrl !== null) {
|
||||||
|
|
Loading…
Reference in New Issue