Evernote Web Clipper

Ask for help about NoScript, no registration needed to post
trin

Evernote Web Clipper

Post by trin »

The Evernote Web Clipper bookmarklet does not work for me.
Link https://evernote.com/webclipper/
Bookmarklet:

Code: Select all

javascript:(function(){EN_CLIP_HOST='http://www.evernote.com';try{var%20x=document.createElement('SCRIPT');x.type='text/javascript';x.src=EN_CLIP_HOST+'/public/bookmarkClipper.js?'+(new%20Date().getTime()/100000);document.getElementsByTagName('head')[0].appendChild(x);}catch(e){location.href=EN_CLIP_HOST+'/clip.action?url='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title);}})();
I have searched, and I have found other forum posts, but none that helped me.
NoScript says it has filtered a XSS attempt. It does not happen if I remove the check mark for "turn cross-site post requests into data-less get requests".

I have tried to add the following to the exceptions, but it has not worked:

Code: Select all

^https?://([a-z]*)\evernote.\com/[^"<>\?%]+$
^http://([a-z]*)\evernote.\com/[^"<>\?%]+$
^http://www\.evernote\.com/clip\.action$
^http://www\.evernote\.com/clip\.action\?url=
http://www\.evernote\.com/clip\.action\?url=
The first two are guesses considering what else is in the list. The others is from this forum.

I prefer to use the bookmarklet, and not the addon. The addon uses ram, and I don't want the icon on screen.
Any tips?
Mozilla/5.0 (Windows NT 6.2; WOW64; rv:23.0) Gecko/20100101 Firefox/23.0
User avatar
therube
Ambassador
Posts: 7991
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: Evernote Web Clipper

Post by therube »

First disable XSS.
If that doesn't work, then disable NoScript.
If that doesn't work, then figure that part out, re-enable NoScript & XSS, then go from there.

As far as XSS exception, start with http://evernote.com/webclipper/ & https://evernote.com/webclipper/.
If that works, then look to making it more specific ...


(I'm not saying to disable XSS, altogether, only for so long as to verify that it works with it disabled.)
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:25.0) Gecko/20100101 SeaMonkey/2.22a2
User avatar
Thrawn
Master Bug Buster
Posts: 3106
Joined: Mon Jan 16, 2012 3:46 am
Location: Australia
Contact:

Re: Evernote Web Clipper

Post by Thrawn »

Also, what is the exact message from the Error Console (Ctrl+Shift+J)? Probably on the Messages tab. You should be able to right-click on it and copy. Seeing the exact message will help to write an accurate exception rule.
======
Thrawn
------------
Religion is not the opium of the masses. Daily life is the opium of the masses.

True religion, which dares to acknowledge death and challenge the way we live, is an attempt to wake up.
Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:23.0) Gecko/20100101 Firefox/23.0
trin

Re: Evernote Web Clipper

Post by trin »

It works with XSS off, and it works with NoScript disabled.

This is from clicking the bookmarklet on wikipedia.
Its too long to paste here.

Links
http://pastebin.com/XhiwqCNm
http://pastebin.com/CTkU4Scb

Heres a copy of the small stuff in the log after I clicked the bookmarklet:

Code: Select all

Timestamp: 2013-08-12 15:18:15
Warning: Use of attributes' nodeValue attribute is deprecated. Use value instead.
Source File: http://www.evernote.com/public/bookmarkClipper.js?13763134.94525
Line: 425







Timestamp: 2013-08-12 15:18:20
Warning: Unknown property 'zoom'.  Declaration dropped.
Source File: https://www.evernote.com/css/account.css?
Line: 635, Column: 8
Source Code:
    zoom:1;






	
Timestamp: 2013-08-12 15:18:20
Warning: Unknown property 'zoom'.  Declaration dropped.
Source File: https://www.evernote.com/css/account.css?
Line: 694, Column: 8
Source Code:
    zoom:1;






	
Timestamp: 2013-08-12 15:18:20
Warning: Unknown property '-moz-border-radius'.  Declaration dropped.
Source File: https://www.evernote.com/css/account.css?
Line: 990, Column: 20
Source Code:
  -moz-border-radius: 2px;






  
Timestamp: 2013-08-12 15:18:20
Warning: Error in parsing value for 'text-align'.  Declaration dropped.
Source File: https://www.evernote.com/css/account.css?
Line: 1111, Column: 14
Source Code:
  text-align: middle;






  
 Timestamp: 2013-08-12 15:18:20
Warning: Error in parsing value for 'background-repeat'.  Declaration dropped.
Source File: https://www.evernote.com/css/account.css?
Line: 1352, Column: 21
Source Code:
  background-repeat: none;






  
Timestamp: 2013-08-12 15:18:20
Warning: Error in parsing value for 'filter'.  Declaration dropped.
Source File: https://www.evernote.com/css/account.css?
Line: 1374, Column: 10
Source Code:
  filter: alpha(opacity = 25);






  
 Timestamp: 2013-08-12 15:18:20
Warning: Unknown property 'align'.  Declaration dropped.
Source File: https://www.evernote.com/css/account.css?
Line: 1934, Column: 9
Source Code:
    align: right;






	
Timestamp: 2013-08-12 15:18:20
Warning: Unknown property 'magin-left'.  Declaration dropped.
Source File: https://www.evernote.com/css/account.css?
Line: 1944, Column: 14
Source Code:
    magin-left: 150px;
	

Mozilla/5.0 (Windows NT 6.2; WOW64; rv:23.0) Gecko/20100101 Firefox/23.0
User avatar
Thrawn
Master Bug Buster
Posts: 3106
Joined: Mon Jan 16, 2012 3:46 am
Location: Australia
Contact:

Re: Evernote Web Clipper

Post by Thrawn »

Try this exception:

Code: Select all

^https://www\.evernote\.com/clip\.action
Or if that one doesn't work:

Code: Select all

^https://www\.evernote\.com/clip\.action.*
======
Thrawn
------------
Religion is not the opium of the masses. Daily life is the opium of the masses.

True religion, which dares to acknowledge death and challenge the way we live, is an attempt to wake up.
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:23.0) Gecko/20100101 Firefox/23.0
trin

Re: Evernote Web Clipper

Post by trin »

Thrawn wrote:Try this exception:

Code: Select all

^https://www\.evernote\.com/clip\.action
Or if that one doesn't work:

Code: Select all

^https://www\.evernote\.com/clip\.action.*
Thanks!

Code: Select all

^https://www\.evernote\.com/clip\.action
Worked!

So it was probably the switch to SSL that changed the old tips from working...
Mozilla/5.0 (Windows NT 6.2; WOW64; rv:23.0) Gecko/20100101 Firefox/23.0
User avatar
Thrawn
Master Bug Buster
Posts: 3106
Joined: Mon Jan 16, 2012 3:46 am
Location: Australia
Contact:

Re: Evernote Web Clipper

Post by Thrawn »

trin wrote:

Code: Select all

^https://www\.evernote\.com/clip\.action
Worked!
Good to hear :). Thanks for posting the links to your error message.
So it was probably the switch to SSL that changed the old tips from working...
Yes, it was. Regular expression matching is very powerful, but not very forgiving.
======
Thrawn
------------
Religion is not the opium of the masses. Daily life is the opium of the masses.

True religion, which dares to acknowledge death and challenge the way we live, is an attempt to wake up.
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:23.0) Gecko/20100101 Firefox/23.0
Post Reply