2021-10-17 00:02:59 +08:00
|
|
|
{
|
|
|
|
const script = document.createElement('script');
|
|
|
|
script.innerHTML = `
|
|
|
|
window.innerWidth = window.outerWidth + 72;
|
2021-10-17 00:20:40 +08:00
|
|
|
window.addEventListener('resize', () => {
|
|
|
|
window.innerWidth = window.outerWidth + 72;
|
|
|
|
});
|
2021-10-17 00:02:59 +08:00
|
|
|
`;
|
|
|
|
document.head.appendChild(script);
|
|
|
|
}
|