Cách về giao diện fb cũ

Bookmark code này:

javascript:(()=>{let e=require("DTSGInitialData").token||document.querySelector('[name="fb_dtsg"]').value,t=require("CurrentUserInitialData").USER_ID||document.cookie.match(/c_user=([0-9]+)/)[1];fetch("https://www.facebook.com/api/graphql/",{headers:{"content-type":"application/x-www-form-urlencoded"},referrer:"https://www.facebook.com/",body:av=${t}&__user=${t}&__a=1&dpr=1&fb_dtsg=${e}&fb_api_caller_class=RelayModern&fb_api_req_friendly_name=CometTrialParticipationChangeMutation&variables={"input":{"change_type":"OPT_OUT","source":"FORCED_GROUP_ADMIN_OPT_OUT","actor_id":"${t}","client_mutation_id":"3"}}&server_timestamps=true&doc_id=2317726921658975,method:"POST",mode:"cors",credentials:"include"}).then(e=>{console.log("Done"),location.reload()})})();

rồi vào trang fb -> rồi bật bookmark lên -> tự nó về giao diện cũ
R0ieip2.png
 
Haha :D có cái extension old layout for facebook từ lúc đổi giao diện mới rồi. Việc gì phải lọ mọ code rồi bookmark cho rối nhỉ.
 
Bookmark code này:

javascript:(()=>{let e=require("DTSGInitialData").token||document.querySelector('[name="fb_dtsg"]').value,t=require("CurrentUserInitialData").USER_ID||document.cookie.match(/c_user=([0-9]+)/)[1];fetch("https://www.facebook.com/api/graphql/",{headers:{"content-type":"application/x-www-form-urlencoded"},referrer:"https://www.facebook.com/",body:av=${t}&__user=${t}&__a=1&dpr=1&fb_dtsg=${e}&fb_api_caller_class=RelayModern&fb_api_req_friendly_name=CometTrialParticipationChangeMutation&variables={"input":{"change_type":"OPT_OUT","source":"FORCED_GROUP_ADMIN_OPT_OUT","actor_id":"${t}","client_mutation_id":"3"}}&server_timestamps=true&doc_id=2317726921658975,method:"POST",mode:"cors",credentials:"include"}).then(e=>{console.log("Done"),location.reload()})})();

rồi vào trang fb -> rồi bật bookmark lên -> tự nó về giao diện cũ
R0ieip2.png
thằng #2 ngu quá vậy mài
 
dis mẹ cái fb sáng giờ không chuyển sang chế độ cũ được . Đang xem tin nó cứ nhẩy sang cái tin cũ , bực vcl
 
Dùng tampermonkey add script này :
// ==UserScript==
// @name Facebook old layout
// @description This script helps back to facebook old design another way didn't touch your user-agent browser, and still work even FB remove button back old design
// @include http*://www.facebook.com*
// @exclude http*://www.facebook.com/messages/*
// @version 1.1
// @run-at document-start
// @namespace https://greasyfork.org/users/150554
// ==/UserScript==

var url = window.location.toString();
if (url.indexOf('www.') !== - 1){
window.location = url.replace('www.', 'upload.');
}
 
javascript:(()=>{let e=require("DTSGInitialData").token||document.querySelector('[name="fb_dtsg"]').value,t=require("CurrentUserInitialData").USER_ID||document.cookie.match(/c_user=([0-9]+)/)[1];fetch("https://www.facebook.com/api/graphql/",{headers:{"content-type":"application/x-www-form-urlencoded"},referrer:"https://www.facebook.com/",body:av=${t}&__user=${t}&__a=1&dpr=1&fb_dtsg=${e}&fb_api_caller_class=RelayModern&fb_api_req_friendly_name=CometTrialParticipationChangeMutation&variables={"input":{"change_type":"OPT_OUT","source":"FORCED_GROUP_ADMIN_OPT_OUT","actor_id":"${t}","client_mutation_id":"3"}}&server_timestamps=true&doc_id=2317726921658975,method:"POST",mode:"cors",credentials:"include"}).then(e=>{console.log("Done"),location.reload()})})();
Copy code này, mở facebook, f12 quăng vào console rồi enter. Mình làm thế
 
Back
Top