I made some chrome extensions in WSL.
On Windows Chrome, they are valid with Load unpacked but error occured in installing from Chrome Store:
could not unzip extension.
I guess that invalid names on Windows and WSL have something with this error.
Chrome Store URL: https://chrome.google.com/webstore/detail/hackmd-toc-always/ndljpnnkjlilcglbiabboadbjcncihfb
GitHub Repository: https://github.com/TomoTom0/HackMD_TOC_always
Notes:
I can add common chrome extensions but can't add other extensions I made.
contents in the directory
#la *
content_script.js jquery-3.5.1.min.js manifest.json options.html options_script.js
img:
chrome_reader_mode_black_128dp.png north_black_48dp.png unfold_less_black_48dp.png
chrome_reader_mode_black_48dp.png south_black_48dp.png unfold_more_black_48dp.png
In this case, zip src.zip src -r -x ".* *Zone.Identifier" works.
SP Thanks to wOxxOm
Related
I'm on Ubuntu 22.04. I'm trying to host a .crx extension on my private server, which should be possible according to this guide: https://developer.chrome.com/docs/extensions/mv3/linux_hosting/
I set the content-type to "application/x-chrome-extension" like it says.
But when I try to access that file, Chrome says "Apps, extensions, and user scripts cannot be added from this website."
Does anyone know how to make this work?
When I open the Scrapy shell through the command scrapy shell "http://quotes.toscrape.com/" (this example comes from the Scrapy tutorial), I enter the command view(response) which opens my navigator (Firefox to be precise) with a path looking like file:///tmp/tmpnzkkilst.html and the error "File not found".
Any idea on how to solve this issue ?
It's not a scrapy but the firefox issue. I experienced the same. Files existed in my /tmp folder, however firefox was unable to open them. In my case the firefox was installed from snap by default and for some reason it could not open the files in /tmp.
Resolved it by downloading and installing the firefox directly from Mozilla's website and replacing the snap one.
I would like to set permanent flags for google chrome.
I found this but it only describes how to do it with .desktop file
I dont have desktop file and I dont want it. I create keyboard shortcut to
run google chrome (win+W) with flags that I want. It fits to me well.
But is there a way to always run google chrome with my flags no matter how I run it? For example ALT+F2 and just run google-chrome
I am using kubuntu 14.04
Thanks for advice.
As a possible solution you can create shell wrapper to run chrome with required flags. It can have different name or you can rename original google-chrome script and create our with the same name.
For example rename /usr/bin/google-chrome to /usr/bin/google-chrome-orig and create new script /usr/bin/google-chrome:
#!/bin/sh
/usr/bin/google-chrome-orig --allow-file-access-from-files
I downloaded new Sublime Text 3 and I can't get working LiveReload Google Chrome extension
I know that it works for Sublime Text 2 but can I use it with ST3?
They rewrote the plugin for ST3:
"Have a look at devel version. Which is total rewrite of plugin, supporting SublimeText 3, plugins and much more." -ST2 ReadMe on GitHub
It is available from here:
https://github.com/dz0ny/LiveReload-sublimetext2/tree/devel
Use your terminal to remove the existing LiveReload package and then clone the repo:
Linux
cd ~/.config/sublime-text-3/Packages
rm -rf LiveReload
git clone -b devel https://github.com/dz0ny/LiveReload-sublimetext2.git
OSX
cd ~/Library/Application\ Support/Sublime\ Text\ 3/Packages/
rm -rf LiveReload
git clone -b devel https://github.com/dz0ny/LiveReload-sublimetext2.git LiveReload
Once installed, you will still need to enable the plugin in the command palette as described by #Nishait_Baig:
open the Sublime Text command palette (while in Sublime Text type Ctrl + Shift + p on Linux/Windows or ⌘ + shift + p on Mac)
Type LiveReload: Enable/disable plugins and hit enter
Scroll down to Enable - SimpleReload and hit enter
From #Allen:
if you browse your webpage through the html file path, don't forget to check Allow access to file URLs in the chrome extension settings.
I was facing the same issue.
I enabled the SimpleReload plugin in the Command Palette.
=> Ctrl+shift+p
=> LiveReload: Enable/disable plugins
=> Enable - SimpleReload
And it started working.
If you browse your webpage through the html file path, don't forget to check Allow access to file URLs in the chrome extension settings.
LiveReload Sublime text3:
https://github.com/Grafikart/ST3-LiveReload
But the usage seems to have changed:
Enable desired plug-ins via Command Palette (Ctrl+Shift+P) add livereload.js to you html document.
It is not currently updated to work with Sublime Text 3. See this Reddit thread for some other recommendations.
For permanently enabling it.
preferences -> Packge Settings -> LiveReload -> Settings - User
Add:
{
"enabled_plugins": [
"SimpleRefresh"
]
}
I've been trying for some time to use the ExternalInterface.call method in flash, to no avail (see here: actionscript + javascript here: Using ExternalInterface in Flash and here: Flash trace output in firefox, linux) and now I'm trying to trace ExternalInterface.available. So far my best option seems to be FlashTracer for firefox, except that I have to have flash player 9 installed. I've removed my old flash player and downloaded the appropriate files (http://download.macromedia.com/pub/flashplayer/updaters/9/flash_player_9_linux_dev.tar.gz). According to the readme included these are the steps for installation:
Installing the debugger plugin tar.gz using Install script:
o the debugger plugin is located at:
./plugin/debugger/install_flash_player_9_linux.tar.gz
o Unpack the tar.gz file
o In terminal, navigate to the unpacked directory and enter:
+ $ ./flashplayer-installer
+ Click Enter key and follow prompts
except there's no file called flashplayer in the debugger directory. Anyone else ran into this? How can I install flash player 9 debugger on my Ubuntu system?
If you're using something like Ubuntu, the Flash plugin is probably a system wide thing. Under Ubuntu 8.10 for example, I have it at:
/usr/lib/flashplugin-installer
additionally you'll find at:
/etc/alternatives/
links to it, so you can change which .so is used depending on the user.
The easiest thing you could probably do if the ./flashplayer-installer file doesn't exist (though it does in mine) is to copy the debug flashplayer library to this directory. e.g:
root#me:/usr/lib/flashplugin-installer# mv libflashplayer.so libflashplayer.non-debug.so
root#me:/usr/lib/flashplugin-installer# cp ~jamie/Adobe_Flex_Builder_Linux/Player/linux/install_flash_player_9_linux/libflashplayer.so libflashplayer.debug.so
root#me:/usr/lib/flashplugin-installer# ln -s libflashplayer.debug.so libflashplayer.so
I haven't seen the issues you have, and perhaps your requirements restrict you to an older version, but I've had great success with flashplayer 10's debugger. You might try this one and see if it works.
Edit: Ahh, I just noticed one very pertinent statement you made: you require flashplayer 9. Sorry =(
Edit 2: I just had the same thing happen to me on Linux. When I extracted the tar.gz from Adobe, the installation script wasn't present. This said, I was able to get the debugger version of 9 installed anyway.
When you extracted, did you see a libflashplayer.so file? I didn't have an installation script, but I did get this file. If so, all you need to do is this:
Close all instances of Firefox
Backup your current libflashplayer.so module: ~/.mozilla/plugins/libflashplayer.so.org (this way, if something goes wrong, you can always put it back)
Copy the version you extracted from the Flash player download to the same plugins directory: cp /path/to/vers/9/libflashplayer.so ~/.mozilla/plugins/
Restart Firefox, open a Flash app, and right-click to check for the version
These steps worked perfectly for me, and I was able to run Flex Builder's debugger in Linux. Hope it works for you!
One way you can do it is downloading the flex 3 SDK for linux. When you download it you'll get a couple of tar's. You can find this in ~/flex_sdk_3/runtimes/10 if you want to install the flashplayer 10 and ~/flex_sdk_3/runtimes/lnx/ if you want the flashplayer 9. Uncompress those files (flashplayer.tar.gz and libflashplayer.so.tar.gz with tar -xvf). Now cp libflashplayer.so the file to /usr/lib/mozilla/plugins/ and if you want create symbolic links (ln -s flashplayer /usr/local/bin to have the player on your path
A tip for anyone who searches for this like I did... find out where libflashplayer.so currently is on your system:
sudo locate libflashplayer.so
Mine was in /usr/lib/flashplugin-installer/
Once I replaced that file with the debug version of the file, Firefox reported that I had the debug version of the player.
I also had the same issue with flash player debugger. I followed the instructions given by bedwyr. It worked for me. To make it work, you create a directory named 'plugins' into ~/.mozilla if plugins directory is not found.
mkdir ~/.mozilla/plugins
Then I copied libflashplayer.so to plugins directory. Now flash player debugger worked for my Flex Builder's application.