GithubHelp home page GithubHelp logo

chrome-enhanced-history / enhanced-history Goto Github PK

View Code? Open in Web Editor NEW

This project forked from johnmave126/better-history

116.0 116.0 23.0 52.43 MB

Non-hijacked fork of Better History for Chrome

Home Page: https://chrome.google.com/webstore/detail/enhanced-history/blpnkmdkoapbdhpmemnaikpbhajknmdb

License: GNU General Public License v3.0

HTML 18.84% JavaScript 73.16% CSS 7.99%

enhanced-history's People

Contributors

akatrevorjay avatar lefouineur avatar oparrish avatar psychodata avatar qll avatar questpro avatar westin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

enhanced-history's Issues

Extended History cannot read my history

Seems like there's some data access problem. The only history visible are the times I viewed pdfs in browser. I disabled the extension, and regular history works fine, so it's definitely an issue with the way extended history interfaces with chrome.

History export

Enhancement propose:
Export history links - useful for links from devices.

Workaround for now is simple jQuery expression to generate each link in new line:

$('div.content ol.visits').first().find('li.visit a.item.site dd.location').map((i, e) => e.innerText).toArray().join('\n')

and then copy&paste from console to text file.

Statistics is broken - google charts reference issue

Uncaught ReferenceError: google is not defined
at child.render (VM97 app.js:5050)
at Cache.statisticView (VM97 app.js:3724)
at Cache.view (VM97 app.js:3669)
at child.statistic (VM97 app.js:5741)
at child.execute (VM97 app.js:2116)
at Object.callback (VM97 app.js:2104)
at VM97 app.js:2387
at Function.h.some.h.any (VM97 app.js:596)
at Backbone.History.loadUrl (VM97 app.js:2385)
at Backbone.History.start (VM97 app.js:2327)

image

Suggested Improvements & Fixes for Searching & Search Engine Keyword Use with Enhanced History Chrome Extension

I've summarized a few suggestions and issues identified relating to searching history with Enhanced History extension for Chrome below:

Summarized Issues & Requests:

  1. Use "h" keyword (instead of "history") and/or allow this to be easily customized from within extension settings, as it's impossible to change this under
  2. Make possible for users to create their own search engine keyword (like "h") and even bookmark common search pages by:
    • Having the search keyword shown in URL in address bar, changing based on what the user enters into the Search box (like is the case for standard History page, so that users know what URL to use).
  3. Make it clear that this extension registers a new search engine with the "history" keyword, stating this in Extension (Store) description page and Search Tips.
    • Needed as this capability is unknown for many, and that can prevent others spending much time trying to identify the URL (despite issues preventing that, detailed further below) to add it themselves (eg for "h" keyword)
  4. Support the same non-enhanced history URL pattern of chrome://history/all?q=%22%s%22 so
    • Needed so existing search engine entries (eg. if adding for default History page earlier) will still work as expected, vs. just breaking that as is currently the case.
  5. Have the search query (even if entered via address bar) auto populated into the Search box in the resulting page.
  6. Middle click to open links for Enhanced History search result pages opens a broken search page searching for "p2" for 2nd page of results, for example.
  7. Add support for title: and url: search keywords to limit searching to title or url only (and show these in Search Tips)
  8. Consistently show either endless results (with "Search deeper" button) or Paged results, instead of randomly showing Paged vs. Endless in different cases as occurs now (possibly sometimes shows pages if click on Search side tab and/or in other cases? Unsure as even then very inconsistent)
  9. Often "Search deeper" does not show up
    • Such as even when I search for the same thing a 2nd time (after searching for something different in between) without closing and reopening the history page (like seen in screenshot further below)
  10. Regex search results in HTML markup showing in title at top of page like:
    Searching <ul class="tags"><li>{What you searched for}<li><ul>
  11. If you middle-click a page number (with paged results) to open in a new tab like for the following for Page 2 when searching for Google, which results in an invalid page (searches for "Google/p2" instead of just "Google")
    • chrome-extension://blpnkmdkoapbdhpmemnaikpbhajknmdb/index.html#search/Google/p2
    • Combined with lack of search term shown in URL (like native Search) this makes it nearly impossible for users to figure out what the URL should be to add their own search engine keyword

