PageSourceSearch

https://dergipark.org.tr/tr/dp-feature-data.js

js dergipark.org.tr collected 2026-09-24 08:29:42 UTC 639 bytes, 33 lines download raw bytes

1let featureData = "\u007B\u0022follower\u0022\u003Atrue\u007D";
2if(isJson(featureData)){
3    featureData = JSON.parse(featureData);
4}else{
5    featureData = false;
6}
7
8window.canUseFollowerFeature = function (username) {
9
10    let followerData = false;
11    if('follower' in featureData){
12        followerData = featureData['follower'];
13    }
14
15    if(typeof followerData == 'boolean'){
16        return followerData;
17    }
18
19    if(followerData.indexOf(username) !== -1){
20        return true;
21    }
22
23    return  false;
24};
25
26function isJson(str) {
27    try {
28        JSON.parse(str);
29    } catch (e) {
30        return false;
31    }
32    return true;
33}

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.