Actions
Bug #4445
open
AM
KD
Wt::Application's require method does not work with Google Adsense
Bug #4445:
Wt::Application's require method does not work with Google Adsense
Start date:
08/31/2015
Due date:
% Done:
0%
Estimated time:
Description
The following code continually generates an error:
require("//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js");
The error indicates the resource cannot be loaded, as seen here:
http://i.imgur.com/ztzQQur.png
However, this is the standard javascript link for Google Adsense, so I doubt it is actually not able to be loaded.
Is there any reason why this would occur, or any way to generate a raw
<script> ?MV Updated by Mathieu Vadnais about 11 years ago
Did you try to add "http:" at the beginning of the url ?
KD Updated by Koen Deforche about 11 years ago
- Status changed from New to Feedback
- Assignee set to Koen Deforche
Hey,
Can you be more specific on how to reproduce this? I just tried this (within the hello world example) and it simply works as advertised (sic).
Koen
Actions