Browse Source

Fix 4chanX inline image expand on discovered embeds

pull/46/head
coomdev 2 years ago
parent
commit
54a21fc353
  1. 10
      main.user.js
  2. 8
      src/main.ts

10
main.user.js

@ -1,7 +1,7 @@
// ==UserScript==
// @name PNGExtraEmbed
// @namespace https://coom.tech/
// @version 0.46
// @version 0.47
// @description uhh
// @author You
// @match https://boards.4channel.org/*
@ -13454,6 +13454,14 @@
.hasembed {
border-right: 3px dashed deeppink !important;
}
.expanded-image > .post > .file .fileThumb > img[data-md5] {
display: none;
}
.expanded-image > .post > .file .fileThumb .full-image {
display: inline;
}
`));
document.documentElement.insertBefore(customStyles, null);
})();

8
src/main.ts

@ -407,6 +407,14 @@ customStyles.appendChild(document.createTextNode(
.hasembed {
border-right: 3px dashed deeppink !important;
}
.expanded-image > .post > .file .fileThumb > img[data-md5] {
display: none;
}
.expanded-image > .post > .file .fileThumb .full-image {
display: inline;
}
`
));

Loading…
Cancel
Save