mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-23 01:56:21 +00:00
6d3b2dac16
ni permitirles modificar la ventana de origen
6 lines
207 B
JavaScript
6 lines
207 B
JavaScript
document.addEventListener('turbolinks:load', () => {
|
|
document.querySelectorAll("a[href^='http://'],a[href^='https://'],a[href^='//']").forEach(a => {
|
|
a.rel = "noopener"
|
|
a.target = "_blank"
|
|
})
|
|
})
|