mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
fix(web): 🐛 extract inline tpl redirect script to not be blocked by csp
This commit is contained in:
parent
4be18238cd
commit
44bae636a7
2 changed files with 4 additions and 5 deletions
|
|
@ -11,11 +11,7 @@
|
|||
<![endif]-->
|
||||
|
||||
<!-- For IE > 9 -->
|
||||
<script type="text/javascript">
|
||||
if (window.navigator.msPointerEnabled) {
|
||||
window.location = "https://filterlists.com/tpl.html";
|
||||
}
|
||||
</script>
|
||||
<script src="tpl-redirect.js"></script>
|
||||
|
||||
<link
|
||||
rel="shortcut icon"
|
||||
|
|
|
|||
3
web/public/tpl-redirect.js
Normal file
3
web/public/tpl-redirect.js
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
if (window.navigator.msPointerEnabled) {
|
||||
window.location = "https://filterlists.com/tpl.html";
|
||||
}
|
||||
Loading…
Reference in a new issue