Project

General

Profile

Bug #4445

Wt::Application's require method does not work with Google Adsense

Added by Alice Margatroid about 7 years ago. Updated about 7 years ago.

Status:
Feedback
Priority:
Normal
Assignee:
Target version:
-
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

?

#1

Updated by Mathieu Vadnais about 7 years ago

Did you try to add "http:" at the beginning of the url ?

#2

Updated by Koen Deforche about 7 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

Also available in: Atom PDF