PageSourceSearch

https://direktonline.se/cache/js/content/plugins/custom_plugin/js/custom_plugin.js?v=1688970226

js direktonline.se collected 2026-10-08 20:51:55 UTC 1,079 bytes, 6 lines download raw bytes

1Bliss.CustomPlugin=function(){};Bliss.CustomPlugin.HandleDateTimePicker=function(){$('.date-picker').datepicker({dateFormat:'yy-mm-dd'});}
2Bliss.CustomPlugin.HandleCustomPluginAjax=function(){var filter=$(".plugin-filter");if(!filter.length){return;}
3$(filter).on("change","select",function(){var url=this.value;var plugin_id=$(".plugin").data("plugin-id");$.ajax({"type":"GET","url":url+"&ajax=custom_plugin&plugin_id="+plugin_id,"success":function(data){try{var result=JSON.parse(data);}catch(e){console.log(data);return;}
4$(".plugin-filter").empty();$(".plugin-filter").append(result["filter"]);$(".plugin-list-wrapper[data-plugin-id="+plugin_id+"]").empty();$(".plugin-list-wrapper[data-plugin-id="+plugin_id+"]").append(result["list"]);window.history.pushState(false,false,url);}});});}
5jQuery(function($){Bliss.CustomPlugin.HandleDateTimePicker();Bliss.CustomPlugin.HandleCustomPluginAjax();});$(function(){$.urlParam=function(name){var results=new RegExp('[\?&]'+name+'=([^&#]*)').exec(window.location.href);if(results==null){return null;}
6else{return results[1]||0;}};});

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.