Browse Source

Merge remote-tracking branch 'origin/中出し' into 中出し

pull/7/head
viliml 2 years ago
parent
commit
e9370a40f8
  1. 1
      README.md
  2. 2
      main.meta.js
  3. 10
      main.user.js
  4. 8
      src/main.ts

1
README.md

@ -52,6 +52,5 @@ The format used by Zip anon won't be supported because:
Bugs
====
- Cannot expand a file that was embedded in a post that was inlined.
- fails to find files in new posts after a thread update
- more to come

2
main.meta.js

@ -1,7 +1,7 @@
// ==UserScript==
// @name PNGExtraEmbed
// @namespace https://coom.tech/
// @version 0.47
// @version 0.51
// @description uhh
// @author You
// @match https://boards.4channel.org/*

10
main.user.js

@ -1,7 +1,7 @@
// ==UserScript==
// @name PNGExtraEmbed
// @namespace https://coom.tech/
// @version 0.47
// @version 0.51
// @description uhh
// @author You
// @match https://boards.4channel.org/*
@ -13453,6 +13453,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