Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #30

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions cypress/integration/find.js
Expand Up @@ -18,6 +18,7 @@ describe('Find', function() {
assertQuery('!g brazil', 'https://encrypted.google.com/search?q=brazil')
assertQuery('!r4 my radio', 'https://radio4000.com/search?search=my radio')
assertQuery('+r4 https://www.youtube.com/watch?v=sZZlQqG7hEg', 'https://radio4000.com/add?url=https://www.youtube.com/watch?v=sZZlQqG7hEg')
assertQuery('!e shoes', 'https://www.ebay.com/sch/i.html?_nkw=shoes')
})
})

Expand Down
5 changes: 1 addition & 4 deletions main.js
Expand Up @@ -3,9 +3,6 @@ var App = {
/* we can’t use localStorageKey here, because it’s undefined */
userEngines: JSON.parse(localStorage.getItem("r4find")) || {},

doEngines: {
r4: 'https://radio4000.com/add?url='
},
symbols: {
'!': {
name: 'search',
Expand All @@ -16,7 +13,7 @@ var App = {
d: 'https://duckduckgo.com/?q=',
dd: 'https://devdocs.io/#q=',
dr: 'https://drive.google.com/drive/search?q=',
e: 'http://rover.ebay.com/rover/1/711-53200-19255-0/1?icep_ff3=9&pub=5575347480&toolid=10001&campid=5338215070&icep_sellerId=&icep_ex_kw=&icep_sortBy=12&icep_catId=&icep_minPrice=&icep_maxPrice=&ipn=psmain&icep_vectorid=229466&kwid=902099&mtid=824&kw=lg&icep_uq=',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This part was used for i4k affiliation with ebay

e: 'https://www.ebay.com/sch/i.html?_nkw=',
g: 'https://encrypted.google.com/search?q=',
k: 'https://keep.google.com/?q=#search/text%3D',
l: 'https://www.linguee.com/search?query=',
Expand Down