Wiki w innych językach
Z SCP: Secret Laboratory Polish Official Wiki
m (dobra znowu zepsułem, naprawiam) |
m (popsułem w kodzie, naprawiam) |
||
Linia 13: | Linia 13: | ||
var og_url= document.createElement('meta'); | var og_url= document.createElement('meta'); | ||
og_url.setAttribute('property', 'og: | og_url.setAttribute('property', 'og:url'); | ||
og_url.content = document.URL; | og_url.content = document.URL; | ||
document.getElementsByTagName('head')[0].appendChild(og_url); | document.getElementsByTagName('head')[0].appendChild(og_url); |
Wersja z 01:10, 24 sty 2022
/* Umieszczony tutaj kod JavaScript zostanie załadowany przez każdego użytkownika, podczas każdego ładowania strony. */ /* Embed */ var og_title = document.createElement('meta'); og_title.setAttribute('property', 'og:title'); og_title.content = document.title; document.getElementsByTagName('head')[0].appendChild(og_title); var og_type = document.createElement('meta'); og_type.setAttribute('property', 'og:type'); og_type.content = "website"; document.getElementsByTagName('head')[0].appendChild(og_type); var og_url= document.createElement('meta'); og_url.setAttribute('property', 'og:url'); og_url.content = document.URL; document.getElementsByTagName('head')[0].appendChild(og_url); var og_image = document.createElement('meta'); og_image.setAttribute('property', 'og:image'); og_image.content = "https://scpslgame.com/wp-content/uploads/2020/10/SL_Logo_Bright_120x120.png"; document.getElementsByTagName('head')[0].appendChild(og_image); var og_description = document.createElement('meta'); og_description.setAttribute('property', 'og:description'); og_description.content = "Oficjalna Wiki SCP: Secret Laboratory"; document.getElementsByTagName('head')[0].appendChild(og_description);
Ciasteczka pomagają nam dostarczać nasze usługi. Korzystając z naszych usług, zgadzasz się na wykorzystywanie ciasteczek.
- Tę stronę ostatnio edytowano 24 sty 2022, 01:10.
- Treść udostępniana na licencji CC BY-SA 3.0, jeśli nie podano inaczej.
- Polityka prywatności
- O SCP: Secret Laboratory Polish Official Wiki
- Informacje prawne