When using certain minifiers/js optimizers like autoptomize, scripts are encoded into base64. This leads to any links within the script not being replaced.
Would it be possible for simply static to decode base64 within script tags encoded as base64, replace urls, then reencode as base64?
When using certain minifiers/js optimizers like autoptomize, scripts are encoded into base64. This leads to any links within the script not being replaced.
Would it be possible for simply static to decode base64 within script tags encoded as base64, replace urls, then reencode as base64?
Example:
<script src="data:text/javascript;base64,DQERWSRERWERE...."></script>