diff mbox

[FFmpeg-devel] Remove battleforthenet widget

Message ID 20180130110529.15520-1-wiiaboo@gmail.com
State New
Headers show

Commit Message

Ricardo Constantino Jan. 30, 2018, 11:05 a.m. UTC
---
 src/template_head2 | 23 -----------------------
 1 file changed, 23 deletions(-)

Comments

wm4 Jan. 30, 2018, 11:52 a.m. UTC | #1
On Tue, 30 Jan 2018 11:05:29 +0000
Ricardo Constantino <wiiaboo@gmail.com> wrote:

> ---
>  src/template_head2 | 23 -----------------------
>  1 file changed, 23 deletions(-)
> 
> diff --git a/src/template_head2 b/src/template_head2
> index 71daf07..a0b11ab 100644
> --- a/src/template_head2
> +++ b/src/template_head2
> @@ -3,29 +3,6 @@
>        <script src="js/html5shiv.min.js"></script>
>        <script src="js/respond.min.js"></script>
>      <![endif]-->
> -    <script type="text/javascript">
> -    var _bftn_options = {
> -        /*
> -        * Specify view cookie expiration. After initial view, modal will not be
> -        * displayed to a user again until after this cookie expires. Defaults to one
> -        * day.
> -        */
> -        viewCookieExpires: 60, // @type {number}
> -
> -        /*
> -        * Specify action cookie expiration. After initiating a call or clicking a
> -        * donate link, modal will not be displayed to a user again until after this
> -        * cookie expires. Defaults to one week.
> -        */
> -        actionCookieExpires: 60, // @type {number}
> -
> -        /*
> -        * Prevents the widget iframe from loading Google Analytics. Defaults to false.
> -        */
> -        disableGoogleAnalytics: true, // @type {boolean}
> -    };
> -    </script>
> -    <script src="https://widget.battleforthenet.com/widget.js" async></script>
>  
>      <link href="main.rss" rel="alternate" type="application/rss+xml" title="ffmpeg.org" />
>      <link rel="shortcut icon" href="favicon.ico" />

Amazing that it's still not removed, even though it appears on the site
by default.
Michael Niedermayer Jan. 30, 2018, 12:10 p.m. UTC | #2
On Tue, Jan 30, 2018 at 11:05:29AM +0000, Ricardo Constantino wrote:
> ---
>  src/template_head2 | 23 -----------------------
>  1 file changed, 23 deletions(-)

applied

i dont understand why this did not disable itself at the end of the campaign.
It should have disabled itself

Thanks

[...]
diff mbox

Patch

diff --git a/src/template_head2 b/src/template_head2
index 71daf07..a0b11ab 100644
--- a/src/template_head2
+++ b/src/template_head2
@@ -3,29 +3,6 @@ 
       <script src="js/html5shiv.min.js"></script>
       <script src="js/respond.min.js"></script>
     <![endif]-->
-    <script type="text/javascript">
-    var _bftn_options = {
-        /*
-        * Specify view cookie expiration. After initial view, modal will not be
-        * displayed to a user again until after this cookie expires. Defaults to one
-        * day.
-        */
-        viewCookieExpires: 60, // @type {number}
-
-        /*
-        * Specify action cookie expiration. After initiating a call or clicking a
-        * donate link, modal will not be displayed to a user again until after this
-        * cookie expires. Defaults to one week.
-        */
-        actionCookieExpires: 60, // @type {number}
-
-        /*
-        * Prevents the widget iframe from loading Google Analytics. Defaults to false.
-        */
-        disableGoogleAnalytics: true, // @type {boolean}
-    };
-    </script>
-    <script src="https://widget.battleforthenet.com/widget.js" async></script>
 
     <link href="main.rss" rel="alternate" type="application/rss+xml" title="ffmpeg.org" />
     <link rel="shortcut icon" href="favicon.ico" />