Project

General

Profile

Actions

Bug #4445

open

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

Added by Alice Margatroid over 9 years ago. Updated over 9 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

?

Actions #1

Updated by Mathieu Vadnais over 9 years ago

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

Actions #2

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

Also available in: Atom PDF