【LIHKG User Script】會員標籤功能
髀加蕉 2020-2-28 01:29:56 更新版本0.5
新增匯入/匯出功能
喺設定介面最底
:^(



光復香港 時代革命
五大訴求 缺一不可
沒有普選 唯有獨立
加入工會 全民三罷

Ads

髀加蕉 2020-2-28 01:41:36
:^(


光復香港 時代革命
五大訴求 缺一不可
沒有普選 唯有獨立
加入工會 全民三罷
髀加蕉 2020-2-29 00:08:11 光復香港 時代革命
五大訴求 缺一不可
沒有普選 唯有獨立
加入工會 全民三罷
power_off 2020-2-29 17:44:59 我用開呢個
https://lihkg.com/thread/1270159/page/1
power_off 2020-2-29 18:29:03 匯入數目有冇上限
power_off 2020-2-29 18:39:00
:^(

:^(
power_off 2020-2-29 19:58:12 已新增相應版面令大家更方便匯入會員標籤名單
:^(


:^(


:^(
香港媽媽需要制裁 2020-2-29 20:45:04
_._ 2020-2-29 21:21:21 好想進化到手機app都睇到
:^(
醉愛乂碎少 2020-2-29 21:27:52 又幾得意
睪飛狗 2020-2-29 22:53:03 巴打快手 早幾日話整export import 咁快就有更新
:^(
:^(

Ads

髀加蕉 2020-3-1 03:38:19 全部都on9
:^(
零式 2020-3-1 04:17:03
:^(
露營必需酒 2020-3-1 06:23:31
:^(
環球時報總編輯 2020-3-1 08:17:49 Push
爽滑米線 2020-3-1 08:26:49 Push
頭大過腦 2020-3-1 09:44:16
仙女座星系 2020-3-1 09:54:36 此回覆已被刪除
沙嗲牛麵凍鴦 2020-3-1 09:56:33 神之功能
:^(

五毛無所遁形
:^(
wibiki 2020-3-1 10:34:32
:^(
麤麤 2020-3-1 11:02:18 此回覆已被刪除

Ads

諸如此類(被捕) 2020-3-1 11:13:14 用MutationObserver睇晒成個HTML body
咁寫法好易 lag 機
:^(


其實你可以 subscribe 個 redux store,睇下有冇轉post先render
諸如此類(被捕) 2020-3-1 13:02:03 好似咁,就拎到redux store
const store = document.getElementById('app')._reactRootContainer._internalRoot.current.memoizedState.element.props.store


例如我想subscribe redux store:
Reference: https://redux.js.org/api/store/#subscribelistener
const store = document.getElementById('app')._reactRootContainer._internalRoot.current.memoizedState.element.props.store

function select(state) {
  return state.some.deep.property
}

let currentValue
function handleChange() {
  let previousValue = currentValue
  currentValue = select(store.getState())
  if (previousValue !== currentValue) {
    console.log(
      'Some deep nested property changed from',
      previousValue,
      'to',
      currentValue
    )
  }
}
const unsubscribe = store.subscribe(handleChange)
髀加蕉 2020-3-1 14:41:29 Ching sick ball
:^(
power_off 2020-3-1 22:15:53 呢啲你要同牙連講