As an Amazon Associate I earn from qualifying purchases from amazon.com

The Top Stories That Shaped Video Games in 2020


I’m finding it hard to come up with names of any friends or acquaintances in games who don’t feel exhausted as we inch toward 2020’s end. It feels like many of us entered lockdowns at the start of the year with a bit of optimism about how video games and the networks surrounding them could provide comfort and community during this time. Surely, with games culture and production so online already, we’d collectively be able to weather this storm better than others, right?

The outcome depends on who you ask, maybe. Ugly echoes of past controversies and ever-present issues of oversight and abuse have left an awful stamp on this year. The remote work shift highlighted a pressing need for more flexibility in this industry. At the same time it threatens to hide exploitative practices away in people’s homes. Grand promises have been made and—for reasons both good and pathetically flimsy—many have been broken.

What follows are five stories from that past year that I think define 2020 in gaming, though many or all of them can be seen as new developments in existing narratives. To me, these issues should stay top-of-mind for anyone who loves games as we enter 2021 and look to the medium’s imminent future. We can’t let the collective struggle and trauma of this year lead to a memory-holing of what 2020’s biggest changes and challenges actually mean.

There’s no “writer’s room” responsible for making 2020 a tough year. It can’t be shrugged off like a bad season of TV. If anything, the pandemic accelerated trends both good and bad that will likely stick with games for years to come, and we’d do well to try and understand them now rather than shrug and hope for better days to come.

The Long, Agonizing Year of Cyberpunk 2077

Before large swathes of the world had even heard of COVID-19, an announcement in mid-January kicked off a cycle of reporting, anticipation, and disappointment that we’re still mired in now.

Cyberpunk 2077’s first delay in January moved it from April to September, a move that hardly came as a surprise with The Last of Us Part 2, Marvel’s Avengers, and Final Fantasy 7 Remake also getting pushed back at around the same time. Delays are nothing new in triple-A development, but Cyberpunk’s obvious production struggles whispered a story that was drowned out by its aggressive marketing

After another two delays, required crunch, an epilepsy crisis, and an unprecedented Sony delisting, Cyberpunk stands as a game that simply wasn’t ready for release on any platform. A few days before release, Stacey Henley wrote astutely about how Cyberpunk’s deliberately edgy marketing and transphobic leanings had worked well and will likely be copied by others in the future. Sure enough, right before ire over the broken state of the game on PS4 and Xbox One surged, Cyberpunk handily broke a massive PC pre-order sales record. The marketing did work.

My sympathies are with the devs who continue to put in long hours while trying to make the game one worth playing, and I understand the frustration of players who’re now trying to get their refund. For the folks who genuinely wanted to make Cyberpunk 2077 a good game, and for those who want to play that game, I hope there’s a happy ending of sorts. At the same time, I don’t trust other CD Projekt or other companies to learn from this botched launch if there’s any kind of redemption arc here.

Cyberpunk 2077’s release should serve as a harsh wake-up call to publishers. You might be able to produce a fine game by crunching, and you can generate sales by feeding the worst impulses of certain people, but doing both while also over-promising and under-delivering results in an absolute mess. This isn’t the first time, it won’t be the last, and even if CD Projekt Red does manage to greatly improve the game and repair its trust with the public over time, its current leadership shouldn’t be let off the hook for creating this disaster.

Microsoft’s Spending Billions Today to Secure Tomorrow for Game Pass

When Google first unveiled its plans for Stadia, I observed that the long-term goal of all cloud business is to take computing capital out of the hands of individuals—to leave customers with “a minimally viable point of entry” to networks that serve up content and services while sucking in data. Convenience and a corporate-determined “freedom of choice” are offered in exchange for the right to actually own and modify something. Anyway, I’m paying $10 a month for Xbox Game Pass, and I bet you might be too!

