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

Support of dynamic URL - Chrome extension #12

Open
ghost opened this issue Jan 13, 2014 · 0 comments
Open

Support of dynamic URL - Chrome extension #12

ghost opened this issue Jan 13, 2014 · 0 comments

Comments

@ghost
Copy link

ghost commented Jan 13, 2014

The actual version cuts parameters since the second. URL like the following:
http://192.168.144.40:8080/pages/details/events.html?tid=53&search=&prevSearch=&startDate=08.01.2011&prevStartDate=13.01.2014&filter=&query=&content=%5B%5D&mandate=%5B%5D&page=1&rid=&code=&numero=&id_event=205

Gets cut to:
http://192.168.144.40:8080/pages/details/events.html?tid=53

To support all sort of URL we could change, line 56 of background.js, like this:
https://github.com/viljamis/Remote-Preview/blob/master/Chrome%20extension/source/background.js

var parameters = 'url=' + url;

To

var parameters = 'url=' + encodeURIComponent(url);
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

0 participants