PageSourceSearch

https://www.powerstar.de/sportnahrung-shop/modules/seosaproductlabels/views/js/seosaproductlabels.js

js powerstar.de collected 2026-10-08 03:24:17 UTC 2,188 bytes, 57 lines download raw bytes

1/**
2 * 2007-2016 PrestaShop
3 *
4 * NOTICE OF LICENSE
5 *
6 * This source file is subject to the Academic Free License (AFL 3.0)
7 * that is bundled with this package in the file LICENSE.txt.
8 * It is also available through the world-wide-web at this URL:
9 * http://opensource.org/licenses/afl-3.0.php
10 * If you did not receive a copy of the license and are unable to
11 * obtain it through the world-wide-web, please send an email
12 * to [email protected] so we can send you a copy immediately.
13 *
14 * DISCLAIMER
15 *
16 * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
17 * versions in the future. If you wish to customize PrestaShop for your
18 * needs please refer to http://www.prestashop.com for more information.
19 *
20 * @author    SeoSA <[email protected]>
21 * @copyright 2012-2017 SeoSA
22 * @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
23 * International Registered Trademark & Property of PrestaShop SA
24 */
25
26(function ($) {
27    $(function () {
28        $('.seosa_product_label._product_page').each(function () {
29            var image_block = $('#image-block');
30            if (!image_block.length)
31                image_block = $('#content-wrapper .product-cover');
32            $(this).appendTo(image_block);
33            $(this).show();
34        });
35    });
36
37    $(function () {
38        $('.seosa_product_label._catalog').each(function () {
39            $(this).appendTo($(this).closest('.product-container, .ajax_block_product, .product-miniature').find('.product_img_link, .thumbnail-container, .product_image'));
40            $(this).show();
41        });
42    });
43
44    $(document).ajaxComplete(function(e) {
45        $('.seosa_product_label._catalog').each(function () {
46            $(this).appendTo($(this).closest('.product-container, .ajax_block_product, .product-miniature').find('.product_img_link, .thumbnail-container, .product_image'));
47            $(this).show();
48        });
49    });
50
51})(jQuery)
52
53$(document).ready(function(){
54    $('body').on('mouseenter mouseleave', '.seosa_product_label', function () {
55        $(this).find('.seosa_label_hint').toggle();
56    });
57});

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.