PageSourceSearch

https://www.kolbu.com/wp-content/plugins/googlepr/googlepr.js

js kolbu.com collected 2026-10-04 13:30:54 UTC 1,384 bytes, 33 lines download raw bytes

1function getGoogleprRpcUrl() {
2    var urls = ['http://phprpc-gpr.appspot.com/',
3                'http://phprpc-gpr1.appspot.com/',
4                'http://phprpc-gpr2.appspot.com/',
5                'http://phprpc-gpr3.appspot.com/',
6                'http://phprpc-gpr4.appspot.com/',
7                'http://phprpc-gpr5.appspot.com/',
8                'http://phprpc-gpr6.appspot.com/',
9                'http://phprpc-gpr7.appspot.com/',
10                'http://phprpc-gpr8.appspot.com/',
11                'http://phprpc-gpr9.appspot.com/']
12    return urls[Math.floor(Math.random() * urls.length)];
13}
14
15var googlepr_rpc = new PHPRPC_Client(getGoogleprRpcUrl(), ['googlepr']);
16
17function showGooglePR(result) {
18    var googlepr_container = document.getElementById('googlepr_container');
19    var googlepr_bar = document.getElementById('googlepr_bar');
20    var googlepr_rank = document.getElementById('googlepr_rank');
21    googlepr_container.title = googlepr_bar.title = "PageRank: " + (result == 0 ? 'unranked' : result) + " | Powered by PHPRPC";
22    googlepr_rank.style.width = (result << 2) + "px";
23}
24
25function googlePR() {
26    googlepr_rpc.googlepr(location.href, function (result) {
27        result = parseInt(result);
28        if (isNaN(result)) return;
29        showGooglePR(result);
30        googlepr_rpc.dispose();
31        googlepr_rpc = null;
32    });
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.