登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
0
複製總數
9
圖層數
21
A Good FTP Logo
作者:
iwasneverhere
代碼 BATTLEFIELD 1
复制到剪贴板
显示代码
var request=new XMLHttpRequest;request.open("POST","https://companion-api.battlefield.com/jsonrpc/web/api?Emblems.newPrivateEmblem",!0),request.onreadystatechange=function(){if(request.readyState==XMLHttpRequest.DONE){var e=JSON.parse(request.responseText);e.result?window.location.href=window.location.href.replace("/new","/edit/")+e.result.slot:alert("Error")}},request.setRequestHeader("Content-Type","application/json;charset=UTF-8"),request.setRequestHeader("X-GatewaySession",localStorage.gatewaySessionId),data={jsonrpc:"2.0",method:"Emblems.newPrivateEmblem",params:{data:'[{"angle":90.28807003664599,"left":154.95717355763188,"height":92.50234936740395,"flipX":false,"fill":"#000000","opacity":1,"asset":"Square","width":27.28199806938609,"top":109.48417523286496,"flipY":false},{"angle":1.3006819888574626,"left":152.06649430415968,"height":111.98878898475105,"flipX":false,"fill":"#000000","opacity":1,"asset":"Square","width":34.4614244974192,"top":163.53065321180554,"flipY":false},{"angle":1.3006819888574626,"left":152.06649430415968,"height":114.27876825660425,"flipX":false,"fill":"#ffffff","opacity":1,"asset":"Square","width":29.755139942175465,"top":160,"flipY":false},{"angle":2.268140939008248,"left":41.11004627898607,"height":122.70478606194573,"flipX":false,"fill":"#000000","opacity":1,"asset":"Square","width":35.25117998615971,"top":157.33512369791666,"flipY":false},{"angle":90.28807003664599,"left":70.93306582864433,"height":56.000212036253146,"flipX":false,"fill":"#000000","opacity":1,"asset":"Square","width":28.082508206693447,"top":149.65282803978903,"flipY":false},{"angle":90.28807003664599,"left":67.36417070060614,"height":72.32930619768946,"flipX":false,"fill":"#000000","opacity":1,"asset":"Square","width":27.509173511117538,"top":109.48417523286496,"flipY":false},{"angle":2.268140939008248,"left":41.11004627898607,"height":117.36231846324745,"flipX":false,"fill":"#ffffff","opacity":1,"asset":"Square","width":30.558014083340268,"top":157.33512369791666,"flipY":false},{"angle":0.40306626101718723,"left":224.60517702985413,"height":123.26125583867412,"flipX":false,"fill":"#000000","opacity":1,"asset":"Square","width":35.36019444817427,"top":157.33512369791666,"flipY":false},{"angle":1.0034770162390032,"left":224.60517702985413,"height":120.32127114312918,"flipX":false,"fill":"#ffffff","opacity":1,"asset":"Square","width":31.32844635536529,"top":157.33512369791666,"flipY":false},{"angle":90.28807003664599,"left":64.76453429063665,"height":72.7396119282766,"flipX":false,"fill":"#ffffff","opacity":1,"asset":"Square","width":25.370010936749583,"top":109.48417523286496,"flipY":false},{"angle":90.28807003664599,"left":154.95717355763188,"height":86.78004650903988,"flipX":false,"fill":"#ffffff","opacity":1,"asset":"Square","width":25.370010936749583,"top":109.48417523286496,"flipY":false},{"angle":90.28807003664599,"left":258.5884807192356,"height":68.44847143522453,"flipX":false,"fill":"#ffffff","opacity":1,"asset":"Square","width":40.572750439096325,"top":141.19593242346957,"flipY":false},{"angle":90.28807003664599,"left":250.20092104041615,"height":68.44847143522453,"flipX":false,"fill":"#ffffff","opacity":1,"asset":"Square","width":24.683921446598717,"top":109.48417523286496,"flipY":false},{"angle":90.28807003664599,"left":70.93306582864433,"height":51.18411540998381,"flipX":false,"fill":"#ffffff","opacity":1,"asset":"Square","width":25.370010936749583,"top":149.65282803978903,"flipY":false},{"angle":0,"left":245.73246943451335,"height":32.55287083194207,"flipX":false,"fill":"#000000","opacity":1,"asset":"Dogtag","width":56.03076878807698,"top":133.91555488211685,"flipY":false},{"angle":90.39571477243103,"left":258.5884807192356,"height":87.50119788841876,"flipX":false,"fill":"#000000","opacity":1,"asset":"Number0","width":75.33160668221608,"top":133.91555488211685,"flipY":false},{"angle":0,"left":228.06028228159025,"height":71.65256874681081,"flipX":false,"fill":"#ffffff","opacity":1,"asset":"Stroke","width":27.19502788473619,"top":133.47021525538074,"flipY":false},{"angle":90.39571477243103,"left":256.50459921156374,"height":88.96194244902229,"flipX":false,"fill":"#ffffff","opacity":1,"asset":"Number0","width":74.29663747500382,"top":134.13929040735874,"flipY":false},{"angle":2.4596358796358118,"left":228.8407591696111,"height":53.74242499876629,"flipX":false,"fill":"#ffffff","opacity":1,"asset":"Stroke","width":22.76606106433533,"top":182.29866536458331,"flipY":false},{"angle":35.129964747616924,"left":269.49602593315973,"height":67.83635027993256,"flipX":true,"fill":"#ffffff","opacity":1,"asset":"StrokeBent","width":37.34585498117272,"top":138.82668728298611,"flipY":false},{"angle":0,"left":226.6491458607096,"height":9.35611038107753,"flipX":false,"fill":"#ffffff","opacity":1,"asset":"Line","width":33.63994743758213,"top":101.76084099868595,"flipY":false}]'},id:"00000000-0000-0000-0000-000000000000"},request.send(JSON.stringify(data));
代碼 BATTLEFIELD 4, Hardline
复制到剪贴板
显示代码
emblem.emblem.load({"objects":varrequest=newXMLHttpRequest;request.open("POST","https://companion-api.battlefield.com/jsonrpc/web/api?Emblems.newPrivateEmblem",!0),request.onreadystatechange=function(){if(request.readyState==XMLHttpRequest.DONE){vare=JSON.parse(request.responseText);e.result?window.location.href=window.location.href.replace("/new","/edit/")+e.result.slot:alert("Error")}},request.setRequestHeader("Content-Type","application/json;charset=UTF-8"),request.setRequestHeader("X-GatewaySession",localStorage.gatewaySessionId),data={jsonrpc:"2.0",method:"Emblems.newPrivateEmblem",params:[{"angle":90.28807003664599,"left":154.95717355763188,"height":92.50234936740395,"flipX":false,"fill":"#000000","opacity":1,"asset":"Square","width":27.28199806938609,"top":109.48417523286496,"flipY":false},{"angle":1.3006819888574626,"left":152.06649430415968,"height":111.98878898475105,"flipX":false,"fill":"#000000","opacity":1,"asset":"Square","width":34.4614244974192,"top":163.53065321180554,"flipY":false},{"angle":1.3006819888574626,"left":152.06649430415968,"height":114.27876825660425,"flipX":false,"fill":"#ffffff","opacity":1,"asset":"Square","width":29.755139942175465,"top":160,"flipY":false},{"angle":2.268140939008248,"left":41.11004627898607,"height":122.70478606194573,"flipX":false,"fill":"#000000","opacity":1,"asset":"Square","width":35.25117998615971,"top":157.33512369791666,"flipY":false},{"angle":90.28807003664599,"left":70.93306582864433,"height":56.000212036253146,"flipX":false,"fill":"#000000","opacity":1,"asset":"Square","width":28.082508206693447,"top":149.65282803978903,"flipY":false},{"angle":90.28807003664599,"left":67.36417070060614,"height":72.32930619768946,"flipX":false,"fill":"#000000","opacity":1,"asset":"Square","width":27.509173511117538,"top":109.48417523286496,"flipY":false},{"angle":2.268140939008248,"left":41.11004627898607,"height":117.36231846324745,"flipX":false,"fill":"#ffffff","opacity":1,"asset":"Square","width":30.558014083340268,"top":157.33512369791666,"flipY":false},{"angle":0.40306626101718723,"left":224.60517702985413,"height":123.26125583867412,"flipX":false,"fill":"#000000","opacity":1,"asset":"Square","width":35.36019444817427,"top":157.33512369791666,"flipY":false},{"angle":1.0034770162390032,"left":224.60517702985413,"height":120.32127114312918,"flipX":false,"fill":"#ffffff","opacity":1,"asset":"Square","width":31.32844635536529,"top":157.33512369791666,"flipY":false},{"angle":90.28807003664599,"left":64.76453429063665,"height":72.7396119282766,"flipX":false,"fill":"#ffffff","opacity":1,"asset":"Square","width":25.370010936749583,"top":109.48417523286496,"flipY":false},{"angle":90.28807003664599,"left":154.95717355763188,"height":86.78004650903988,"flipX":false,"fill":"#ffffff","opacity":1,"asset":"Square","width":25.370010936749583,"top":109.48417523286496,"flipY":false},{"angle":90.28807003664599,"left":258.5884807192356,"height":68.44847143522453,"flipX":false,"fill":"#ffffff","opacity":1,"asset":"Square","width":40.572750439096325,"top":141.19593242346957,"flipY":false},{"angle":90.28807003664599,"left":250.20092104041615,"height":68.44847143522453,"flipX":false,"fill":"#ffffff","opacity":1,"asset":"Square","width":24.683921446598717,"top":109.48417523286496,"flipY":false},{"angle":90.28807003664599,"left":70.93306582864433,"height":51.18411540998381,"flipX":false,"fill":"#ffffff","opacity":1,"asset":"Square","width":25.370010936749583,"top":149.65282803978903,"flipY":false},{"angle":0,"left":245.73246943451335,"height":32.55287083194207,"flipX":false,"fill":"#000000","opacity":1,"asset":"Dogtag","width":56.03076878807698,"top":133.91555488211685,"flipY":false},{"angle":90.39571477243103,"left":258.5884807192356,"height":87.50119788841876,"flipX":false,"fill":"#000000","opacity":1,"asset":"Number0","width":75.33160668221608,"top":133.91555488211685,"flipY":false},{"angle":0,"left":228.06028228159025,"height":71.65256874681081,"flipX":false,"fill":"#ffffff","opacity":1,"asset":"Stroke","width":27.19502788473619,"top":133.47021525538074,"flipY":false},{"angle":90.39571477243103,"left":256.50459921156374,"height":88.96194244902229,"flipX":false,"fill":"#ffffff","opacity":1,"asset":"Number0","width":74.29663747500382,"top":134.13929040735874,"flipY":false},{"angle":2.4596358796358118,"left":228.8407591696111,"height":53.74242499876629,"flipX":false,"fill":"#ffffff","opacity":1,"asset":"Stroke","width":22.76606106433533,"top":182.29866536458331,"flipY":false},{"angle":35.129964747616924,"left":269.49602593315973,"height":67.83635027993256,"flipX":true,"fill":"#ffffff","opacity":1,"asset":"StrokeBent","width":37.34585498117272,"top":138.82668728298611,"flipY":false},{"angle":0,"left":226.6491458607096,"height":9.35611038107753,"flipX":false,"fill":"#ffffff","opacity":1,"asset":"Line","width":33.63994743758213,"top":101.76084099868595,"flipY":false}]]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
广告