Skip to main content

BEVIDSTDAME Nyt om navne Bliv abonnent og ls hele historienMEST LSTE - LIGE NU Alle i busselskab i chok: Buschauffr slet ned af vred passager Flere fynske VUC-centre er lukningstruede Lst inde i konkursbo: Fynboer str uden sommerdk Ejer af udbrndt ivrkstterhus afventer forsikringsselskabs afgrelse Nygifte: Diskofil sanger fik sin kongelige skuespiller Medlem af Bestseller-familie var indlagt efter bombeangreb Odense Danmark SENESTE NYT Faaborg-Midtfyn MEST LSTE Alle i busselskab i chok: Buschauffr slet ned af vred passager Flere fynske VUC-centre er lukningstruede Lst inde i konkursbo: Fynboer str uden sommerdk Ejer af udbrndt ivrkstterhus afventer forsikringsselskabs afgrelse Nygifte: Diskofil sanger fik sin kongelige skuespiller Medlem af Bestseller-familie var indlagt efter bombeangreb Sport Kerteminde SENESTE NYT Odense Svendborg Fyn Erhverv Fyn Danmark Odense Odense Faaborg-Midtfyn

betingelser











(function($)
var objectType = "article";
var articleid = "135606";
// This should be configurable (canonical URL)!
var articleUrl = $('meta[property="og:url"]').attr('content');
var shareClass = "facebookShare";
var disableComments = "0";

window.fbAsyncInit = function()
FB.init(
appId : '179409695476934',
xfbml : true,
status : true, // check login status
cookie : true, // enable cookies to allow the server to access the session
oauth : true, // enable OAuth 2.0
version : 'v2.8'
);

// Attach events to functions
FB.Event.subscribe('xfbml.render', fb_social_plugins_loaded);
if (objectType == "article" && disableComments == 0)
// Comments event are only available for articles (is the only place where the comment plugin is placed)
FB.Event.subscribe('comment.create', comment_callback_create);
FB.Event.subscribe('comment.remove', comment_callback_remove);
// fired when the user likes something
FB.Event.subscribe('edge.create', edge_create);

;
//////////////////////////////// END OF fbAsyncInit

if (window.attachEvent && !window.addEventListener)
// IE8 and older gives an error.
else
(function(d, s, id)
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/da_DK/sdk.js";
fjs.parentNode.insertBefore(js, fjs);
(document, 'script', 'facebook-jssdk'));


var comment_callback_create = function(response)
// When someone does a comment go to the socialmedia module to update the comment counter
$.post("https://www.fyens.dk/modules/socialmedia/public/request/fb_comment", object_id: articleid, object_type: objectType, href: articleUrl );

if (typeof ga === 'function')
ga('send', 'event', 'Add comment', 'Klik', 'Nyt om navne');

;

var comment_callback_remove = function(response)
// When someone deletes a comment go to the socialmedia module to update the comment counter.
// NOTE(IT SEEMS IS NOT THE CASE ON LIVE!): Since facebook has a delay when someone deletes a comment we decrease by one the comment counter on delete
$.post("https://www.fyens.dk/modules/socialmedia/public/request/fb_comment", object_id: articleid, object_type: objectType, href: articleUrl );
;

var edge_create = function(response)
$.post("https://www.fyens.dk/modules/socialmedia/public/request/i_like", id: articleid, type: objectType, url: articleUrl);

if (typeof ga === 'function')
ga('send', 'social', 'Facebook', 'like', articleUrl);

;

function fb_social_plugins_loaded()
// Make the facebook share functionality work with the API
$("." + shareClass).click(function() attr == false) href == false

FB.ui(
method: 'share',
href: href,
mobile_iframe: true
, function(response));
);

(jQuery))



(function($)
$('.fb_teaser_comment_count').each(function(index)
var count = parseInt($(this).find('span.fb_comments_count').text());
if ( count >= 5 )
if ($(this).hasClass("hide-facebook-comments"))
$(this).removeClass("hide-facebook-comments");
$(this).addClass("show-facebook-comments");
else
$(this).show(0);


);
)(jQuery);

