去除链接重定向

能原地解析的链接绝不在后台访问,去除重定向的过程快速且高效,平均时间在0.02ms~0.05ms之间。几乎没有任何在后台访问网页获取去重链接的操作,一切都在原地进行,对速度精益求精。去除网页内链接的重定向,具有高准确性和高稳定性,以及相比同类插件更低的时间占用。并且保证去除重定向的有效性,采用三级方案,原地解析->自动跳转->后台访问,保证了一定能去除重定向链接

< Feedback em 去除链接重定向

Pergunta/comentário

§
Publicado: 09/08/2024

pc6 新的外链: https://www.pc6.com/goread.html?gourl=02W03803803401M01B01B02V03902P03202Y02X02P01A03503501A02R03303101B



给力奥老哥,编码规则都给了省得我自己找了

§
Publicado: 09/08/2024

pc6 新的外链: https://www.pc6.com/goread.html?gourl=02W03803803401M01B01B02V03902P03202Y02X02P01A03503501A02R03303101B



01C01E02F01C01F01K01C01F01K01C01F01G01C01D02501C01D01U01C01D01U01C01E02E01C01F01L01C01E02801C01F01E01C01E02H01C01E02G01C01E02801C01D01T01C01F01H01C01F01H01C01D01T01C01E02A01C01F01F01C01F01D01C01D01U

解析出来是这样的,我没学过这方面的内容没看出来编码的规律,还是解不出来不好意思

§
Publicado: 09/08/2024

试试这个

const url = new URL("https://www.pc6.com/goread.html?gourl=02W03803803401M01B01B02V03902P03202Y02X02P01A03503501A02R03303101B");
const encoded = url.searchParams.get('gourl');
const key = '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ';
const len = key.length;
let d = 0;
let s = new Array(Math.floor(encoded.length / 3));
const b = s.length;
for (let i = 0; i < b; i++) {
    const b1 = key.indexOf(encoded.charAt(d++));
    const b2 = key.indexOf(encoded.charAt(d++));
    const b3 = key.indexOf(encoded.charAt(d++));
    s[i] = b1 * len * len + b2 * len + b3;
}
const decoded = String.fromCharCode(...s);
console.log(decoded);
§
Publicado: 09/08/2024

试试这个

const url = new URL("https://www.pc6.com/goread.html?gourl=02W03803803401M01B01B02V03902P03202Y02X02P01A03503501A02R03303101B");
const encoded = url.searchParams.get('gourl');
const key = '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ';
const len = key.length;
let d = 0;
let s = new Array(Math.floor(encoded.length / 3));
const b = s.length;
for (let i = 0; i < b; i++) {
    const b1 = key.indexOf(encoded.charAt(d++));
    const b2 = key.indexOf(encoded.charAt(d++));
    const b3 = key.indexOf(encoded.charAt(d++));
    s[i] = b1 * len * len + b2 * len + b3;
}
const decoded = String.fromCharCode(...s);
console.log(decoded);

。。。我的。我把你上面发的当成网页的编码逻辑了,然后自己写了个反解码的逻辑导出了上面的一串。铸币是这样的

§
Publicado: 09/08/2024

2.5.7已更新

§
Publicado: 18/08/2024

发现这个问题主要是因为我也有在做类似的脚本,作者大大感兴趣的话可以互相贴一个友链 https://greasyfork.org/scripts/492480

§
Publicado: 19/08/2024

发现这个问题主要是因为我也有在做类似的脚本,作者大大感兴趣的话可以互相贴一个友链 https://greasyfork.org/scripts/492480

已添加到脚本推荐里

Publicar resposta

Faça o login para publicar uma resposta.