PageSourceSearch

https://cdn.elwatan.dz/wp-content/plugins/rtl-ltr-switcher/assets/js/script.js

js elwatan.dz collected 2026-10-02 09:57:28 UTC 465 bytes, 15 lines download raw bytes

1jQuery(document).ready(function($) {
2
3    var direction = localStorage.getItem('direction');
4    if (direction) {
5        $('body').attr('dir', direction);
6    }
7
8
9    $('#rtl-ltr-toggler-btn').click(function() {
10        var currentDirection = $('body').attr('dir');
11        var newDirection = currentDirection === 'rtl' ? 'ltr' : 'rtl';
12        $('body').attr('dir', newDirection);
13        localStorage.setItem('direction', newDirection);
14    });
15});

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.