Upload 强改预充代码.txt
Browse files
65688ab4-720a-49a2-b83c-666ae046a801_3qX5MGW7.txt
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
强改预充代码:
|
| 2 |
+
|
| 3 |
+
var accountId = require("BusinessUnifiedNavigationContext").adAccountID;
|
| 4 |
+
|
| 5 |
+
var fb_dtsg = require('DTSGInitialData').token;
|
| 6 |
+
|
| 7 |
+
var __user = require('CurrentUserInitialData').USER_ID;
|
| 8 |
+
|
| 9 |
+
fetch("https://business.facebook.com/api/graphql", {
|
| 10 |
+
|
| 11 |
+
"headers": {
|
| 12 |
+
|
| 13 |
+
"content-type": "application/x-www-form-urlencoded",
|
| 14 |
+
|
| 15 |
+
},
|
| 16 |
+
|
| 17 |
+
"body": `__a=1&dpr=1&fb_dtsg=${fb_dtsg}&variables={"input":{"billable_account_payment_legacy_account_id":"${accountId}","logging_data":{"logging_counter":22,"logging_id":"3418624251"},"recurring_enabled":false,"actor_id":"${__user}","client_mutation_id":"3"}}&doc_id=4886770528075857`,
|
| 18 |
+
|
| 19 |
+
"method": "POST",
|
| 20 |
+
|
| 21 |
+
"mode": "cors",
|
| 22 |
+
|
| 23 |
+
"credentials": "include"
|
| 24 |
+
|
| 25 |
+
}).then(e => {
|
| 26 |
+
|
| 27 |
+
console.log("Done Changed to Prepaid By Fbceek ✅");
|
| 28 |
+
|
| 29 |
+
location.reload()
|
| 30 |
+
|
| 31 |
+
})
|