Blogger HTML script code scrambled

After all day (both at Paypal and Google), I went to the Blogger forums, they told me to come here, I hope you can help me.

Paypal offers a loan, all you have to do is put the HTML on the page on which you want to offer a loan, and a button will be installed on it to allow it. Every time I download HTML, Blogger scrambles it like eggs and changes the code that I embed.

Here the code that PP gives me tells me to paste before what was on the page that I did with the HTML button.

I can't figure out how to get all the code here ... he continues to grind it while entering the code.

<script type="text/javascript" data-pp-pubid="ee29d99d19" data-pp-
placementtype="190x100"> (function (d, t) {
"use strict";
var s = d.getElementsByTagName(t)[0], n = d.createElement(t);
n.src = "//paypal.adtag.where.com/merchant.js";
s.parentNode.insertBefore(n, s);
}(document, "script"));
</script>

BLOGGER approaches this

<script data-pp-placementtype="190x100" data-pp-pubid="ee29d99d19"
type="text/javascript"> (function (d, t) {
"use strict";
var s = d.getElementsByTagName(t)[0], n = d.createElement(t);
n.src = "//paypal.adtag.where.com/merchant.js";
s.parentNode.insertBefore(n, s);
}(document, "script"));
</script>

PP. HTML . Java script , . , .., .

Blogger , . , .

stackoverflow.com, , "" Blogger, Blogger, "".

, tempat-ing Blogger .XML , HTML javascript. escape- XML, ...

<script data-*-*="......" data-*-*="......">
//<![CDATA[

... javascript...

//]]>
</script>

, escape. > HTML-, , / Blogger Blog1 ...

+4
1
<script data-pp-pubid="ee29d99d19" data-pp-placementtype="190x100" type="text/javascript">
(function (d, t) {
"use strict";
var s = d.getElementsByTagName(t)[0], n = d.createElement(t);
n.src = "//paypal.adtag.where.com/merchant.js";
s.parentNode.insertBefore(n, s);
}(document, "script"));
</script>

, , - , , , , .

, , type = "text/javascript" <script> , .

, , :

<script data-pp-pubid="ee29d99d19" data-pp-placementtype="190x100">
(function (d, t) {
"use strict";
var s = d.getElementsByTagName(t)[0], n = d.createElement(t);
n.src = "//paypal.adtag.where.com/merchant.js";
s.parentNode.insertBefore(n, s);
}(document, "script"));
</script>

, , - , - , . <script> , , PayPal, , , PayPal , , .

, PayPal -pp-pubid = "ee29d99d19" data-pp-placementtype = "190x100" < script > , , javascript-, , js-, , , , ?

-1

Source: https://habr.com/ru/post/1661252/


All Articles