While Google, Amazon, and Facebook fumble with their own gaming content pipelines and partnerships, Microsoft—no stranger to acquisitions or to cloud computing at scale—is running circles around them and Sony in terms of lining up big titles that will work on its streaming service. Game Pass is already an extraordinary value for its wide selection, but the point of all the studio-buying Microsoft’s been doing is to make that value unquestionable. Hence the $7.5 billion purchase of ZeniMax and Bethesda.

Microsoft’s consolidating computing power in the cloud while its studio purchases consolidate talent and established IP. Sony, Google, and others likely see the writing on the wall, too—the seemingly unstoppable shift toward streaming and subscriptions means going big or going home. I’m not so pessimistic as to think this has to correspond with things only getting harder for smaller studios and independents to make it without signing deals with big company X or Y, but that’ll certainly be the case if the platform holders don’t care to ensure otherwise. The last thing the industry needs is for new and upcoming developers to start getting treated like musicians putting their music on Spotify.

2020’s seen incredible growth for Game Pass in large part because Microsoft seems committed to making the model work well for developers and customers alike. As we’re seeing now with movie and television streaming a decade-plus into that model, though, there’s no absolutely reason to trust any large company to keep encouraging creativity and variety or to continue cutting good deals for its customers in the long-run.

Ubisoft and Others Reckon With Abuse, Assault, and Harassment

“Given the particular stratification and longstanding struggles with diversity within the video games business, however, these new allegations add up to a call for a major re-evaluation of industry norms.” I wrote that back in June when multiple stories of harassment and sexual misconduct within streaming circles, gaming press, and game development all came to light in a matter of days. I wanted to emphasize that while these instances of alleged wrongdoing were certainly fit within the broader patterns of abuse in entertainment that sparked the #MeToo movement, the games industry is also structured so as to produce unique failings.

In the weeks that followed, focus zeroed-in on Ubisoft as further allegations came to light. It only became clearer that all-too-common issues of precarity, project mismanagement, and lack of representation in game development helped create conditions where abusers were protected and even promoted up the chain whilst espousing racist and homophobic views or preying upon their subordinates. Ubisoft CEO Yves Guillemot promised reform, and several figures accused of offenses have left the company or been forced out, but that’s only so much of a “win” after so much damage done.

Twitch, too, has been accused of fostering a workplace culture tainted by “rampant and unavoidable” harassment, sexual misconduct, racism, and abuse. Just this week, as it gears up to institute a new harassment policy for users in the new year, the streaming giant has also been criticized for instituting hard-to-moderate policies like banning the words “simp” and “incel” while ignoring longstanding community requests that frequent streamers believe will actually help, like instituting a Trans tag so that transgender viewers can more easily connect with communities that stand against transphobia.

Altogether, 2020’s wave of stories about abuse highlight incompetence and ignorance on the corporate level. Streamers who actually contribute all the value of Twitch’s platform and workers at Ubisoft (or any other studio) who create the games that enrich board members and shareholders don’t just deserve “better” protections, determined by and handed down from on-high. They deserve seats at the table to make reforms based on real experience, not ones fretted over by lawyers and C-suite execs with liability and profitability in mind.

The Best Online Events Were Those That Strived To Be Better

If there’s any one phrase from 2020 in gaming that’ll pop up in stress dreams for years to come, it’s the “Summer Games Mess.” Thanks, Jeff Grubb.

In truth, Grubb did a tremendous service for myself and other journalists by trying to wrangle together dates for the trainwreck that a pandemic-disrupted console launch year with no E3 was sure to become. The mess was unavoidable, and I don’t fault any organization that decided now was the time to copy some notes from Nintendo’s Directs and launch a new online showcase. Marketing had to happen somehow, and the overwhelming number of events probably helped some games receive attention they wouldn’t have otherwise.

