登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
0
複製總數
11
圖層數
30
aq
作者:
Johanna
»
代碼 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:'[{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":158.5,"left":161,"height":146.99999999999997,"width":287,"asset":"Square","fill":"#000000","selectable":true},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":157.5,"left":37,"height":26,"width":9,"asset":"Stroke","fill":"#7A0026","selectable":true},{"opacity":1,"angle":-27.1026739802616,"flipX":true,"flipY":true,"top":167.5,"left":48.59765,"height":26,"width":9,"asset":"Stroke","fill":"#7A0026","selectable":true},{"opacity":1,"angle":-89.12123593553163,"flipX":true,"flipY":true,"top":152,"left":40.09765,"height":13.833749817288954,"width":15.117934320137936,"asset":"Stroke","fill":"#7A0026","selectable":true},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":157.5,"left":61.09765,"height":26,"width":9,"asset":"Stroke","fill":"#7A0026","selectable":true},{"opacity":1,"angle":-22.072075858397895,"flipX":true,"flipY":true,"top":164,"left":71.59765,"height":41.48327231448492,"width":9,"asset":"Stroke","fill":"#7A0026","selectable":true},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":158,"left":85.09764999999999,"height":26,"width":9,"asset":"Stroke","fill":"#7A0026","selectable":true},{"opacity":1,"angle":-22.072075858397895,"flipX":true,"flipY":true,"top":164.738275,"left":96.144525,"height":41.48327231448492,"width":9,"asset":"Stroke","fill":"#7A0026","selectable":true},{"opacity":1,"angle":15.947638191291126,"flipX":true,"flipY":true,"top":161.73827499999996,"left":104.144525,"height":41.48327231448492,"width":3.5191092348032202,"asset":"Stroke","fill":"#7A0026","selectable":true},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":158,"left":111.09765,"height":26,"width":9,"asset":"Stroke","fill":"#7A0026","selectable":true},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":158,"left":122.59765000000002,"height":26,"width":9,"asset":"Stroke","fill":"#7A0026","selectable":true},{"opacity":1,"angle":-22.072075858397895,"flipX":true,"flipY":true,"top":164.23827499999996,"left":133.644525,"height":41.48327231448492,"width":9,"asset":"Stroke","fill":"#7A0026","selectable":true},{"opacity":1,"angle":15.947638191291126,"flipX":true,"flipY":true,"top":161.796875,"left":141.7578125,"height":41.48327231448492,"width":3.5191092348032202,"asset":"Stroke","fill":"#7A0026","selectable":true},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":158,"left":148.59765,"height":26,"width":9,"asset":"Stroke","fill":"#7A0026","selectable":true},{"opacity":1,"angle":89.12937267965815,"flipX":true,"flipY":true,"top":150,"left":169.09765,"height":26,"width":11.950062925261259,"asset":"Stroke","fill":"#7A0026","selectable":true},{"opacity":1,"angle":89.12937267965815,"flipX":true,"flipY":true,"top":166,"left":169.09765,"height":26,"width":11.950062925261259,"asset":"Stroke","fill":"#7A0026","selectable":true},{"opacity":1,"angle":-74.38221864693064,"flipX":true,"flipY":true,"top":158.296875,"left":168.2578125,"height":24.07277356719546,"width":3.5191092348032202,"asset":"Stroke","fill":"#7A0026","selectable":true},{"opacity":1,"angle":0.6985398386340724,"flipX":true,"flipY":true,"top":158,"left":199.09765,"height":28.983272218164256,"width":11.950062925261259,"asset":"Stroke","fill":"#7A0026","selectable":true},{"opacity":1,"angle":-90.0177279697622,"flipX":true,"flipY":true,"top":159.488275,"left":199.39452500000002,"height":28.983272218164256,"width":11.950062925261259,"asset":"Stroke","fill":"#7A0026","selectable":true},{"opacity":1,"angle":89.12937267965815,"flipX":true,"flipY":true,"top":148.5,"left":231.09765,"height":26,"width":11.950062925261259,"asset":"Stroke","fill":"#7A0026","selectable":true},{"opacity":1,"angle":89.12937267965815,"flipX":true,"flipY":true,"top":168,"left":231.09765,"height":26,"width":11.950062925261259,"asset":"Stroke","fill":"#7A0026","selectable":true},{"opacity":1,"angle":0.6985398386340724,"flipX":true,"flipY":true,"top":158.988275,"left":223.894525,"height":28.983272218164256,"width":11.950062925261259,"asset":"Stroke","fill":"#7A0026","selectable":true},{"opacity":1,"angle":-89.48075840288011,"flipX":true,"flipY":true,"top":158.296875,"left":231.7578125,"height":24.07277356719546,"width":3.5191092348032202,"asset":"Stroke","fill":"#7A0026","selectable":true},{"opacity":1,"angle":-101.39532105389286,"flipX":true,"flipY":true,"top":158.296875,"left":245.2578125,"height":24.07277356719546,"width":3.6323824453137608,"asset":"Stroke","fill":"#000000","selectable":true},{"opacity":1,"angle":0.6985398386340724,"flipX":true,"flipY":true,"top":158.988275,"left":252.894525,"height":28.983272218164256,"width":10.271434610802347,"asset":"Stroke","fill":"#7A0026","selectable":true},{"opacity":1,"angle":0.6985398386340724,"flipX":true,"flipY":true,"top":158.988275,"left":266.894525,"height":28.983272218164256,"width":11.27136029148376,"asset":"Stroke","fill":"#7A0026","selectable":true},{"opacity":1,"angle":-22.072075858397895,"flipX":true,"flipY":true,"top":163.238275,"left":277.644525,"height":41.48327231448492,"width":9,"asset":"Stroke","fill":"#7A0026","selectable":true},{"opacity":1,"angle":-1.265782783922646,"flipX":true,"flipY":true,"top":159.296875,"left":284.2578125,"height":29.688963517716758,"width":3.5191092348032202,"asset":"Stroke","fill":"#7A0026","selectable":true},{"opacity":1,"angle":89.79682432853362,"flipX":true,"flipY":true,"top":122.5,"left":160.5,"height":259.9912731348034,"width":50,"asset":"Stroke","fill":"#000000","selectable":true},{"opacity":1,"angle":90.3493601795028,"flipX":false,"flipY":false,"top":196,"left":161.5,"height":282.01914752144955,"width":50,"asset":"Stroke","fill":"#000000","selectable":true}]'},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:{data:'[{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":158.5,"left":161,"height":146.99999999999997,"width":287,"asset":"Square","fill":"#000000","selectable":true},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":157.5,"left":37,"height":26,"width":9,"asset":"Stroke","fill":"#7A0026","selectable":true},{"opacity":1,"angle":-27.1026739802616,"flipX":true,"flipY":true,"top":167.5,"left":48.59765,"height":26,"width":9,"asset":"Stroke","fill":"#7A0026","selectable":true},{"opacity":1,"angle":-89.12123593553163,"flipX":true,"flipY":true,"top":152,"left":40.09765,"height":13.833749817288954,"width":15.117934320137936,"asset":"Stroke","fill":"#7A0026","selectable":true},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":157.5,"left":61.09765,"height":26,"width":9,"asset":"Stroke","fill":"#7A0026","selectable":true},{"opacity":1,"angle":-22.072075858397895,"flipX":true,"flipY":true,"top":164,"left":71.59765,"height":41.48327231448492,"width":9,"asset":"Stroke","fill":"#7A0026","selectable":true},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":158,"left":85.09764999999999,"height":26,"width":9,"asset":"Stroke","fill":"#7A0026","selectable":true},{"opacity":1,"angle":-22.072075858397895,"flipX":true,"flipY":true,"top":164.738275,"left":96.144525,"height":41.48327231448492,"width":9,"asset":"Stroke","fill":"#7A0026","selectable":true},{"opacity":1,"angle":15.947638191291126,"flipX":true,"flipY":true,"top":161.73827499999996,"left":104.144525,"height":41.48327231448492,"width":3.5191092348032202,"asset":"Stroke","fill":"#7A0026","selectable":true},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":158,"left":111.09765,"height":26,"width":9,"asset":"Stroke","fill":"#7A0026","selectable":true},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":158,"left":122.59765000000002,"height":26,"width":9,"asset":"Stroke","fill":"#7A0026","selectable":true},{"opacity":1,"angle":-22.072075858397895,"flipX":true,"flipY":true,"top":164.23827499999996,"left":133.644525,"height":41.48327231448492,"width":9,"asset":"Stroke","fill":"#7A0026","selectable":true},{"opacity":1,"angle":15.947638191291126,"flipX":true,"flipY":true,"top":161.796875,"left":141.7578125,"height":41.48327231448492,"width":3.5191092348032202,"asset":"Stroke","fill":"#7A0026","selectable":true},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":158,"left":148.59765,"height":26,"width":9,"asset":"Stroke","fill":"#7A0026","selectable":true},{"opacity":1,"angle":89.12937267965815,"flipX":true,"flipY":true,"top":150,"left":169.09765,"height":26,"width":11.950062925261259,"asset":"Stroke","fill":"#7A0026","selectable":true},{"opacity":1,"angle":89.12937267965815,"flipX":true,"flipY":true,"top":166,"left":169.09765,"height":26,"width":11.950062925261259,"asset":"Stroke","fill":"#7A0026","selectable":true},{"opacity":1,"angle":-74.38221864693064,"flipX":true,"flipY":true,"top":158.296875,"left":168.2578125,"height":24.07277356719546,"width":3.5191092348032202,"asset":"Stroke","fill":"#7A0026","selectable":true},{"opacity":1,"angle":0.6985398386340724,"flipX":true,"flipY":true,"top":158,"left":199.09765,"height":28.983272218164256,"width":11.950062925261259,"asset":"Stroke","fill":"#7A0026","selectable":true},{"opacity":1,"angle":-90.0177279697622,"flipX":true,"flipY":true,"top":159.488275,"left":199.39452500000002,"height":28.983272218164256,"width":11.950062925261259,"asset":"Stroke","fill":"#7A0026","selectable":true},{"opacity":1,"angle":89.12937267965815,"flipX":true,"flipY":true,"top":148.5,"left":231.09765,"height":26,"width":11.950062925261259,"asset":"Stroke","fill":"#7A0026","selectable":true},{"opacity":1,"angle":89.12937267965815,"flipX":true,"flipY":true,"top":168,"left":231.09765,"height":26,"width":11.950062925261259,"asset":"Stroke","fill":"#7A0026","selectable":true},{"opacity":1,"angle":0.6985398386340724,"flipX":true,"flipY":true,"top":158.988275,"left":223.894525,"height":28.983272218164256,"width":11.950062925261259,"asset":"Stroke","fill":"#7A0026","selectable":true},{"opacity":1,"angle":-89.48075840288011,"flipX":true,"flipY":true,"top":158.296875,"left":231.7578125,"height":24.07277356719546,"width":3.5191092348032202,"asset":"Stroke","fill":"#7A0026","selectable":true},{"opacity":1,"angle":-101.39532105389286,"flipX":true,"flipY":true,"top":158.296875,"left":245.2578125,"height":24.07277356719546,"width":3.6323824453137608,"asset":"Stroke","fill":"#000000","selectable":true},{"opacity":1,"angle":0.6985398386340724,"flipX":true,"flipY":true,"top":158.988275,"left":252.894525,"height":28.983272218164256,"width":10.271434610802347,"asset":"Stroke","fill":"#7A0026","selectable":true},{"opacity":1,"angle":0.6985398386340724,"flipX":true,"flipY":true,"top":158.988275,"left":266.894525,"height":28.983272218164256,"width":11.27136029148376,"asset":"Stroke","fill":"#7A0026","selectable":true},{"opacity":1,"angle":-22.072075858397895,"flipX":true,"flipY":true,"top":163.238275,"left":277.644525,"height":41.48327231448492,"width":9,"asset":"Stroke","fill":"#7A0026","selectable":true},{"opacity":1,"angle":-1.265782783922646,"flipX":true,"flipY":true,"top":159.296875,"left":284.2578125,"height":29.688963517716758,"width":3.5191092348032202,"asset":"Stroke","fill":"#7A0026","selectable":true},{"opacity":1,"angle":89.79682432853362,"flipX":true,"flipY":true,"top":122.5,"left":160.5,"height":259.9912731348034,"width":50,"asset":"Stroke","fill":"#000000","selectable":true},{"opacity":1,"angle":90.3493601795028,"flipX":false,"flipY":false,"top":196,"left":161.5,"height":282.01914752144955,"width":50,"asset":"Stroke","fill":"#000000","selectable":true}]'},id:"00000000-0000-0000-0000-000000000000"},request.send(JSON.stringify(data));]});
匯入徽章
登入
BF4 Battlelog
。
進入
「自訂徽章」頁面
。
按一下「+ 新增」按鈕以創建一個新的空白徽章。
開啟瀏覽器控制台 (Chrome:Ctrl-Shift-J、Firefox:Ctrl-Shift-K、Opera:Ctrl-Shift-I、IE:F12)。
將以下代碼貼到控制台並按下 [Enter 鍵],確認從
emblem.emblem.load
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
广告