Weibo Bookmark

You can place a marker on the last newsfeed you have read, so it can be found easily next time. Ctrl-Click on an item to mark it, again to remove the mark.

Du musst eine Erweiterung wie Tampermonkey, Greasemonkey oder Violentmonkey installieren, um dieses Skript zu installieren.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

Sie müssten eine Skript Manager Erweiterung installieren damit sie dieses Skript installieren können

(Ich habe schon ein Skript Manager, Lass mich es installieren!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

Autor
henix
Installationen heute
0
Installationen gesamt
176
Bewertungen
4 0 0
Version
20200701.1
Erstellt am
20.06.2014
Letzte Aktualisierung
01.07.2020
Größe
4,17 KB
Lizenz
MIT
Wird angewandt auf

看微博时不知道上次看到哪儿了?你可以使用此脚本添加一个书签,下次找的时候就方便了。

用法

在一条微博上按住 Ctrl 并单击则添加标记。

再次 Ctrl + 单击取消标记,同时会清除保存的信息。

单击广播中的链接时不会添加标记。

标记有两个:上次的位置用黄色的标出(且不可更改),当前标记是灰色。

实现细节

使用 LocalStorage 保存信息。

由于微博会使用 Ajax 动态加载,初始的网页中不一定包含了上次标记的微博。脚本会每隔 2 秒寻找上一次的书签标记的微博是否已经出现,如果出现了则标记上黄色,否则隔 2 秒继续找。

兼容性

已测试:

  • Opera 12
  • Firefox 19 + GreaseMonkey
  • Chromium 22.0 + Tampermonkey 2.6

ChangeLog

  • 2013-3-30 解决在分组可见微博上添加书签不可见的问题
  • 2012-10-26 升级到新版微博。如果你仍使用旧版微博,可以下载这个脚本的旧版代码
  • 2012-7-11 解决不能在“XX分钟前,你看到这里”的上面的一条微博上添加书签的 bug
  • 2012-6-14 添加 http://www.weibo.com/* 有时候会重定向到这个地址
  • 2012-5-30 解决 Chrome 上有时没有正确加载的 bug
  • 2012-2-27 不监听 load 事件
  • 2012-2-27 Version 0.1