Closed srajanpaliwal closed 7 years ago
@srajanpaliwal Thanks for the PR 😄
I was searching stackoverflow for something and found this a while back, about a limit on the no. of match patterns. http://stackoverflow.com/questions/23747781/match-pattern-for-all-google-search-pages#comment-36583130
Also on google search query page the css worked but the js part in googleFearch.js didn't work for me and worked only when I had set
"run_at": "document_end"
Also please can you explain the reason for uuid here https://github.com/NIT-dgp/chrome-search-extension/pull/57/files#diff-d8c11c63dfd474a75f05fbbdba0889f8R63 . Does this not affect query in some way.
But the lag that came earlier in the injected script loading and being applied has certainly diminished.
- I was searching stackoverflow for something and found this a while back, about a limit on the no. of match patterns. http://stackoverflow.com/questions/23747781/match-pattern-for-all-google-search-pages#comment-36583130
The comment does not have a source. And i think it will not be such a small number, even if there is a limit. I tried a few domains from end of the list it works fine. We should test it just to be sure. :D
- Also on google search query page the css worked but the js part in googleFearch.js didn't work for me and worked only when I had set "run_at": "document_end"
The injected css and script should works fine in either case. Not sure why it is not working for you with "document_start"
- Also please can you explain the reason for uuid here https://github.com/NIT-dgp/chrome-search-extension/pull/57/files#diff-d8c11c63dfd474a75f05fbbdba0889f8R63 . Does this not affect query in some way.
"-" in a google query means search results should not contain this keyword. As it a long random string, it will not affect the query. I did this because match patterns ignores "#someString", while matching urls.
Merged manually after pulling thankyou for the PR. Keep up the good work.
I have hardcoded a random string to identify tabs created by the extension. But, this can be changed in the future.