Google Search Extra Buttons

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

< Feedback on Google Search Extra Buttons

Review: Good - script works

§
Posted: 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:

spmbtAuthor
§
Posted: 2016-09-09
Edited: 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.

§
Posted: 2016-09-09

Thanks a lot ! :smiley:

Post reply

Sign in to post a reply.