SHOW:
|
|
- or go back to the newest paste.
1 | <!DOCTYPE html> | |
2 | <head> | |
3 | <title>Test1</title> | |
4 | </head> | |
5 | <body> | |
6 | Hello World | |
7 | <script | |
8 | src="https://code.jquery.com/jquery-3.3.1.min.js" | |
9 | integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" | |
10 | crossorigin="anonymous"></script> | |
11 | <script> | |
12 | $(document).ready(function(){ | |
13 | - | $('head').append('<meta property="og:url" content="http://www.nytimes.com/2015/02/19/arts/international/when-great-minds-dont-think-alike.html" /><meta property="og:type" content="article" /><meta property="og:title" content="Test" /><meta property="og:description" content="How much does culture influence creative thinking?" /><meta property="og:image" content="og.jpg" />'); |
13 | + | $(document).attr("title", "Test"); |
14 | $("head").append('<meta property="og:url" content="http://www.nytimes.com/2015/02/19/arts/international/when-great-minds-dont-think-alike.html" /><meta property="og:type" content="article" /><meta property="og:title" content="Test" /><meta property="og:description" content="How much does culture influence creative thinking?" /><meta property="og:image" content="og.jpg" />'); | |
15 | }); | |
16 | </script> | |
17 | </body> | |
18 | </html> |