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

On Chrome, the bookmarlet doesn't work #2130

Closed
NerosTie opened this issue May 31, 2016 · 6 comments
Closed

On Chrome, the bookmarlet doesn't work #2130

NerosTie opened this issue May 31, 2016 · 6 comments
Milestone

Comments

@NerosTie
Copy link

Issue details

On Chrome, when I click on the bookmark, nothing happen. It was not an issue with the bookmarlet of wallabag 1.x.

Environment

  • wallabag version (or git revision) that exhibits the issue: 2.0.4
  • How did you install wallabag? Via git clone or by downloading the package?
  • Last wallabag version that did not exhibit the issue (if applicable):
  • php version:
  • OS:
  • type of hosting (shared or dedicated):
  • which storage system you choose at install (SQLite, MySQL/MariaDB or PostgreSQL):

Steps to reproduce/test case

  1. Use Chrome
  2. Add the bookmarklet to your bookmarks
  3. Go to an article to save
  4. Click on the bookmark
  5. Nothing happen
@j0k3r
Copy link
Member

j0k3r commented May 31, 2016

Are you using that bookmarklet (https://github.com/Rurik19/wallabagger) from @Rurik19 ?

@Rurik19
Copy link
Contributor

Rurik19 commented May 31, 2016

I think its about that part of documentation.

By using a bookmarklet
On the Howto page, you have a Bookmarklet tab. Drag and drop the bag it! link to your bookmarks bar of your browser.
Now, each time you're reading an article on the web and you want to save it, click on the bag it! link in your bookmarks bar. The article is saved.

and indeed, in chrome that doesn't work

@tcitworld
Copy link
Member

May be related to #1960.

@nickian
Copy link

nickian commented May 31, 2016

Here's my solution to this problem. Instead of opening a new window and closing it, just redirect to the add article URL:

javascript:var url=location.href||url;var wllbg=window.location.replace('https://url.com/web/bookmarklet?url=' + encodeURI(url));void(0);

@NerosTie
Copy link
Author

NerosTie commented Jun 1, 2016

@nickian Your solution works well!

@ghost
Copy link

ghost commented Jun 11, 2016

I had the same problem in Firefox 47 and @nickian's workaround solved it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants