跳轉白畫面解決方式
-
提供一個油猴優化版本 跳轉速度更快
// ==UserScript== // @name Redirect voofd URL // @namespace Who cares // @version 1.0 // @description Redirect voofd URL // @author LuOusTing // @match *https://www.loohk.com/hk/* // @supportURL https://www.google.com.tw/ // @icon https://www.google.com/s2/favicons?domain=voofd.com/ // @grant none // @license MIT // ==/UserScript== const resetURL = () => { let url = window.location.href; let array = url.split("="); window.location.replace(unescape(array[1])); } // redirect window.onload = resetURL();
-
@路奧思汀 好的 那應該是我哪裡搞錯了
-
跳轉網站掛了QQ 油猴插件也沒效了QQ
只能麻煩大家繼續手動複製了 走方法一了
插件狀態:無法使用
更新時間: 9/20 16:55 -
我還想說為什麼不能用了,
原來是跳轉也掛了嗎QQ -
有沒有手機的解決方式⋯手機超常白畫面⋯
-
@Wu-martin 手機沒辦法跑任何插件QQ
手機也可以試試方法一 -
解法三 安裝方法跟方法二一樣 (電腦版瀏覽器Only)
有驚歎號也不用管他 直接保存
速度更快 更加實用
未完善測試 有Bug再麻煩底下留言了// ==UserScript== // @name Redirect voofd URL // @namespace Who cares // @version 1.0 // @description Redirect voofd URL // @author LuOusTing // @match *https://www.voofd.com/topic/* // @supportURL https://www.google.com.tw/ // @icon https://www.google.com/s2/favicons?domain=voofd.com/ // @grant none // @license WTFPL // @require https://code.jquery.com/jquery-3.6.0.min.js // ==/UserScript== const replaceLink = () => { $(".video > a").each(function(){ let tempUrl = $(this).attr("href"); console.log(tempUrl); $(this).attr("href", resetURL(tempUrl)); }); }; const resetURL = (url) => { let array = url.split("="); return unescape(array[1]); }; // redirect window.onload = replaceLink();
插件狀態:正常運作中
更新時間:9/20 17:42 -
網頁重下載看看
-
每次這樣我就放棄了
-
@源源-1 要重下載什麼QAQ?
-
@11111 不要放棄 試試看我的腳本
-
// ==UserScript== // @name Redirect voofd URL // @namespace Redirect voofd URL // @version 2.0 // @description Redirect voofd URL // @author LuOusTing // @match https://www.voofd.com/topic/* // @match https://www2.voofd.com/topic/* // @supportURL https://www.google.com.tw/ // @icon https://www.google.com/s2/favicons?domain=voofd.com/ // @grant none // @license WTFPL // ==/UserScript== const replaceLink = () => { console.log("----scipt run-----"); const list = document.querySelectorAll(".playbox"); // array if (list.length == 0) return; // handle url list.forEach((element) => { element.href = resetURL(element.href); }); }; const resetURL = (url) => { let array = url.split("="); return unescape(array[1]); }; // redirect window.onload = replaceLink();
2022/12/27 更新
功能不限制於白畫面
不想點鏈結的時候跳轉也有效果喔