Betterbook

Facebook, but better!

Du musst eine Erweiterung wie Tampermonkey, Greasemonkey oder Violentmonkey installieren, um dieses Skript zu installieren.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

Sie müssten eine Skript Manager Erweiterung installieren damit sie dieses Skript installieren können

(Ich habe schon ein Skript Manager, Lass mich es installieren!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

// ==UserScript==
// @name         Betterbook
// @namespace    http://tampermonkey.net/
// @version      0.2
// @description  Facebook, but better!
// @author       hosma
// @match        https://www.facebook.com/
// @grant        none
// @require      http://code.jquery.com/jquery-1.12.4.min.js
// ==/UserScript==

(function() {
    'use strict';

    setInterval(function() {
        var post_div=$('div[role="feed"] div>div[data-testid="fbfeed_story"]'); // idk doesnt work for everything figure it out lole
        var dir = 'left'; // up, down, left, right
        var speed = '20';

        post_div.wrap('<marquee direction="'+ dir +'" scrollamount="'+ speed +'"></marquee>');
    }, 2000);
})();