That said, let us all take a collective step back and realize that it all amounted to a shaggy, haphazard slog. With nobody needing to compete for attention in E3 or PAX-sized windows, everything was stretched thin to the point of absurdity. Turns out the DualSense is a cool controller with amazing haptics, but in hindsight, that makes the idea of a hands-on stream with it all the more pointless. In the cases of several titles, including Xbox’s crown jewel Halo Infinite, the summer bombast seems ill-advised in retrospect since delays proved necessary anyway.

2020’s best online events were the ones declined to chase business-as-usual. Games Done Quick put on two tremendous charity marathons, one for COVID-19 relief and the annual SGDQ in summer—going online increased the global diversity of participants and the variety of games, two changes so palpably positive that it makes you wonder if online runs should remain a part of the big annual events. Guy Blomberg, formerly of ReedPop, turned a Zoom hangout modeled after hotel bar gatherings into GIG, a series of industry networking events that’s proving to be both more accessible and more inclusive thanks to a zero-tolerance approach to harassment. I’d even lump the AOC/Ilhan Omar Among Us stream in here, a savvy and entertaining act of political outreach that should put to bed the notion that “gamers” as a mass identity want nothing to do with progressive politics.

Black Lives Matter Deserves More Than a Namedrop

To that last point, I hope 2021 sees more large game studios and publishers making real commitments to racial justice. As the summer protests sparked by the death of George Floyd expanded across the entire globe, we saw plenty of large companies make gestures toward the movement that were surprising not in their apparent earnestness or impact, but in that it was shocking to see them acknowledge it at all. Some donated money, a handful of titles got sparse Black Lives Matter splash screens, and events got shifted around as tensions flared and attention was demanded elsewhere.

In a few instances—more often with smaller developers, streamers, and gaming press—there was actual talk not just of the value of Black lives, but of the institutions and groups that work to diminish and destroy them. Decades of police brutality brought the US to the flashpoint it reached this summer. Epic removing cop cars from Fortnite ends up reading as a whisper-quiet offshoot of an idea that millions bravely took to the streets to yell: the world we have now will see no justice and no peace so long as it defends its racist police.



Spider-Man: Miles Morales has a powerful story, but even so, it tiptoes around conversations about race. | Sony

Even in Spider-Man: Miles Morales, a launch game made commercially viable thanks to the soaring popularity of its beloved, unapologetically Black lead, its well-meaning nod of solidarity toward the Black Lives Matter movement leaves much to be desired. Critics Gita Jackson, Charles Pulliam-Moore, and Joshua Rivera have all pointed to how the presence of a giant Black Lives Matter mural in Miles’ Harlem can be seen as an intrusion of our reality into the sanitized New York that Marvel depicts. Miles doesn’t really work with the police like Peter Parker did, and when they do arrive late to the scene of a crime he stopped they hardly seem happy to see him, but to say that’s reflective of how the police treat Black teens in real life would be a generous interpretation. Maybe the cops have seen enough webbed-up super villains to think twice about trying to stop and frisk Harlem’s Spider-Man, but what of the all ordinary people in Miles’ Manhattan?

Directing attention toward societal ills and funnelling money to foundations that tackle them are commendable acts, but they’re not actions that utilize the full potential of this medium. As bigger games hopefully continue to feature more Black characters while also supporting more Black creators, every designer, studio, and publisher should ask themselves how a commitment to equality can be better expressed in the systems and stories of their games. The possibilities there are more potent than any pre-menu statement could ever be.

');
jQuery('.video-container', yt_video_wrapper).remove();
jQuery('.bb_wrapper', yt_video_wrapper).append('Watch on YouTube');
});
});

}