var eventMethod = window.addEventListener ? "addEventListener" : "attachEvent";
var eventer = window[eventMethod];
var messageEvent = eventMethod == "attachEvent" ? "onmessage" : "message";
// Listen to message from child window
eventer(messageEvent,function(e) ,false);
window.__cmp('addEventListener', 'cmpReady', function(result) window.__cmp('getConsentData', null, function(result) window.bk_async = function() bk_addPageCtx('logged_in', 'no');BKTAG.doTag(39974,4);;(function() var scripts = document.getElementsByTagName('script')[0];var s = document.createElement('script');s.async = true;s.src = "https://tags.bkrtx.com/js/bk-coretag.js";scripts.parentNode.insertBefore(s, scripts);());););window['ga-disable-UA-32551351-3'] = true;(function (i, s, o, g, r, a, m) i['GoogleAnalyticsObject'] = r;i[r] = i[r] )(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga');ga('create', 'UA-32551351-3', 'auto');ga('set', 'dimension1', 'no');ga('set', 'dimension2', 'Paywall');ga('set', 'dimension4', '135606');ga('set', 'dimension5', '2005-02-20 01:00:00');ga('set', 'dimension6', 'FST Navne');ga('set', 'dimension7', 'Ikke angivet');ga('set', 'dimension8', '74');ga('set', 'dimension9', 'Article');ga('set', 'dimension12', 'Nyt om navne');ga('set', 'dimension17', '0');ga('set', 'dimension18', '');ga('set', 'dimension20', '');ga('set', 'dimension27', '');ga('set', 'dimension28', 'https://images.fyens.dk/48/26848_200_600_0_0_0_0.jpg');ga('set', 'dimension29', '260');ga('set', 'dimension30', '');(function($)$(".userIsLoggedIn .header-right .xphoto-subscription-flexblock .epaper-link").on("click touchstart", function() if (typeof ga === 'function') ga('send', 'event', 'Top log ind', 'Klik', 'Nyt om navne'););$(".userIsNotLoggedIn .header-right .xphoto-subscription-flexblock .epaper-link").on("click touchstart", function() if (typeof ga === 'function') ga('send', 'event', 'Top knap', 'Klik', 'Nyt om navne'););)(jQuery);window.__cmp('addEventListener', 'cmpReady', function(result) window.__cmp('getConsentData', null, function(result) ););jQuery(function() jQuery.scrollDepth(););
/** CONFIGURATION START**/
var _sf_async_config = _sf_async_config || ;
_sf_async_config.uid = '43931';
_sf_async_config.domain = 'fyens.dk';
_sf_async_config.authors = 'Jv.dk';
_sf_async_config.useCanonical = true;
_sf_async_config.sections = 'plus,nyt om navne,nyt om navne-plus';
/** CONFIGURATION END **/
/** CUSTOM METRICS START **/
var rawStatus = "userIsNotLoggedIn";
var status = '';
switch (rawStatus)
case 'userIsLoggedIn canRead':
status = 'paid';
break;
case 'userIsLoggedIn':
status = 'lgdin';
break;
default:
status = 'anon';

var _cbq = window._cbq || [];
_cbq.push(['_acct',status]);
_cbq.push(['_paid', 'plus']);
/** CUSTOM METRICS END **/
(function()
function loadChartbeat()
window._sf_endpt = (new Date()).getTime();
var e = document.createElement('script');
e.setAttribute('language', 'javascript');
e.setAttribute('type', 'text/javascript');
e.setAttribute('src', '//static.chartbeat.com/js/chartbeat_video.js');
document.body.appendChild(e);

// Wrap code in cmpReady event, so code only runs when user has accepted cookies
window.__cmp('addEventListener', 'cmpReady', function(result)
window.__cmp('getConsentData', null, function(result)
// Code to run when user has accepted cookies
_sf_async_config.noCookies = false;
loadChartbeat();
);
);
)();



Popular posts from this blog

Log på Navigationsmenu

Wonderful Copenhagen (sang) Eksterne henvisninger | NavigationsmenurSide på frankloesser.comWonderful Copenhagen

Detroit Tigers Spis treści Historia | Skład zespołu | Sukcesy | Członkowie Baseball Hall of Fame | Zastrzeżone numery | Przypisy | Menu nawigacyjneEncyclopedia of Detroit - Detroit TigersTigers Stadium, Detroit, MITigers Timeline 1900sDetroit Tigers Team History & EncyclopediaTigers Timeline 1910s1935 World Series1945 World Series1945 World Series1984 World SeriesComerica Park, Detroit, MI2006 World Series2012 World SeriesDetroit Tigers 40-Man RosterDetroit Tigers Coaching StaffTigers Hall of FamersTigers Retired Numberse