Sign in
Sign in
ENG
ENG
DEU
FRA
RUS
TWN
BRA
Add emblem
Top
Orders
Editor
PIXELS
0
The number of copies
9
Layers
4
Complaint
Extremism
Copy
Error
Send
danbo
Code BATTLEFIELD 1
ID:
66900
Copy to clipboard
Show code
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":141.50400000000002,"left":160.00400000000002,"height":194.00800000000004,"width":255.010593220339,"asset":"Square","fill":"#ffd966","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":120.5,"left":110.5,"height":35,"width":35,"asset":"Circle","fill":"#000000","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":175.5,"left":156,"height":31,"width":50,"asset":"Triangle","fill":"#58271d","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":120.5,"left":200,"height":35,"width":35,"asset":"Circle","fill":"#000000","selectable":false}]'},id:"00000000-0000-0000-0000-000000000000"},request.send(JSON.stringify(data));
Code BATTLEFIELD 4, Hardline
ID:
84122
Copy to clipboard
Show code
emblem.emblem.load({"objects":[{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":141.50400000000002,"left":160.00400000000002,"height":194.00800000000004,"width":255.010593220339,"asset":"Square","fill":"#ffd966","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":120.5,"left":110.5,"height":35,"width":35,"asset":"Circle","fill":"#000000","selectable":false},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":175.5,"left":156,"height":31,"width":50,"asset":"Triangle","fill":"#58271d","selectable":false},{"opacity":1,"angle":0,"flipX":true,"flipY":true,"top":120.5,"left":200,"height":35,"width":35,"asset":"Circle","fill":"#000000","selectable":false}]});