function runComscore() {
var _comscore = _comscore || [];
_comscore.push({ c1: "2", c2: "8518622" });
(function() {
var s = document.createElement("script");
el = document.getElementsByTagName("script")[0];
s.async = true;
s.src = "https://sb.scorecardresearch.com/beacon.js";
el.parentNode.insertBefore(s, el);
})();
}
function runFacebookLogin() {
$(document).ready(function() {
fbs = $("[data-action=facebook-login]");
for(i = 0; i < fbs.length; i++) { new FacebookLogin({ target: fbs[i] }); } }); } function triggerMormont () { mormont('set', 'section', 'article'); mormont('set', 'language', 'en'); mormont('set', 'platforms', ['google-stadia','pc','playstation-5','ps4','switch','xbox-series-x','xboxone']); mormont('set', 'published', "2020-12-18T22:10:00+00:00"); mormont('set', 'article_type', "article"); mormont('set', 'author', "Mathew Olson"); mormont('set', 'tags', ['tag:amazon','tag:bethesda','tag:cd-projekt-red','tag:facebook','tag:google','tag:insomniac-games','tag:microsoft','tag:nintendo','tag:sony','tag:ubisoft','tag:xbox-game-pass']) mormont('set', 'medium', 'web'); mormont('set', 'is_logged_in', "0"); mormont('send', 'pageview'); mormont('trackClicks', ['article']); } function runMormont() { var s = document.createElement('script'); s.type="text/javascript"; s.async = true; s.onload = function() { triggerMormont() }; s.src="https://cdn.gamer-network.net/2019/mormont/v2.25.0/mormont.js"; document.getElementsByTagName('head')[0].appendChild(s); } function runRecaptcha() { var s = document.createElement('script'); s.type="text/javascript"; s.async = true; s.src="https://www.google.com/recaptcha/api.js"; document.getElementsByTagName('head')[0].appendChild(s); } function runSkimlinks() { var s = document.createElement('script'); s.type="text/javascript"; s.async = true; s.src="https://s.skimresources.com/js/87431X1540266.skimlinks.js"; document.getElementsByTagName('head')[0].appendChild(s); } function runSourcepoint() { var _sp_=function(n){function t(e){if(o[e])return o[e].exports;var r=o[e]={i:e,l:!1,exports:{}};return n[e].call(r.exports,r,r.exports,t),r.l=!0,r.exports}var o={};return t.m=n,t.c=o,t.i=function(n){return n},t.d=function(n,o,e){t.o(n,o)||Object.defineProperty(n,o,{configurable:!1,enumerable:!0,get:e})},t.n=function(n){var o=n&&n.__esModule?function(){return n["default"]}:function(){return n};return t.d(o,"a",o),o},t.o=function(n,t){return Object.prototype.hasOwnProperty.call(n,t)},t.p="",t(t.s=2)}([function(n,t){function o(n,t){e&&console[n].apply(console,["[bootstrap]"].concat(Array.prototype.slice.call(t)))}var e=!1;n.exports={debug:function(){o("debug",arguments)},info:function(){o("info",arguments)},time:function(){o("time",arguments)},warn:function(){o("warn",arguments)},error:function(){o("error",arguments)},useDefaults:function(){e=!0},DEBUG:1}},function(n,t,o){"use strict";function e(){D||(D=!0,z=h.config=h.config||{},u(),N=z.bootstrap&&z.bootstrap.contentControlCallback||z.content_control_callback,B=z.accountId||z.account_id||z.client_id||window.sp_cid,G=z.beacon&&z.beacon.contentControlEndpoint||z.content_control_beacon_endpoint||v.a,z.debug_level&&"OFF"!==z.debug_level.toString().toUpperCase()||z.debug&&z.debug.level&&"OFF"!==z.debug.level.toString().toUpperCase()?F=!0:window.location.search&&null!=window.location.search.match(/_sp_debug_level=(?!off|OFF)/)&&(F=!0),F&&m.useDefaults({defaultLevel:m.DEBUG}))}function r(n,t,e){function r(o,e){var r=new Image;r.src="https://"+G+"/cct?v="+encodeURIComponent(v.b)+"&ct="+_+"&cid="+encodeURIComponent(B)+"&l="+encodeURIComponent(n.toString())+"&rc="+encodeURIComponent(t)+"&d0="+encodeURIComponent(i)+(o?"&d1="+encodeURIComponent(o):"")+(null==e?"":"&d2="+encodeURIComponent(e)),g.info("sending beacon: "+r.src),c&&c()}var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",a=arguments[4],c=arguments[5];if(a){var d=e.lastIndexOf("."),s=e.lastIndexOf("https://www.usgamer.net/"),u=-1===d||s>d?e+".png":e.substring(0,d)+".png",l=new Image;l.addEventListener("load",function(){r("1",u)}),l.addEventListener("error",function(){o.i(f.a)(u,function(n,t,o){r("0",u+"::"+o)})}),l.src=u}else r()}function i(n,t,o,e){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},a=arguments.length>5&&void 0!==arguments[5]&&arguments[5],c=function(){i(n,t,o,e,r,!0)};n(t,a?o:c,e,r)}function a(n,t,o,e){function r(o,r){t(o,n,r,e.enableImageLoad)}function i(t,r){o(t,n,r,e.enableImageLoad),e.onError&&e.onError(r)}var a=document.createElement("script");a.src=n,a.onload=function(){e.onLoad&&e.onLoad()},a.onerror=function(){function t(n){return o.indexOf(n)>-1}var o=(navigator.userAgent||navigator.vendor||window.opera).toLowerCase();t("mobi")||t("ipad")||t("android")||t("iphone")?i(x):t("exabot")?i(U):t("bingbot")||t("bingpreview")?i(S):t("googlebot")||t("adsbot-google")||t("mediapartners-google")?i(E):t("googleweblight")?i(O):window.location.host===w?i(I):window.location.host.indexOf(b)>-1?i(j):t("msie 10")||t("msie 9")||t("msie 8")?i(k):c(n,r,i)},document.head.appendChild(a),document.querySelector('script[src="'+n+'"]')||-1!==window.location.host.indexOf(b)||(g.info("Script not present"),r(C,n))}function c(n,t,e){o.i(f.a)(n,function(o,r,i,a){(o||r?t:e)(a,n+"::"+i)})}function d(n,t,o,e){if(q)return void s(R+"::"+n,o);r(L,n,t,o,e,function(){if(N){if(F){g.error("bootstrap locking",L,n,t,o,e);debugger}setTimeout(function(){N()},250)}})}function s(n,t,o,e){r(y,n,t,o,e)}function u(){h._networkListenerData||(h._networkListenerData=o.i(p.a)())}function l(n,t){e(),g.info("bootstrap called with",n,t),i(a,n,d,s,t)}Object.defineProperty(t,"__esModule",{value:!0});var f=o(4),p=o(5),v=o(3),g=o(0),m=void 0;m=o(0);var w=["w","e","b","c","a","c","h","e",".","g","o","o","g","l","e","u","s","e","r","c","o","n","t","e","n","t",".","c","o","m"].join(""),b=["o","p","t","i","m","i","z","e","l","y","p","r","e","v","i","e","w",".","c","o","m"].join(""),h=window._sp_||{},_=1,y=0,L=1,C="s",x="m",E="g",I="gw",O="gl",k="i",S="b",U="e",R="n",j="o",D=!1,q=!1,F=!1,z=void 0,N=void 0,B=void 0,G=void 0;window.addEventListener("beforeunload",function(){q=!0}),window._sp_=h,h.setupNetworkListeners=u,h.bootstrap=l,window.spBootstrap=l,t["default"]=h},function(n,t,o){o(0);n.exports=o(1)["default"]},function(n,t,o){"use strict";function e(n){return n.join("")}o.d(t,"b",function(){return r}),o.d(t,"a",function(){return i});var r=(o(0),"2.0.1056"),i=(e(["w","w","w",".","s","u","m","m","e","r","h","a","m","s","t","e","r",".","c","o","m"]),e(["w","w","w",".","r","o","o","s","t","e","r","f","i","r","e","w","o","r","k",".","c","o","m"]));e(["https://www.usgamer.net/","https://www.usgamer.net/","f","s","m","1","0","1","9",".","g","l","o","b","a","l",".","s","s","l",".","f","a","s","t","l","y",".","n","e","t","https://www.usgamer.net/","f","s","m","https://www.usgamer.net/","d","s"]),e(["h","t","t","p","s",":","https://www.usgamer.net/","https://www.usgamer.net/","d","2","z","v","5","r","k","i","i","4","6","m","i","q",".","c","l","o","u","d","f","r","o","n","t",".","n","e","t","https://www.usgamer.net/","0","https://www.usgamer.net/","2",".","0",".","1","0","5","6","https://www.usgamer.net/","r","e","c","o","v","e","r","y","_","d","f","p","_","i","n","t","e","r","n","a","l","-","v","2",".","0",".","1","0","5","6",".","j","s"]),e(["h","t","t","p","s",":","https://www.usgamer.net/","https://www.usgamer.net/","d","2","z","v","5","r","k","i","i","4","6","m","i","q",".","c","l","o","u","d","f","r","o","n","t",".","n","e","t","https://www.usgamer.net/","0","https://www.usgamer.net/","2",".","0",".","1","0","5","6","https://www.usgamer.net/","r","e","c","o","v","e","r","y","_","l","i","b","_","a","p","i","_","i","f","r","a","m","e","-","v","2",".","0",".","1","0","5","6",".","h","t","m","l"]),e(["h","t","t","p","s",":","https://www.usgamer.net/","https://www.usgamer.net/","d","2","z","v","5","r","k","i","i","4","6","m","i","q",".","c","l","o","u","d","f","r","o","n","t",".","n","e","t","https://www.usgamer.net/","0","https://www.usgamer.net/","2",".","0",".","1","0","5","6","https://www.usgamer.net/","r","e","c","o","v","e","r","y","_","l","i","b","_","r","i","d","_","i","f","r","a","m","e","-","v","2",".","0",".","1","0","5","6",".","h","t","m","l"])},function(n,t,o){"use strict";function e(n,t){function o(n){try{return n&&n.timeStamp?n.timeStamp:window.performance.now()}catch(n){return Date.now()}}var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:window.location,l=arguments.length>3&&void 0!==arguments[3]?arguments[3]:window.navigator,f=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},p=document.createElement("a");if(p.href=n,"https:"===e.protocol&&p.protocol!==e.protocol)return r.error("protocol mismatch in https environment, standing down"),void t(!1,!1,p.protocol,s);var v=new XMLHttpRequest,g=f.withCredentials;null!=g&&(v.withCredentials=g);try{v.open(f.method||"GET",n)}catch(n){return void t(!0,!1,n.toString(),c,v)}if(null!=f.headers){var m=f.headers;Object.keys(m).forEach(function(n){v.setRequestHeader(n,m[n])})}var w=void 0,b=void 0;v.onloadstart=function(n){w=o(n)},v.on
statechange=function(n){if(4===this.readyState){b=o(n)-w;var e=0===this.status&&!1!==l.onLine,r="2"===this.status.toString()[0],c=void 0;return c=r?a:!1===l.onLine?u:i,void t(e,r,this.status+"::"+b,c,v)}};try{v.send(f.body)}catch(n){return void t(!0,!1,n.toString(),d,v)}}t.a=e;var r=o(0),i="n",a="nx",c="xo",d="xs",s="p",u="of"},function(n,t,o){"use strict";function e(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document,t=[],o=[],e=r.bind(null,t),i=r.bind(null,o);return n.addEventListener("load",e,!0),n.addEventListener("error",i,!0),{load:{events:t,listener:e},error:{events:o,listener:i}}}function r(n,t){if(t.target){var o="string"==typeof t.target.tagName?t.target.tagName.toLowerCase():"",e="string"==typeof t.target.src?t.target.src:"";"iframe"!==o&&n.push({tagName:o,src:e})}}t.a=e;o(0)}]);
//# sourceMappingURL=https://s3.amazonaws.com/d3jlsadfjkuern/2.0.1056/Ym9vdHN0cmFwLmpz.map
window ._sp_ = window ._sp_ || {};
window ._sp_.config = window ._sp_.config || {};
window ._sp_.config.account_id = 347;
window ._sp_.config.content_control_callback = function () {
//console.log( 'CONTENT LOCK' );
};
window ._sp_.config.mms_domain = 'usgamer-us.usgamer.net' ;
window ._sp_.mms = window ._sp_.mms || {};
window ._sp_.mms.cmd = window ._sp_.mms.cmd || [];
window ._sp_.config.mms_client_data_callback = function (o) {};
window._sp_.config.fsm_endpoint = "//usg-p2.usgamer.net";
window._sp_.config.enable_fsm_detection = true;
window._sp_.config.enable_fsm_network_detection = true;
window ._sp_.mms.cmd.push( function () {
window ._sp_.mms.setTargeting( "logged-in" , "false" );
window ._sp_.mms.setTargeting( "show-ads" , "true" );
});
window ._sp_.mms.cmd.push( function () {
window ._sp_.mms.startMsg();
});
window ._sp_.bootstrap( '/static/scripts/musgamer-fsm.js' );
window ._sp_.config.mms_choice_selected_callback = function (choiceID) {
};
window ._sp_.config.mms_client_data_callback = function (dataObject) {

};
}
function runFacebookPixel() {
!function(f,b,e,v,n,t,s){if(f.fbq)return;n=f.fbq=function(){n.callMethod?
n.callMethod.apply(n,arguments):n.queue.push(arguments)};if(!f._fbq)f._fbq=n;
n.push=n;n.loaded=!0;n.version='2.0';n.queue=[];t=b.createElement(e);t.async=!0;
t.src=v;s=b.getElementsByTagName(e)[0];s.parentNode.insertBefore(t,s)}(window,
document,'script','//connect.facebook.net/en_US/fbevents.js');

fbq('init', '686233492142124');
fbq('track', 'PageView');
}

