mirror of
https://github.com/the1812/Bilibili-Evolved.git
synced 2025-11-04 21:22:45 +08:00
20 lines
439 B
JavaScript
20 lines
439 B
JavaScript
(() =>
|
|
{
|
|
return (_, resources) =>
|
|
{
|
|
const id = "bilibili-haruna-scale";
|
|
if ($(id).length === 0)
|
|
{
|
|
resources.applyStyleFromText(`
|
|
<style id='${id}'>
|
|
.haruna-ctnr,
|
|
.avatar-btn
|
|
{
|
|
transform: scale(${1 / window.devicePixelRatio}) !important;
|
|
}
|
|
</style>
|
|
`);
|
|
}
|
|
};
|
|
})();
|