登入
登入
CHN
CHN
ENG
DEU
FRA
RUS
BRA
專用徽章
Battlefield
加入自己的徽章
热门
1
複製總數
16
圖層數
40
feg
作者:
Rida shallaf
»
代碼 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":184.0914646456428,"height":230.63051656977413,"width":195.69106053368336,"asset":"Shield","selectable":true,"left":140.5939177121374,"fill":"#111111"},{"opacity":1,"angle":272.75571165421115,"flipX":false,"flipY":false,"top":137.1103622624072,"height":48.176536394419024,"width":131.96200608045814,"asset":"holiday_Tophat_detail","selectable":true,"left":261.71539827364757,"fill":"#262626"},{"opacity":1,"angle":180.08606096906996,"flipX":false,"flipY":false,"top":88.82349170129417,"height":130.11786351517122,"width":161.9737967962856,"asset":"Dogtag","selectable":true,"left":81.29287782139174,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":56.10673854133339,"height":182.84321549650306,"width":239.3809794846384,"asset":"holiday_Tophat_detail","selectable":true,"left":133.7495601079416,"fill":"#363636"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":203.94985635855326,"height":237.84657742222421,"width":238.13068331747508,"asset":"Shield","selectable":true,"left":157.49995395438816,"fill":"#262626"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":59.28755010701355,"height":166.48137003487486,"width":251.25597512595184,"asset":"holiday_Tophat_detail","selectable":true,"left":151.56232194579158,"fill":"#111111"},{"opacity":1,"angle":358.84504256021773,"flipX":false,"flipY":false,"top":128.63153705749522,"height":60.342980926817816,"width":183.72085994956043,"asset":"Shield","selectable":true,"left":175.93127932528483,"fill":"#FDC68A"},{"opacity":1,"angle":85.86156562282049,"flipX":false,"flipY":false,"top":92.5,"height":200.63895780933385,"width":31.43212061214426,"asset":"StrokeBent","selectable":true,"left":166.875,"fill":"#111111"},{"opacity":1,"angle":257.3834645401665,"flipX":false,"flipY":false,"top":124.375,"height":10.879469352085103,"width":35.63345034377823,"asset":"Triangle","selectable":true,"left":82.50955682617952,"fill":"#FDC68A"},{"opacity":1,"angle":355.87277199149196,"flipX":false,"flipY":false,"top":95.33170515381389,"height":14.271171012584647,"width":64.88723338835068,"asset":"holiday_Tophat_detail","selectable":true,"left":129.8845193237706,"fill":"#A0410D"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":120,"height":30.860695054058993,"width":62.56310076199096,"asset":"Circle","selectable":true,"left":131.53121622533203,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":117.50002779128349,"height":25.930137580059263,"width":53.854117309505234,"asset":"Circle","selectable":true,"left":226.2500833738505,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":119.53092360387099,"height":21.79401697821377,"width":21.79401697821377,"asset":"Circle","selectable":true,"left":131.875,"fill":"#464646"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":117.5,"height":19.9189752912885,"width":19.9189752912885,"asset":"Circle","selectable":true,"left":227.7117658706296,"fill":"#464646"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":117.51452992277552,"height":11.565898003957784,"width":11.565898003957784,"asset":"Circle","selectable":true,"left":227.5,"fill":"#111111"},{"opacity":0.62,"angle":0,"flipX":false,"flipY":false,"top":113.74998610435824,"height":12.8449578495088,"width":12.8449578495088,"asset":"Circle","selectable":true,"left":225,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":119.78121028962728,"height":12.97243840859231,"width":12.97243840859231,"asset":"Circle","selectable":true,"left":131.875,"fill":"#111111"},{"opacity":0.64,"angle":0,"flipX":false,"flipY":false,"top":115.87498460700034,"height":13.284861982562681,"width":13.284861982562681,"asset":"Circle","selectable":true,"left":127.87515434941714,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":163.9436523086717,"height":89.67211150760927,"width":59.42740659464051,"asset":"Circle","selectable":true,"left":46.211507125662564,"fill":"#464646"},{"opacity":1,"angle":5.6759617348537015,"flipX":false,"flipY":false,"top":95.50731526458955,"height":12.953414065498286,"width":59.293336839100135,"asset":"holiday_Tophat_detail","selectable":true,"left":226.42896734881066,"fill":"#A0410D"},{"opacity":1,"angle":9.926396195582015,"flipX":true,"flipY":false,"top":59.658483277313096,"height":49.97074110455981,"width":89.17431787268121,"asset":"Dogtag","selectable":true,"left":230.99754334338664,"fill":"#464646"},{"opacity":1,"angle":344.72487688706514,"flipX":false,"flipY":false,"top":61.87504168692524,"height":49.97074110455981,"width":85.88516174272699,"asset":"Dogtag","selectable":true,"left":113.125,"fill":"#464646"},{"opacity":1,"angle":89.3367403873539,"flipX":false,"flipY":false,"top":48.181613691640756,"height":52.68676784549414,"width":16.767201500562727,"asset":"Stroke","selectable":true,"left":171.68521761831232,"fill":"#C2C2C2"},{"opacity":1,"angle":344.72487688706514,"flipX":false,"flipY":false,"top":55.554360962218155,"height":49.97074110455981,"width":85.88516174272699,"asset":"Dogtag","selectable":true,"left":112.78935293838273,"fill":"#ACACAC"},{"opacity":1,"angle":344.72487688706514,"flipX":true,"flipY":false,"top":55.43711116803626,"height":41.09136133176289,"width":73.47085744766768,"asset":"Dogtag","selectable":true,"left":113.125,"fill":"#111111"},{"opacity":1,"angle":89.21963282172892,"flipX":false,"flipY":false,"top":165.97325191673255,"height":62.41097862161183,"width":99.34973321245259,"asset":"Dogtag","selectable":true,"left":37.28190656432061,"fill":"#000000"},{"opacity":1,"angle":270.78832290841365,"flipX":false,"flipY":false,"top":168.15744505824875,"height":62.56171947497951,"width":97.48307247779508,"asset":"Dogtag","selectable":true,"left":25.900716412273102,"fill":"#262626"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":195.84111240646118,"height":42.818332333270504,"width":42.818332333270504,"asset":"Circle","selectable":true,"left":23.53165039521731,"fill":"#262626"},{"opacity":1,"angle":10.060371596818486,"flipX":false,"flipY":false,"top":53.81978632511875,"height":49.97074110455981,"width":87.49338730980178,"asset":"Dogtag","selectable":true,"left":228.58365867177272,"fill":"#ACACAC"},{"opacity":1,"angle":190.89982063901581,"flipX":false,"flipY":false,"top":54.613450143332564,"height":41.97377573182213,"width":74.54204839563576,"asset":"Dogtag","selectable":true,"left":228.45831434408697,"fill":"#111111"},{"opacity":1,"angle":337.67058408615685,"flipX":false,"flipY":false,"top":71.89155066962878,"height":32.09795913451076,"width":13.137797308791654,"asset":"Stroke","selectable":true,"left":69.4933228490114,"fill":"#E1E1E1"},{"opacity":1,"angle":66.79707651781244,"flipX":false,"flipY":false,"top":86.97762267938003,"height":63.55573624963567,"width":32.57968198335739,"asset":"Stroke","selectable":true,"left":34.34453951039993,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":51.80381766632445,"height":32.13627969678816,"width":32.13627969678816,"asset":"Circle","selectable":true,"left":130.6931252924909,"fill":"#111111"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":57.428942727100186,"height":32.13627969678816,"width":33.812461562470446,"asset":"Circle","selectable":true,"left":244.65873133648856,"fill":"#111111"},{"opacity":1,"angle":264.0194022449425,"flipX":false,"flipY":false,"top":44.70320735487162,"height":20.15069975897094,"width":23.747596588885074,"asset":"Dogtag","selectable":true,"left":170.8693117941467,"fill":"#EBEBEB"},{"opacity":0.22,"angle":343.0717045357721,"flipX":false,"flipY":false,"top":55.65113436218726,"height":40.34666826631824,"width":12.598070068438538,"asset":"Stroke","selectable":true,"left":112.8223503277798,"fill":"#FFFFFF"},{"opacity":0.22,"angle":343.0717045357721,"flipX":false,"flipY":false,"top":61.30922832951378,"height":41.59153694400947,"width":12.598070068438538,"asset":"Stroke","selectable":true,"left":89.51663975011644,"fill":"#FFFFFF"},{"opacity":0.22,"angle":343.0717045357721,"flipX":false,"flipY":false,"top":47.79910431891956,"height":42.25276564063394,"width":16.98445694303686,"asset":"Stroke","selectable":true,"left":139.57355805989044,"fill":"#FFFFFF"},{"opacity":0.22,"angle":10.333372685159688,"flipX":false,"flipY":false,"top":54.6742571709788,"height":42.25276564063394,"width":16.98445694303686,"asset":"Stroke","selectable":true,"left":230.20057292794405,"fill":"#FFFFFF"},{"opacity":0.22,"angle":10.333372685159688,"flipX":false,"flipY":false,"top":59.99192758925368,"height":42.25276564063394,"width":13.556396242472744,"asset":"Stroke","selectable":true,"left":255.38994041931053,"fill":"#FFFFFF"}]'},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":184.0914646456428,"height":230.63051656977413,"width":195.69106053368336,"asset":"Shield","selectable":true,"left":140.5939177121374,"fill":"#111111"},{"opacity":1,"angle":272.75571165421115,"flipX":false,"flipY":false,"top":137.1103622624072,"height":48.176536394419024,"width":131.96200608045814,"asset":"holiday_Tophat_detail","selectable":true,"left":261.71539827364757,"fill":"#262626"},{"opacity":1,"angle":180.08606096906996,"flipX":false,"flipY":false,"top":88.82349170129417,"height":130.11786351517122,"width":161.9737967962856,"asset":"Dogtag","selectable":true,"left":81.29287782139174,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":56.10673854133339,"height":182.84321549650306,"width":239.3809794846384,"asset":"holiday_Tophat_detail","selectable":true,"left":133.7495601079416,"fill":"#363636"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":203.94985635855326,"height":237.84657742222421,"width":238.13068331747508,"asset":"Shield","selectable":true,"left":157.49995395438816,"fill":"#262626"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":59.28755010701355,"height":166.48137003487486,"width":251.25597512595184,"asset":"holiday_Tophat_detail","selectable":true,"left":151.56232194579158,"fill":"#111111"},{"opacity":1,"angle":358.84504256021773,"flipX":false,"flipY":false,"top":128.63153705749522,"height":60.342980926817816,"width":183.72085994956043,"asset":"Shield","selectable":true,"left":175.93127932528483,"fill":"#FDC68A"},{"opacity":1,"angle":85.86156562282049,"flipX":false,"flipY":false,"top":92.5,"height":200.63895780933385,"width":31.43212061214426,"asset":"StrokeBent","selectable":true,"left":166.875,"fill":"#111111"},{"opacity":1,"angle":257.3834645401665,"flipX":false,"flipY":false,"top":124.375,"height":10.879469352085103,"width":35.63345034377823,"asset":"Triangle","selectable":true,"left":82.50955682617952,"fill":"#FDC68A"},{"opacity":1,"angle":355.87277199149196,"flipX":false,"flipY":false,"top":95.33170515381389,"height":14.271171012584647,"width":64.88723338835068,"asset":"holiday_Tophat_detail","selectable":true,"left":129.8845193237706,"fill":"#A0410D"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":120,"height":30.860695054058993,"width":62.56310076199096,"asset":"Circle","selectable":true,"left":131.53121622533203,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":117.50002779128349,"height":25.930137580059263,"width":53.854117309505234,"asset":"Circle","selectable":true,"left":226.2500833738505,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":119.53092360387099,"height":21.79401697821377,"width":21.79401697821377,"asset":"Circle","selectable":true,"left":131.875,"fill":"#464646"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":117.5,"height":19.9189752912885,"width":19.9189752912885,"asset":"Circle","selectable":true,"left":227.7117658706296,"fill":"#464646"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":117.51452992277552,"height":11.565898003957784,"width":11.565898003957784,"asset":"Circle","selectable":true,"left":227.5,"fill":"#111111"},{"opacity":0.62,"angle":0,"flipX":false,"flipY":false,"top":113.74998610435824,"height":12.8449578495088,"width":12.8449578495088,"asset":"Circle","selectable":true,"left":225,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":119.78121028962728,"height":12.97243840859231,"width":12.97243840859231,"asset":"Circle","selectable":true,"left":131.875,"fill":"#111111"},{"opacity":0.64,"angle":0,"flipX":false,"flipY":false,"top":115.87498460700034,"height":13.284861982562681,"width":13.284861982562681,"asset":"Circle","selectable":true,"left":127.87515434941714,"fill":"#FFFFFF"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":163.9436523086717,"height":89.67211150760927,"width":59.42740659464051,"asset":"Circle","selectable":true,"left":46.211507125662564,"fill":"#464646"},{"opacity":1,"angle":5.6759617348537015,"flipX":false,"flipY":false,"top":95.50731526458955,"height":12.953414065498286,"width":59.293336839100135,"asset":"holiday_Tophat_detail","selectable":true,"left":226.42896734881066,"fill":"#A0410D"},{"opacity":1,"angle":9.926396195582015,"flipX":true,"flipY":false,"top":59.658483277313096,"height":49.97074110455981,"width":89.17431787268121,"asset":"Dogtag","selectable":true,"left":230.99754334338664,"fill":"#464646"},{"opacity":1,"angle":344.72487688706514,"flipX":false,"flipY":false,"top":61.87504168692524,"height":49.97074110455981,"width":85.88516174272699,"asset":"Dogtag","selectable":true,"left":113.125,"fill":"#464646"},{"opacity":1,"angle":89.3367403873539,"flipX":false,"flipY":false,"top":48.181613691640756,"height":52.68676784549414,"width":16.767201500562727,"asset":"Stroke","selectable":true,"left":171.68521761831232,"fill":"#C2C2C2"},{"opacity":1,"angle":344.72487688706514,"flipX":false,"flipY":false,"top":55.554360962218155,"height":49.97074110455981,"width":85.88516174272699,"asset":"Dogtag","selectable":true,"left":112.78935293838273,"fill":"#ACACAC"},{"opacity":1,"angle":344.72487688706514,"flipX":true,"flipY":false,"top":55.43711116803626,"height":41.09136133176289,"width":73.47085744766768,"asset":"Dogtag","selectable":true,"left":113.125,"fill":"#111111"},{"opacity":1,"angle":89.21963282172892,"flipX":false,"flipY":false,"top":165.97325191673255,"height":62.41097862161183,"width":99.34973321245259,"asset":"Dogtag","selectable":true,"left":37.28190656432061,"fill":"#000000"},{"opacity":1,"angle":270.78832290841365,"flipX":false,"flipY":false,"top":168.15744505824875,"height":62.56171947497951,"width":97.48307247779508,"asset":"Dogtag","selectable":true,"left":25.900716412273102,"fill":"#262626"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":195.84111240646118,"height":42.818332333270504,"width":42.818332333270504,"asset":"Circle","selectable":true,"left":23.53165039521731,"fill":"#262626"},{"opacity":1,"angle":10.060371596818486,"flipX":false,"flipY":false,"top":53.81978632511875,"height":49.97074110455981,"width":87.49338730980178,"asset":"Dogtag","selectable":true,"left":228.58365867177272,"fill":"#ACACAC"},{"opacity":1,"angle":190.89982063901581,"flipX":false,"flipY":false,"top":54.613450143332564,"height":41.97377573182213,"width":74.54204839563576,"asset":"Dogtag","selectable":true,"left":228.45831434408697,"fill":"#111111"},{"opacity":1,"angle":337.67058408615685,"flipX":false,"flipY":false,"top":71.89155066962878,"height":32.09795913451076,"width":13.137797308791654,"asset":"Stroke","selectable":true,"left":69.4933228490114,"fill":"#E1E1E1"},{"opacity":1,"angle":66.79707651781244,"flipX":false,"flipY":false,"top":86.97762267938003,"height":63.55573624963567,"width":32.57968198335739,"asset":"Stroke","selectable":true,"left":34.34453951039993,"fill":"#000000"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":51.80381766632445,"height":32.13627969678816,"width":32.13627969678816,"asset":"Circle","selectable":true,"left":130.6931252924909,"fill":"#111111"},{"opacity":1,"angle":0,"flipX":false,"flipY":false,"top":57.428942727100186,"height":32.13627969678816,"width":33.812461562470446,"asset":"Circle","selectable":true,"left":244.65873133648856,"fill":"#111111"},{"opacity":1,"angle":264.0194022449425,"flipX":false,"flipY":false,"top":44.70320735487162,"height":20.15069975897094,"width":23.747596588885074,"asset":"Dogtag","selectable":true,"left":170.8693117941467,"fill":"#EBEBEB"},{"opacity":0.22,"angle":343.0717045357721,"flipX":false,"flipY":false,"top":55.65113436218726,"height":40.34666826631824,"width":12.598070068438538,"asset":"Stroke","selectable":true,"left":112.8223503277798,"fill":"#FFFFFF"},{"opacity":0.22,"angle":343.0717045357721,"flipX":false,"flipY":false,"top":61.30922832951378,"height":41.59153694400947,"width":12.598070068438538,"asset":"Stroke","selectable":true,"left":89.51663975011644,"fill":"#FFFFFF"},{"opacity":0.22,"angle":343.0717045357721,"flipX":false,"flipY":false,"top":47.79910431891956,"height":42.25276564063394,"width":16.98445694303686,"asset":"Stroke","selectable":true,"left":139.57355805989044,"fill":"#FFFFFF"},{"opacity":0.22,"angle":10.333372685159688,"flipX":false,"flipY":false,"top":54.6742571709788,"height":42.25276564063394,"width":16.98445694303686,"asset":"Stroke","selectable":true,"left":230.20057292794405,"fill":"#FFFFFF"},{"opacity":0.22,"angle":10.333372685159688,"flipX":false,"flipY":false,"top":59.99192758925368,"height":42.25276564063394,"width":13.556396242472744,"asset":"Stroke","selectable":true,"left":255.38994041931053,"fill":"#FFFFFF"}]'},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
到最後的分號之間的內容都有貼上。 (徽章的所有圖層會被載入)
關閉控制台。
按一下右上方的「儲存並使用」按鈕。
广告