Google Search Extra Buttons

Add buttons (past 1/2/3 days, weeks, PDF search etc.) for Google search page

< 脚本 Google Search Extra Buttons 的反馈

评价:好评 - 脚本运行良好

§
发布于:2016-09-09

Quick question !

I really like this script, I was looking at the code which is to advanced for me to understand fully and I have a question:

What is the purpose of " saveYourLocalStorage.html" ?

I understand it save something in the localStoregae of mt browser but why it need it ? and why this code need to be in an external webpage ?

Regards :yum:

spmbt作者
§
发布于:2016-09-09
编辑于:2016-09-09

Hi!
It save state of script in localStorage of domain "spmbt.github.io" because localStorage of domain "google.XXX" was cleaned regularly (by Google scripts of site). No possibilities to save anything in domain google.XXX. State of script contains your individual settins: last selected hours, days, weeks, ..., sites and language of interface.

Also, for information, Facebook follows a similar policy on its website.

§
发布于:2016-09-09

Thanks a lot ! :smiley:

发布留言

登录以发布留言。