const frames = window.frames;
for (let i = 0; i < frames.length; i++) { frames[i].stop(); } function sandboxIframes() { const iframes = jQuery('iframe[src]'); jQuery.each(iframes, function() { const iframe = jQuery(this); // Youtube iframes are exempt from being sandboxed // as long as we swap them for the Privacy Enhanced player if(iframe.attr('src').match(/youtube(-nocookie)?.com/embed/i)) { iframe.attr('src', iframe.attr('src').replace('youtube.com', 'youtube-nocookie.com')); } else { iframe.attr('data-src', iframe.attr('src')); iframe.attr('alt', 'Please accept cookies to see this iframe.'); iframe.removeAttr('src'); } }); } function sandboxScripts() { const scripts = jQuery('script[src]:not(.ignore-script)'); jQuery.each(scripts, function() { const script = jQuery(this); script.attr('type', 'text/plain'); script.attr('data-src', script.attr('src')); script.removeAttr('src'); }); } function runIframes() { const iframes = jQuery('iframe[data-src]'); jQuery.each(iframes, function() { const iframe = jQuery(this); iframe.attr('src', iframe.attr('data-src')); iframe.removeAttr('alt'); iframe.removeAttr('data-src'); }); } function runScripts() { const scripts = jQuery('script[data-src]:not(.ignore-script)'); jQuery.each(scripts, function() { const script = jQuery(this); script.attr('src', script.attr('data-src')); script.attr('type', 'text/javascript'); script.removeAttr('alt'); script.removeAttr('data-src'); }); }



Source link

We will be happy to hear your thoughts

Leave a reply

Logo
Enable registration in settings - general
Compare items
  • Total (0)
Compare
0