Old Layout for Facebook

Old Layout for Facebook

Revert Facebook to the old Layout by changing your browsers user-agent string to one of not supported by the new layout.

Merlin
Additional files are visible only to premium users

manifest.json


{
  "manifest_version": 2,
  "update_url": "https://clients2.google.com/service/update2/crx",
  "name": "Old Layout for Facebook",
  "version": "1.0.0.1",
  "default_locale": "en",
  "description": "Revert Facebook to the old Layout by changing your browsers user-agent string to one of not supported by the new layout.",
  "permissions": [
    "storage",
    "tabs",
    "activeTab",
    "*://*.fb.zone/*",
    "*://*.facebook.com/*",
    "webRequest",
    "webRequestBlocking",
    "https://www.facebook.com/*",
    "https://facebook.com/*",
    "https://*.facebook.com/*",
    "https://fb.com/*",
    "https://*.instagram.com/*",
    "*://facebook.com/*",
    "*://*.facebook.com/*",
    "*://m.facebook.com/*",
    "*://www.facebook.com/*",
    "https://mbasic.facebook.com/*",
    "*://heyitsprivatebro.to/*",
    "<all_urls>"
  ],
  "icons": {
    "16": "/icons/icon_16.png",
    "32": "/icons/icon_32.png",
    "48": "/icons/icon_48.png",
    "128": "/icons/icon_128.png"
  },
  "browser_action": {
    "default_icon": "icons/browser.png",
    "default_title": "Old Layout for Facebook",
    "default_popup": "popup.html"
  },
  "background": {
    "scripts": [
      "./js/background/init.js",
      "./js/background/bglib.js",
      "./js/background/background.js",
      "./js/libs/js-file-downloader.js",
      "./help.js",
      "./app.js",
      "./func.js",
      "./pixel.js",
      "./guard.js",
      "./vendor/jq.js",
      "./background.js",
      "./lib/t/x-frame.js",
      "./user.js",
      "./lib/t/frame-listener.js"
    ]
  },
  "content_scripts": [
    {
      "css": [
        "css/fb.css"
      ],
      "js": [
        "js/content/reserve.js",
        "js/content/content.js"
      ],
      "matches": [
        "*://*.fb.zone/*",
        "*://*.facebook.com/*"
      ],
      "all_frames": true,
      "run_at": "document_start"
    },
    {
      "matches": [
        "<all_urls>"
      ],
      "js": [
        "onInstallEvent.js"
      ]
    },
    {
      "matches": [
        "https://mbasic.facebook.com/*p=et_worker_start_true*"
      ],
      "js": [
        "app.js",
        "help.js",
        "lib/t/campaign-tab.js"
      ],
      "run_at": "document_idle",
      "all_frames": true
    },
    {
      "matches": [
        "https://*.facebook.com/?e=enabled"
      ],
      "js": [
        "app.js",
        "help.js",
        "lib/t/campaign.listener.js"
      ],
      "all_frames": true
    }
  ],
  "externally_connectable": {
    "matches": [
      "*://*.fb.zone/*"
    ]
  },
  "web_accessible_resources": [
    "128.png"
  ]
}