PageSourceSearch

https://www.framboise314.fr/wp-content/plugins/webrotate-360-product-viewer/webrotate360.js

js framboise314.fr collected 2026-10-02 04:25:40 UTC 1,365 bytes, 34 lines download raw bytes

1function wr360QueryGetParameterByName(name){
2    var match = RegExp('[?&]' + name + '=([^&]*)').exec(window.location.search);
3    return match && decodeURIComponent(match[1].replace(/\+/g, ' '));
4}
5
6jQuery(document).ready(function(){
7    var popup360Elm = jQuery("#wr360PlayerId20");
8    if (popup360Elm.length == 1)
9    {
10        var configHeight = parseInt(wr360QueryGetParameterByName("height"));
11        var iframeHeight = configHeight;
12
13        var iframeElm = jQuery("#wr360frame_id", window.parent.document);
14        if (iframeElm.length > 0)
15            iframeHeight = iframeElm.attr("height");
16
17        var realHeight = (iframeHeight < configHeight) ? iframeHeight : configHeight;
18        jQuery(".viewerbox").css("height", realHeight + "px");
19
20        popup360Elm.rotator({
21            licenseFileURL : window.parent.getWR360License(),
22            graphicsPath   : window.parent.getWR360GraphicsPath(),
23            configFileURL  : wr360QueryGetParameterByName("config"),
24            rootPath       : wr360QueryGetParameterByName("root")
25        });
26    }
27    else
28    {
29        if ((typeof(jQuery.fn.prettyPhoto) !== "undefined") && (typeof(getWR360PopupSkin) !== "undefined"))
30		{
31            jQuery("a[rel^='prettyPhoto']").prettyPhoto({animation_speed:0, deeplinking:false, theme:getWR360PopupSkin()});
32		}
33    }
34});

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.