Workaround for just 1 Issue (adding "h" search engine keyword)

I did discover a temporary workaround that users can use to add Enhanced History search as a Search Engine in Chromium-based browsers using the following search engine URL pattern:

chrome-extension://blpnkmdkoapbdhpmemnaikpbhajknmdb/index.html#search/%s

Though without looking at search code or much trial and error others likely won't be able to identify this, due to issues with lack of showing URL or even invalid page URLs as detailed above.

Note that even for Chromium-based Edge (Developer channel) you must still use chrome-extension:// even though the browser shows it as extension://, otherwise redirection errors occur resulting in extension://extension:// or similar invalid URLs.

You can add this for "h" keyword (for Chrome or Edge Chrome) at:

chrome://settings/searchEngines
edge://settings/searchEngines

Auto registered search engines like Enhanced History cannot have there search keyword edited, making this even more important that it's possible to easily figure out what this URL is and/or allow editing the keyword via extension settings.

However, there is no way for users to determine that other than looking through the code or many random guessing attempts, since, unlike basic history and many search engines the URL shown in address bar doesn't change after performing a search.

Also, even that fails to show what was searched via keyword in the "Search title or url" box for easy tweaking or clarity.

Screenshots of Issues

Sometimes shows Search deeper / endless loading history search results:
image

Paged results being shown instead
image

Middle click on result page number opens invalid search page:

image

URL for Search in Standard History:
image

Search Deeper shown after first search
image

Search deeper fails to show after I search a 2nd time after (for something different, then same search again) once history page is already open
image

Regex results in HTML markup showing in title at top of page like:
Searching

  • {What you searched for}

    • image

Something is wrong...

The page is blank:

app.js:3534 Uncaught SyntaxError: Unexpected identifier

Edit: column 467: unescaped '

Cannot Install Extension Due To Underscore In _config.yml File

Was trying to install the extension but met error below. So I renamed the _config.yml file and was able to successfully install the extension afterwards. Is this the recommended approach? If yes, I can submit a PR to master to rename the _config.yml file to config.yml file so future non-tech savvy users can avoid this issue. Kindly advise, thanks!!

Error

Cannot load extension with file or directory name _config.yml. Filenames starting with "_" are reserved for use by the system.
Could not load manifest.

Note: the Chrome Version used on the computer was: Version 84.0.4147.89 (Official Build) (64-bit)

Workaround

Renamed _config.yml file to config.yml and the extension installed successfully on Chrome.

Extension disabled today...

I have an extension that log extensions events (enable/disable/updated/...). It warned me that it has noticed that chrome automatically disabled "Enhanced History" today 10/10/2018 at 15:28 GMT+2
Chrome still allows me to re-enable "EH".

Chrome says "This extension violates the Chrome Web Store policy."

EH still in webstore but disabled by chrome

Edit 23-11-2018: has not been disabled since then (5 days ago)
Edit end

Just a heads-up.
I don't know what is going on. A chrome bug perhaps, but it has disabled EH for the same reason as previously. But this time the extension is still visible on the web store.
eh-dis

This summer I have developped an extension that monitors all the extension installed in my profiles (I was fed up not knowing when extensions or chrome are updated. Plus, I needed a working solution to keep track of uninstalled extensions). It warned me immediately when it noticed the disabling:

eh-hist-log
My timezone is GMT+1

Removed from the chrome webstore

I regularly test one of my own extensions, and one of it capabilities is to bulk-download crx packages of extensions that I have currently installed.
"Enhanced History" isn't available anymore (2020/06/04).
The last time I made the test, May 27 2020, it was downloaded.

Please provide/package .crx releases so people who use Chromium can install .crx directly and have auto-updates with Chromium Web Store extension

Chromium users can sideload .crx directly without "Load Unpacked Extensions":
https://ungoogled-software.github.io/ungoogled-chromium-wiki/faq#can-i-install-extensions-or-themes-from-the-chrome-webstore
https://chromium.woolyss.com/#external-extension-installation

Following these instructions will allow auto-updating using the Chromium Web Store extension

This is a workaround around the Chrome Web Store extension removal problem.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.