Skip to content

Commit

Permalink
Cleanup (v1.2.0)
Browse files Browse the repository at this point in the history
  • Loading branch information
lassebomh committed Oct 27, 2022
1 parent b337203 commit 19959a0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/manifest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { defineManifest } from '@crxjs/vite-plugin'
export default defineManifest({
name: 'More Rich Results',
description: "Stack Overflow and Reddit previews directly in your search engine",
version: '1.1.2',
version: '1.2.0',
manifest_version: 3,
icons: {
"16": "src/assets/images/icon_16.png",
Expand Down
2 changes: 1 addition & 1 deletion src/richresults/reddit/Reddit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import Component from "./Component.svelte"
export default <RichResult>{
match: (url: URL) => url.hostname === "www.reddit.com" && /^\/r\/[\w_-]+\/comments\/[\w_-]+\/[\w_-]+\//.test(url.pathname),
triggers: {
"reddit.com": ['imdb.com']
// "reddit.com": ['imdb.com']
},
component: Component,
}
2 changes: 1 addition & 1 deletion src/richresults/stackexchange/StackExchange.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import stackexchange_hostnames from './stackexchange_hostnames.json'
export default <RichResult>{
match: (url: URL) => stackexchange_hostnames.indexOf(url.hostname) != -1,
triggers: {
'stackoverflow.com': ["w3schools.com", "geeksforgeeks.org", "docs.python.org", "programiz.com", "tutorialspoint.com", "javatpoint.com"]
'stackoverflow.com': ["w3schools.com", "geeksforgeeks.org", "programiz.com", "tutorialspoint.com", "javatpoint.com"]
},
component: Component,
}

0 comments on commit 19959a0

Please sign in to comment.