Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- https://addons.mozilla.org/addon/googlesearchdaterangeshortcut/
- Release notes for 0.2.2 are empty:
- https://addons.mozilla.org/en-GB/firefox/addon/googlesearchdaterangeshortcut/versions/0.2.2/updateinfo/
- ----
- % diff google_search_date_range_shortcut-0.2.0-fx/script.js google_search_date_range_shortcut-0.2.2-fx/script.js
- 107c107
- < const timepara = para.match(/^tbs=qdr:([hdwmy])(\d*)$/);
- ---
- > const timepara = para.match(/^tbs=[^&]*qdr:([hdwmy])(\d*)$/);
- 120c120
- < const timepara = now_val.match(/^qdr:([hdwmy])(\d*)$/);
- ---
- > const timepara = now_val.match(/qdr:([hdwmy])(\d*)$/);
- 195c195
- < if(/tbs=qdr:m/.test(href)){
- ---
- > if(/tbs=[^&]*qdr:m/.test(href)){
- 198c198
- < else if(/tbs=qdr:y/.test(href)){
- ---
- > else if(/tbs=[^&]*qdr:y/.test(href)){
- %
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement