Dictionary.com add ons

Ask for help about NoScript, no registration needed to post
lauraisreal
Posts: 5
Joined: Tue Mar 15, 2016 8:21 am

Dictionary.com add ons

Post by lauraisreal » Tue Mar 15, 2016 4:42 pm

I have a problem with Dictionary.com add-ons.
I can't listen the pronunciation sound when I click the speaker icon because NoScript blocks the object (mp3 file).
In NoScriot option, I have tried to untick the 'FORBID AUDIO/VIDEO', fill the whitelist.
But they don't matter. I still can't listen the pronunciation sound.

So, I looked for the solution in this forum and I found this topic/post
viewtopic.php?f=7&t=20933&hilit=dictionary
But that topic has too many replied posts that I can't understand because my English sucks (not my native).
Or I'm just lazy to read it. Idk.

So, will you please tell me the solution in easier explanation?
I hope in that way I can understand and solve my problem.
Um, okay. Thanks in advance.
-

barbaz
Senior Member
Posts: 9319
Joined: Sat Aug 03, 2013 5:45 pm

Re: Dictionary.com add ons

Post by barbaz » Tue Mar 15, 2016 4:44 pm

As far as the other thread is concerned, it's supposed to just work in latest NoScript.
What NoScript version are you using? What browser (& version) are you using?
Have you tried Allow Scripts Globally + reload the page?

Can you please post an exact link where you have the issue?
*Always* check the changelogs BEFORE updating that important software!
-

lauraisreal
Posts: 5
Joined: Tue Mar 15, 2016 8:21 am

Re: Dictionary.com add ons

Post by lauraisreal » Tue Mar 15, 2016 6:04 pm

I use the latest NoScript on Firefox 45.
No,I haven't tried Allow Scripts Globally because I don't want it work that way.
Yes I know if I try that, the add-ons purposely works.
But with that way, every time I want to use the add-ons on many different websites, I have to click 'allow all this the page' again and again.
It bothers me.

'Can you please post an exact link where you have the issue?'

What does that mean? I don't get it.
I use Dictionary.com add-ons to know the meaning/pronunciation of a word. (from any webs)
It works simple by double clicking a word and then I can see the pop out appear.

I tried to temporarily allow and whitelist http://sp.dictionary.com
But I still can't listen the pronunciation.

Sorry TMI, as a comparison I use Chrome too. Chrome doesn't have NoScript.
Instead, I use ScriptSafe and it works fine with this kind of add-ons (Chrome extension: SpeakIt!)
I can listen the pronunciation sound without changing the setting/option. Just click the speaker icon.
That's what I want. Just the way it supposed to be.

I show you the screenshot through this link
https://pbs.twimg.com/media/Cdm0GUJUYAAGTXT.jpg
https://pbs.twimg.com/media/Cdm4EVuUAAEUsLN.jpg

Thanks in advance.
Mozilla/5.0 (Windows NT 6.1; rv:45.0) Gecko/20100101 Firefox/45.0

barbaz
Senior Member
Posts: 9319
Joined: Sat Aug 03, 2013 5:45 pm

Re: Dictionary.com add ons

Post by barbaz » Tue Mar 15, 2016 6:13 pm

(What is your native language? We might have a Mod who can speak it...)

lauraisreal wrote:'Can you please post an exact link where you have the issue?'

What does that mean? I don't get it.

I don't know how else to say it. :|

Does this link have the problem? http://www.dictionary.com/browse/chicken

lauraisreal wrote:I show you the screenshot through this link

Social media sites are blocked here, I can't access it. Please upload screenshots to a site like http://postimage.org/
*Always* check the changelogs BEFORE updating that important software!
-

lauraisreal
Posts: 5
Joined: Tue Mar 15, 2016 8:21 am

Re: Dictionary.com add ons

Post by lauraisreal » Tue Mar 15, 2016 7:00 pm

Um, is my English really that bad? :(
No need a mod.

I couldn't make an account on postimage.org
So, I uploaded it on imgur.com

http://i.imgur.com/soJCnQ4.jpg
Image
Image

I hope you'll understand what I mean thru that screenshot.
Mozilla/5.0 (Windows NT 6.1; rv:45.0) Gecko/20100101 Firefox/45.0

barbaz
Senior Member
Posts: 9319
Joined: Sat Aug 03, 2013 5:45 pm

Re: Dictionary.com add ons

Post by barbaz » Tue Mar 15, 2016 8:08 pm

lauraisreal wrote:Um, is my English really that bad? :(

Your English in your posts is very understandable (pretty comparable to my English) but I can't tell how well you understand my English.

lauraisreal wrote:http://i.imgur.com/soJCnQ4.jpg
[...]
I hope you'll understand what I mean thru that screenshot.

OH it's an addon, not a webpage. Now I understand what you mean.

It looks like the addon is trying to inject the dictionary.com content, including script tags, directly in the page you're viewing. (That's generally bad practice for an addon.)
In order to make this work, you will have to (Temp-)Allow the top-level site as well as dictionary.com (& other dictionary.com related scripts that show up)... so, I guess you choose, dictionary or security?

Or, you could also ditch the add-on, add dictionary.com as a search engine, and use context menu search selection - which would open the dictionary in a new tab?
*Always* check the changelogs BEFORE updating that important software!
-

lauraisreal
Posts: 5
Joined: Tue Mar 15, 2016 8:21 am

Re: Dictionary.com add ons

Post by lauraisreal » Wed Mar 16, 2016 5:28 am

'In order to make this work, you will have to (Temp-)Allow the top-level site as well as dictionary.com (& other dictionary.com related scripts that show up)...'

I have tried this but doesn't work either. Yeah, NoScript doesn't block the sound, but still I can't listen the sound
It (the sound) works if I disable NoScript through about:addons

'Or, you could also ditch the add-on, add dictionary.com as a search engine, and use context menu search selection - which would open the dictionary in a new tab?'

Early on this topic, I wrote 'I don't want it work that way'
I just want it work like I use the kind of same addons on Chrome called SpeakIt!
On Chrome, it works well when I use ScriptSafe (like NoScript on Firefox) and SpeakIt! (like Dictionary.com on Firefox)to listen the pronunciation sound when I click the speaker icon.

'so, I guess you choose, dictionary or security?'
No offense, I'd prefer Chrome which provides BOTH dictionary or security well without getting me trouble.

I think point accepted, NoScript doesn't allow the Dictionary add-ons to play the pronunciation sound by clicking the speaker icon.
So, if I want it that way, just use another browser.

Btw, I don't get it why 'Social media sites are blocked HERE, I can't access it.' ?
HERE as this forum or your country which blocked social media sites? I thought you live in China.

Okay thank you for your help, your time, and your thought.
Although it doesn't solve my issue, I appreciate that.

Thanks
Mozilla/5.0 (Windows NT 6.1; rv:45.0) Gecko/20100101 Firefox/45.0

barbaz
Senior Member
Posts: 9319
Joined: Sat Aug 03, 2013 5:45 pm

Re: Dictionary.com add ons

Post by barbaz » Wed Mar 16, 2016 3:09 pm

Hmm.. I've been too pressed for time to actually test this so far, but maybe tomorrow I'll get the chance to try it out. I'll let you know if/how I can make it work.

lauraisreal wrote:Btw, I don't get it why 'Social media sites are blocked HERE, I can't access it.' ?
HERE as this forum or your country which blocked social media sites?

Here as in my local network. Social media sites will track the living daylights out of anyone, user or not, who access their servers. Unbelieveably creepy and intrusive what they try to collect, to sell to advertiser and other private companies which may have questionable ethics! And that people would WILLINGLY give their WHOLE LIVES to this same social media!!!!!!!!
We will have nothing to do with it.

lauraisreal wrote:Okay thank you for your help, your time, and your thought.
Although it doesn't solve my issue, I appreciate that.

You're welcome, and thank you for the kind words, but maybe we're not done here just yet?
*Always* check the changelogs BEFORE updating that important software!
-

lauraisreal
Posts: 5
Joined: Tue Mar 15, 2016 8:21 am

Re: Dictionary.com add ons

Post by lauraisreal » Wed Mar 16, 2016 3:43 pm

'Hmm.. I've been too pressed for time to actually test this so far, but maybe tomorrow I'll get the chance to try it out. I'll let you know if/how I can make it work.'
Thank you. That's very kind of you. I already gave up.
If you are willing, I am looking forward to the result. No need to hurry.

'Here as in my local network. Social media sites will track the living daylights out of anyone, user or not, who access their servers. Unbelievably creepy and intrusive what they try to collect, to sell to advertiser and other private companies which may have questionable ethics! And that people would WILLINGLY give their WHOLE LIVES to this same social media!!!!!!!! We will have nothing to do with it.'

Jeez, that's brutal. Isn't there a protection of privacy act?
Hmph, I bet you live in the third world country like me. India, maybe? Am I wrong? No need to answer.
But here in my country there is no such thing like that.

'You're welcome, and thank you for the kind words, but maybe we're not done here just yet?'
Erm, erm, erm. Honestly, I dunno what to say. But, I am thankful for every thing you've done.

Ciao
Mozilla/5.0 (Windows NT 6.1; rv:45.0) Gecko/20100101 Firefox/45.0

grid2

Re: Dictionary.com add ons

Post by grid2 » Thu Mar 17, 2016 4:58 pm

(Add-on tested using new Firefox profile + NoScript)

If dictionary.com already is whitelisted in NoScript then you can have audio playback (pronunciation) on http sites:

Give it a try...
1. In Firefox's location bar, type about:config
2. Press Enter
3. In the Search bar, type noscript.allowedMimeRegExp
4. Place cursor on the item then right-click to open context menu, select Modify
5. Copy/paste string below as value:

Code: Select all

audio/mpeg@https?://.*\.dictionary.com

6. Refresh, press F5
7. Test it on http site(s)

On some pages the player controls might appear below the speaker icon in the dictionary pop-up, on others the player remains hidden.

The pronunciation feature is not working on sites using https.
However clicking the link "More" in dictionary pop-up, takes you to dictionary.com where clicking the speaker icon does result in audio playback.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0

barbaz
Senior Member
Posts: 9319
Joined: Sat Aug 03, 2013 5:45 pm

Re: Dictionary.com add ons

Post by barbaz » Thu Mar 17, 2016 6:06 pm

Works for me, after a LOT of fighting with Firefox itself...

Test URL: https://noscript.net/

Installed:
- Dictionary.com Pop-up
- NoScript 2.9.0.4rc1 (2.9.0.5 seems buggy based on reports, didn't want to get into that)

Steps I did to make it work:
- Allow dictionary.com
- about:config > noscript.allowedMimeRegExp, add:

Code: Select all

audio/mpeg3@https?://(?:[^/:]+\.)?dictionary\.com

(According to grid2 post, your MIME type may not be audio/mpeg3. Check the Blocked Objects menu to get the correct MIME type.)
- reload the page

Now NoScript is not what's blocking it, now Firefox blocks it. I had to then A) disable mixed content blocking by clicking the broken lock thingy on the address bar and finding my way to select "Disable protection for now", then B) allow some random plugin I didn't know I had on my testing environment (but Firefox should able to play it natively no? hopefully you can skip the plugin part.)

Then it worked for me, but sound was REALLY quiet... Image
*Always* check the changelogs BEFORE updating that important software!
-

User avatar
lakrsrool
Senior Member
Posts: 195
Joined: Wed Nov 12, 2014 4:20 pm

Re: Dictionary.com add ons

Post by lakrsrool » Thu Mar 31, 2016 1:58 am

barbaz wrote:
Does this link have the problem? http://www.dictionary.com/browse/chicken

Laura, I didn't see an answer to this question.

This works for me, the link you provided in this topic that you said you use did not work for me (didn't even reach the Dictionary.com website).
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.9) Gecko/20100101 Goanna/2.0 Firefox/38.9 PaleMoon/26.1.1

Post Reply